This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/29937] bootstrap failure on Linux AMD64
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2006 21:44:42 -0000
- Subject: [Bug bootstrap/29937] bootstrap failure on Linux AMD64
- References: <bug-29937-10307@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from pinskia at gcc dot gnu dot org 2006-11-22 21:44 -------
(In reply to comment #8)
> I do not think that the directory is wrong. I think you mean that it
> install's in a directory which is not the one gcc expects it to be.
> So I guess that gcc expects the 32bit libraries to be found under the
> directory /lib, while gentoo there installs the 64bit libraries.
The library structure which GCC uses is the standard directory layout for
x86_64 if you have something different, then you have a broken install.
> So I suggest since the directory where Gentoo installs is not wrong but
> the directory where gcc expects the 32bit libraries to reside is wrong,
> it would be nice that gcc provides an option at the configure script where
> one instructs it where to find the 32bit and the 64bit libraries.
Again what GCC does is the standard directory layout and yes there is a
standard.
*/lib/ should contain the 32bit libraries while */lib64/ should contain the
64bit libraries. This is so you can move a program compiled for x86 on to a
x86_64 machine without having to recompile it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29937