This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
static linking in 3.2 ?
- From: Richard Zidlicky <rz at linux-m68k dot org>
- To: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Sat, 10 Aug 2002 15:05:19 +0200
- Subject: 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