Hello,

I need to compile a 32 bit version of libtermcap on an x86_64 (multilib)
system.  Can someone tell me how to set up CFLAGS?  This is what I have
at the moment:

CFLAGS="-O2 -m32 -march=native -msse3 -pipe"
CXXFLAGS="-O2 -m32 -march=native -msse3 -pipe"

ebuild libtermcap-compat-2.0.8-r2.ebuild compile

ends with:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `termcap.o' is incompatible with
i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `tparam.o' is incompatible with
i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `version.o' is incompatible with
i386:x86-64 output

Thanks,
Roger

Reply via email to