Skip to contentSkip to conversation

Building a AIX Cross Compiler

DISCUSSION Matthias Kienle 1 participant 2 messages Oct 30, 2000 – Nov 3, 2000

lore
Share & tools
lore
#0 lore raw

Hi *,

I try to structure a cross compiler. The binutils were already successfully compiled (with a gcc bin packages for aix). Unfortunately I receive an error during compiling the gcc-core. I compile the packages with a AIX 4.3 system. I use a gcc compiler (bin packages for aix) to compile the gcc-core (same as I used for the binutils). The error output shows me trouble with the ld. ld returned 12. The text which comes with the return code is:

ld: 0711-781 ERROR: TOC overflow. TOC size: 68908 Maximum size:
65536
collect2: ld returned 12 exit status

Is there anybody who could help me?

ciao Matthias

+---------------------------------------------------------+
| Matthias Kienle                                         |
|    Fachhochschule fuer Technik Esslingen                |
|    (mailto:[email protected])            |
+---------------------------------------------------------+

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Hi *,

Does a possibility exist to indicate the ld to use a larger TOC size?

Regards,
Matthias

+---------------------------------------------------------+
| Matthias Kienle                                         |
|    Fachhochschule fuer Technik Esslingen                |
|    (mailto:[email protected])            |
+---------------------------------------------------------+

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/