Gentoo Archives: gentoo-user

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] about LIBRARY_PATH
Date: Mon, 12 Aug 2013 09:09:39
Message-Id: 5208A5BE.70901@gentoo.org
In Reply to: [gentoo-user] about LIBRARY_PATH by "东方巽雷"
1 On 12/08/13 05:49, 东方巽雷 wrote:
2 > It seems that this variable is hard-code by gcc.I cannot change it any
3 > more.When I use gcc -m32 to compile a 32bit program,gcc is looking for
4 > /usr/lib rather than /usr/lib32.But in my system,/usr/lib is a symlink
5 > to /usr/lib64.The real 32bit librarys is in /usr/lib32.The linker is
6 > always complaining about "i386:x86-64 architecture of input file
7 > `/usr/lib/gcc/x86_64-pc-linux-gnux32/4.7.3/../../../../lib/crt1.o' is
8
9 You have a x32 system?
10
11 > incompatible with i386 output.".Why does it not search /usr/lib32?

Replies

Subject Author
Re: [gentoo-user] about LIBRARY_PATH "东方巽雷" <dongfangxunlei@×××××.com>