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.  But
the linker may need something else in order to find the libraries
at link time, -L or -rpath-link or both.

-- 
Daniel Jacobowitz
CodeSourcery

Reply via email to