This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AIX architecture problems


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



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