gabriel rosenkoetter on Tue, 18 Feb 2003 21:54:15 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Testing a new glibc


On Tue, Feb 18, 2003 at 09:36:59PM -0500, mjd-lists-plug@plover.com wrote:
> I recently built glibc-3.2 and installed it under /usr/local/glibc-3.2
> instead of in the default place.  Now I want to try it out.  How can
> I tell gcc to use the new libraries and include files instead of the
> old ones?  Do I need to wrte a new specfile?

Setting LDFLAGS=-Wl,--rpath -Wl,/usr/local/glibc-3.2/lib and
CPPFLAGS=-I/usr/local/glibc-3.2/include ought to do it.

Or just use chroot(8), but you'll need to populate it with more than
glibc.

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgph91pDqrHjk.pgp
Description: PGP signature