1 |
I think the gcc version with x32 abi is faster.So I install a x32 version |
2 |
on amd64.Now I have solved my problem by creating a new gcc specs |
3 |
file.Thank you all the same. |
4 |
|
5 |
|
6 |
2013/8/12 Samuli Suominen <ssuominen@g.o> |
7 |
|
8 |
> On 12/08/13 05:49, 东方巽雷 wrote: |
9 |
> |
10 |
>> It seems that this variable is hard-code by gcc.I cannot change it any |
11 |
>> more.When I use gcc -m32 to compile a 32bit program,gcc is looking for |
12 |
>> /usr/lib rather than /usr/lib32.But in my system,/usr/lib is a symlink |
13 |
>> to /usr/lib64.The real 32bit librarys is in /usr/lib32.The linker is |
14 |
>> always complaining about "i386:x86-64 architecture of input file |
15 |
>> `/usr/lib/gcc/x86_64-pc-linux-**gnux32/4.7.3/../../../../lib/**crt1.o' is |
16 |
>> |
17 |
> |
18 |
> You have a x32 system? |
19 |
> |
20 |
> |
21 |
> incompatible with i386 output.".Why does it not search /usr/lib32? |
22 |
>> |
23 |
> |
24 |
> |
25 |
> |