1 |
Hello, |
2 |
|
3 |
I need to compile a 32 bit version of libtermcap on an x86_64 (multilib) |
4 |
system. Can someone tell me how to set up CFLAGS? This is what I have |
5 |
at the moment: |
6 |
|
7 |
CFLAGS="-O2 -m32 -march=native -msse3 -pipe" |
8 |
CXXFLAGS="-O2 -m32 -march=native -msse3 -pipe" |
9 |
|
10 |
ebuild libtermcap-compat-2.0.8-r2.ebuild compile |
11 |
|
12 |
ends with: |
13 |
|
14 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: |
15 |
i386 architecture of input file `termcap.o' is incompatible with |
16 |
i386:x86-64 output |
17 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: |
18 |
i386 architecture of input file `tparam.o' is incompatible with |
19 |
i386:x86-64 output |
20 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: |
21 |
i386 architecture of input file `version.o' is incompatible with |
22 |
i386:x86-64 output |
23 |
|
24 |
Thanks, |
25 |
Roger |