This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc default library location
- To: gcc-help at gcc dot gnu dot org
- Subject: gcc default library location
- From: Nathaniel Mallet <nathaniel dot mallet at home dot com>
- Date: Wed, 1 Aug 2001 06:44:47 -0400
- Reply-To: nathaniel dot mallet at home dot com
Hi All,
I recently build glibc 2.2.3 with gcc 2.95.3. The build went off ok,
and make check passed. I then ran make install in the default location
/usr/local.
But now, gcc keeps trying to link /usr/local/lib/ld.so.6 by default,
and I'd like to switch it back to /lib/ld.so.6.
Does anyone know where gcc picks up it's library paths? I've checked the
following;
Environment variables - none
/etc/ld.so.conf - They all point to /lib or /usr/lib, but
/usr/local/lib is not there
gcc's specs file - The only thing I found was /lib/ld-linux.so.2
I also took a look at the gcc and glibc manuals and HOWTOs, and found nothing
there. I'm running out of options, and I'd rather not go through glibc's
makefile to figure out what install does.
Thanks in advance,
Nat