[TriLUG] Cross compiling pain
Brian Daniels
bitmage at bellsouth.net
Thu Mar 10 23:33:21 EST 2005
I've got an athlon64 box running FC3 that I'm trying to compile a i686 build of
a library on. I've tried every option to ./configure that I can think of, but
still get an x86_64 library at the end of it.
My last attempt:
CFLAGS='-O2 -m32' ./configure --prefix=/usr/local/ --target=i686-pc-linux-gnu
this is accepted fine, but towards the end of the compile I start getting:
/usr/bin/ld: warning: i386 architecture of input file `extensions/al_ext_mp3.o'
is incompatible with i386:x86-64 output
I assume I need to pass some sort of option to the linker here?
Any suggestions appreciated.
Thanks,
Brian
--
Question with boldness even the existence of a god;
because if there be one he must approve of the
homage of reason more than that of blindfolded fear.
--Thomas Jefferson, Aug. 10, 1787
Brian Daniels bitmage at bellsouth.net
http://www.eviloverlord.net
More information about the TriLUG
mailing list