|
From: Scott M. <sm...@no...> - 2005-03-22 18:18:02
|
Thx Jeremy,
Would -rpath be a parameter for the make/build of the target program then?
Before we get a chance to upgrade (we're still running < 2.2.0), is there
anyway I can 'unset' -rpath without rebuilding the target program?
Cheers,
Scott.
-----Original Message-----
From: Jeremy Fitzhardinge [mailto:je...@go...]
Sent: Tuesday, March 22, 2005 1:11 PM
To: Mills, Scott [CAR:2V62:EXCH]
Cc: val...@li...
Subject: Re: [Valgrind-users] RE: Question about valgrind's libpthread
Scott Mills wrote:
> Can anyone confirm/deny my suspicions and provide insight on what the
> - -Wl,-rpath,/lib -L/lib flags are and how they are used?
>
-rpath sets the runtime linkers search path, and it takes precident over
all other path settings, including LD_LIBRARY_PATH (which is what
Valgrind 2.2.0 relies on to substitute its own libpthread).
This is all moot now, since Valgrind 2.4.0 doesn't have its own
libpthread anymore, in faviour of using the system libpthread.
J
|