This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is anyone testing for a (cross-) target (board) with dynlinking?
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: drow at false dot org
- Cc: hans-peter dot nilsson at axis dot com, froydnj at codesourcery dot com, gcc at gcc dot gnu dot org
- Date: Tue, 12 Feb 2008 19:20:52 +0100
- Subject: Re: Is anyone testing for a (cross-) target (board) with dynlinking?
> 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