From: | "东方巽雷" <dongfangxunlei@×××××.com> |
---|---|
To: | gentoo-user <gentoo-user@l.g.o> |
Subject: | [gentoo-user] about LIBRARY_PATH |
Date: | Mon, 12 Aug 2013 02:49:32 |
Message-Id: | CAKxh67UpXvB4v=n=rZP08JKeuT+EzJgK2FjBBQPQeccvmFn6rw@mail.gmail.com |
1 | It seems that this variable is hard-code by gcc.I cannot change it any |
2 | more.When I use gcc -m32 to compile a 32bit program,gcc is looking for |
3 | /usr/lib rather than /usr/lib32.But in my system,/usr/lib is a symlink to |
4 | /usr/lib64.The real 32bit librarys is in /usr/lib32.The linker is always |
5 | complaining about "i386:x86-64 architecture of input file |
6 | `/usr/lib/gcc/x86_64-pc-linux-gnux32/4.7.3/../../../../lib/crt1.o' is |
7 | incompatible with i386 output.".Why does it not search /usr/lib32? |
Subject | Author |
---|---|
Re: [gentoo-user] about LIBRARY_PATH | Adam Carter <adamcarter3@×××××.com> |
Re: [gentoo-user] about LIBRARY_PATH | Wang Xuerui <idontknw.wang@×××××.com> |
Re: [gentoo-user] about LIBRARY_PATH | Samuli Suominen <ssuominen@g.o> |