[Top][All Lists]

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

Re: Question about relink_command

From: Ralf Wildenhues
Subject: Re: Question about relink_command
Date: Mon, 31 May 2010 21:15:13 +0200
User-agent: Mutt/1.5.20 (2009-10-28)


* Gary V. Vaughan wrote on Mon, May 31, 2010 at 05:53:26PM CEST:
> AFAIK Linux binaries/libraries can be built in the build tree with
> no hardcoded references to other objects in the build tree, so they
> can always be copied into the install tree and continue working
> (although libtool has to wrap build tree binaries in a script to
> make sure that running them there picks up build tree libraries in
> preference to install tree libraries).

Yes.  While the above is true, there is another factor that comes into
play on GNU/Linux systems: we exploit the fact that we can hard-code
the paths to uninstalled deplibs in order to start uninstalled programs
without a wrapper script (I think).  That however means that uninstalled
libraries or programs with uninstalled dependencies will get relinked.

Similar reasoning applies to a couple of other systems IIRC.  Also, some
other systems beside HP-UX have the problem of hard-coding uninstalled
paths by default.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]