> Date: Tue, 12 Feb 2008 13:16:27 -0500 > From: Daniel Jacobowitz <[EMAIL PROTECTED]>
> On Tue, Feb 12, 2008 at 05:13:45AM +0100, Hans-Peter Nilsson wrote: > > Thanks to you and David Daney. Have you used it yourself? > > Apparently tricks are needed as the -rpath is used both at > > run-time and at link-time, ld complains about "No such file or > > directory" if the path doesn't exist on the host side. > > Ian already mentioned -rpath-link. Just for completeness: -rpath is > only used at runtime, it doesn't even have to be a Unix path. Incorrect; -rpath is used at both link and runtime. brgds, H-P