This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

static linking in 3.2 ?


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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]