This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc default library location


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]