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: Ian Lance Taylor <iant at google dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: froydnj at codesourcery dot com, gcc at gcc dot gnu dot org
- Date: 12 Feb 2008 07:48:51 -0800
- Subject: Re: Is anyone testing for a (cross-) target (board) with dynlinking?
- References: <200802120413.m1C4Djwl023382@ignucius.se.axis.com>
Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
> 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.
-rpath-link is your friend here.
In the past I've just manually copied the libraries over to the target
board, though. I've used an NFS mount too, but since the target board
is usually slow adding additional NFS lookups to every test is just
more pain.
Ian