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]

Failure to compile egcs-1.1.2


I downloaded the release version (1.1.2) "core" package and 
had the following problem.

config.guess = powerpc-ibm-aix4.1.5.0

Using bash:

(from a separate build directory)

../egcs-1.1.2/configure --prefix=~user/local

CC=cc;export CC

(cc is in /usr/bin/cc)

After make bootstrap-lean and some time it gets as far as

stage1/xgcc -Bstage1/ -DIN_GCC -O2 -DHAVE_CONFIG_H -DHAIFA -Wl,-bbigtoc - o
cccp cccp.o <etc>

I get an error from my binutils 2.9.1 copy of gnu ld saying "invalid BFD
target 'bigtoc'"

Which is odd because

a. I removed the location of gnu ld from my path (which ld gives
/usr/bin/ld) 
   (it is however in ~user/local/bin/ld)

b. I get the same error if I specify --with-gnu-ld

I have previously installed 1.1.1 without problems.

I suspect I can work around this by moving/removing gnu ld,
but should egcs be using gnu ld when it's supposed to
find the ibm one first?

David



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