binutils-2.15: ix86 Host - powerpc-aix4.2 Target

Scott Dudley scott@telesoft.com
Wed Jan 19 20:42:00 GMT 2005


I built binutils-2.15 for an ix86 host and powerpc-aix4.2 target to be 
used in a cross toolchain.  Although both binutils and gcc compiled 
without error, I'm experiencing problems.  First of all, nm doesn't 
recognize the file format of the AIX libraries:

    /root # /usr/local/cross-tools/powerpc-ibm-aix4.2.1.0/bin/nm
    /usr/local/cross-tools/powerpc-ibm-aix4.2.1.0/lib/libc.a

    frexp.o:
    /usr/local/cross-tools/powerpc-ibm-aix4.2.1.0/bin/nm: frexp.o: no
    symbols

    ...

    ptrgl_64_64.o:
    /usr/local/cross-tools/powerpc-ibm-aix4.2.1.0/bin/nm: ptrgl_64_64.o:
    no symbols
    /usr/local/cross-tools/powerpc-ibm-aix4.2.1.0/bin/nm: : File format
    not recognized


I configured with the following options:

    ../binutils-2.15/configure --target=powerpc-ibm-aix4.2.1.0
    --prefix=/usr/local/cross-tools


Can anyone shed light on what I'm doing wrong?

Thanks.

-- 

Regards,

Scott Dudley



More information about the Binutils mailing list