static linking in 3.2 ?

Richard Zidlicky rz@linux-m68k.org
Sat Aug 10 06:27:00 GMT 2002


Hi,

I found that I need this patch to enable static linking,
crtbeginT.o does not exist on m68k-linux-gcc. I wonder is 
that something m68k specific?

Richard


--- gcc-3.2-cvs/gcc/config/linux.h.rz	Sat Aug 10 15:18:47 2002
+++ gcc-3.2-cvs/gcc/config/linux.h	Sat Aug 10 15:18:54 2002
@@ -59,7 +59,7 @@
      %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
 		       %{!p:%{profile:gcrt1.o%s} \
 			 %{!profile:crt1.o%s}}}} \
-   crti.o%s %{static:crtbeginT.o%s}\
+   crti.o%s %{static:crtbeginS.o%s}\
    %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
 #endif
 



More information about the Gcc mailing list