AIX architecture problems

David Kramer david@thekramers.net
Thu Aug 26 15:48:00 GMT 2004


On Thu, 26 Aug 2004, Nick Clifton wrote:

> 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 

Good to know.  Thanks.  Still doesn't explain why it was complaining about 
it, or why it would complain about the libraries that *were* built with 
the compiler.

> better off building and using your own libm.  You can find source for 
> this library with either the glibc or newlib projects.

I downloaded glibc.  According to the website, as well as ./configure and 
README, it has not been ported to AIX, and my boss would never let me 
spend time on that (even if I knew how, which I don't).

newlib appears to be for embedded systems, and is certainly not ported to 
AIX.



-- 
DDDD   
DK KD  
DKK D  All Scottish food is based on a dare
DK KD  
DDDD   



More information about the Binutils mailing list