[gentoo-user] about LIBRARY_PATH

2013-08-11 Thread 东方巽雷
It seems that this variable is hard-code by gcc.I cannot change it any more.When I use gcc -m32 to compile a 32bit program,gcc is looking for /usr/lib rather than /usr/lib32.But in my system,/usr/lib is a symlink to /usr/lib64.The real 32bit librarys is in /usr/lib32.The linker is always complainin

Re: [gentoo-user] about LIBRARY_PATH

2013-08-11 Thread Adam Carter
I thought LD_LIBRARY_PATH was old skool and now ppl use ldconfig, so man ldconfig.

Re: [gentoo-user] about LIBRARY_PATH

2013-08-11 Thread 东方巽雷
LIBRARY_PATH is not LD_LIBRARY_PATH. 2013/8/12 Adam Carter > I thought LD_LIBRARY_PATH was old skool and now ppl use ldconfig, so man > ldconfig. >

Re: [gentoo-user] about LIBRARY_PATH

2013-08-11 Thread Wang Xuerui
2013/8/12 东方巽雷 : > It seems that this variable is hard-code by gcc.I cannot change it any > more.When I use gcc -m32 to compile a 32bit program,gcc is looking for > /usr/lib rather than /usr/lib32.But in my system,/usr/lib is a symlink to > /usr/lib64.The real 32bit librarys is in /usr/lib32.The li

Re: [gentoo-user] about LIBRARY_PATH

2013-08-12 Thread Samuli Suominen
On 12/08/13 05:49, 东方巽雷 wrote: It seems that this variable is hard-code by gcc.I cannot change it any more.When I use gcc -m32 to compile a 32bit program,gcc is looking for /usr/lib rather than /usr/lib32.But in my system,/usr/lib is a symlink to /usr/lib64.The real 32bit librarys is in /usr/lib3

Re: [gentoo-user] about LIBRARY_PATH

2013-08-12 Thread 东方巽雷
I think the gcc version with x32 abi is faster.So I install a x32 version on amd64.Now I have solved my problem by creating a new gcc specs file.Thank you all the same. 2013/8/12 Samuli Suominen > On 12/08/13 05:49, 东方巽雷 wrote: > >> It seems that this variable is hard-code by gcc.I cannot chang