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: Nathan Froyd <froydnj at codesourcery dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 11 Feb 2008 18:04:52 -0800
- Subject: Re: Is anyone testing for a (cross-) target (board) with dynlinking?
- References: <200802120147.m1C1ldqK021352@ignucius.se.axis.com>
On Tue, Feb 12, 2008 at 02:47:39AM +0100, Hans-Peter Nilsson wrote:
> Is it as simple as nobody having tested cross-gcc setups for
> targets with dynamic linking, or are they incorrectly using the
> wrong (the installed, not the newly compiled) libgcc_s.so.1?
>
> Or how did you do it? NFS mounts on target and
> "env LD_LIBRARY_PATH=... make check"?
One way to do it is with NFS mounts and setting -Wl,-dynamic-linker
-Wl,-rpath for your ldflags. You could skip -Wl,-dynamic-linker if you
weren't testing a newly compiled libc.
-Nathan