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 complaining about "i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-pc-linux-gnux32/4.7.3/../../../../lib/crt1.o' is incompatible with i386 output.".Why does it not search /usr/lib32?
- [gentoo-user] about LIBRARY_PATH 东方巽雷
- Re: [gentoo-user] about LIBRARY_PATH Adam Carter
- Re: [gentoo-user] about LIBRARY_PATH Wang Xuerui
- Re: [gentoo-user] about LIBRARY_PATH Samuli Suominen