Is anyone testing for a (cross-) target (board) with dynlinking?
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Tue Feb 12 18:21:00 GMT 2008
> Date: Tue, 12 Feb 2008 13:16:27 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 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
More information about the Gcc
mailing list