Another egcs patch that might work...
Hi,
I think this patch is needed:
diff -urN egcs-1.1.1.clean/config/mh-armpic egcs-1.1.1/config/mh-armpic
--- egcs-1.1.1.clean/config/mh-armpic Wed Dec 31 16:00:00 1969
+++ egcs-1.1.1/config/mh-armpic Wed Jan 6 21:15:02 1999
@@ -0,0 +1 @@
+PICFLAG=-fPIC
diff -urN egcs-1.1.1.clean/config/mt-armpic egcs-1.1.1/config/mt-armpic
--- egcs-1.1.1.clean/config/mt-armpic Wed Dec 31 16:00:00 1969
+++ egcs-1.1.1/config/mt-armpic Wed Jan 6 21:15:18 1999
@@ -0,0 +1 @@
+PICFLAG_FOR_TARGET=-fPIC
diff -urN egcs-1.1.1.clean/configure.in egcs-1.1.1/configure.in
--- egcs-1.1.1.clean/configure.in Thu Oct 1 17:15:06 1998
+++ egcs-1.1.1/configure.in Wed Jan 6 21:14:46 1999
@@ -280,6 +280,8 @@
alpha*-*-linux*)
host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
;;
+ arm*)
+ host_mafefile_frag="${host_makefile_frag} config/mh-armpic"
*)
if test -f ${srcdir}/config/mh-${host_cpu}pic; then
host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
@@ -915,6 +917,9 @@
;;
alpha*-*-linux*)
target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic"
+ ;;
+ arm*)
+ target_makefile_frag="${target_makefile_frag} config/mt-armpic"
;;
*)
if test -f ${srcdir}/config/mt-${target_cpu}pic; then
Unfortunately, I can't seem to get autoconf to work. Everytime I run
it, it leaves a zero-length configure file.
Reading the egcs archives, it seems it needs a newer autoconf. I
tried 2.12 and the Dec. 7th snapshot package from experimental.
Version 2.13 was just released, so perhaps I'll try that next.
Cheers,
- Jim
Reply to: