nicolas bley wrote:
make[2]: Entering directory `/usr/local/src/gcc-2.95.2/gcc/p' rm -f ../gpc1 gcc -DIN_GCC -DGPC -g -O2 -DHAIFA `case "gcc" in *gcc*) echo -Wall;; esac` -o ../gpc1 \ `cat stamp-gbe` ../c-aux-info.o ../c-iterate.o ../c-pragma.o gpc-common.o gpc-convert.o gpc-decl.o lang.o gpc-lex.o gpc-typeck.o module.o gpi-hash.o circle-buf.o memfiles.o objects.o parse.o rts.o types.o util.o setop.o `if [ xobstack.o != x ]; then echo ../obstack.o; else true; fi` `case "gcc" in "cc") if [ xalloca.o != x ]; then echo ../alloca.o; else true; fi ;; esac` `if [ x != x ]; then echo ../; else true; fi` -lld ../../libiberty/libiberty.a collect2: ld returned 12 exit status ld : 0711-781 ERROR : TOC capacity overflow. TOC size : 69120. Maximum size : 65536 [...]
This is the AIX linker, correct? If so, I suggest to try using GNU ld. You can install it in a way that it is only invoked when compiling with GCC/GPC - see the GCC installation instructions.
Hope this helps,
Peter