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]

Re: AIX 4.2 , with GNU ld- egcs-1.1b compile error


>>>>> Adrian Phillips writes:

Adrian> AIX 4.2.1 (all latest fixes)
Adrian> GNU ld (binutils.2.9.1)

Adrian> configuring :
Adrian> ../egcs-1.1b/configure --with-gnu-ld --with-gnu-as

Adrian> make bootstrap gives :

Adrian> stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA -Wl,-bbigtoc -o cccp cccp.o cexp.o prefix.o \
Adrian> version.o obstack.o alloca.o    -lld
Adrian> /usr/local/powerpc-ibm-aix4.2.1.0/bin/ld: invalid BFD target `bigtoc'
Adrian> collect2: ld returned 1 exit status

Adrian> Any clues,

	Both G++ and G77 now overflow the AIX TOC.  -bbigtoc is an AIX
linker option added in AIX 4.1 that fixes up global references and solves
the overflow problem.  GNU ld for AIX is woefully out of date with respect
to AIX ld and does not support that option.  The real question is why are
you going to the trouble of configuring with --with-gnu-as and
--with-gnu-ld ?

David


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