AIX architecture problems
Nick Clifton
nickc@redhat.com
Thu Aug 26 14:41:00 GMT 2004
Hi David,
>>/opt/local/bin/ld: warning: powerpc:601 architecture of input file
>>`/lib/libm.a(log10.o)' is incompatible with rs6000:6000 output
>
>
> I neglected to point out that it's grabbing xlC's libm.a. It doesn't look
> like gcc/binutils comes with a libm. Is there something else I need to
> install, or is that normal?
For a native compiler it is normal for the linker to attempt to use the
version of libm provided by the host. In this case however you may be
better off building and using your own libm. You can find source for
this library with either the glibc or newlib projects.
Cheers
Nick
More information about the Binutils
mailing list