Is anyone testing for a (cross-) target (board) with dynlinking?

Nathan Froyd froydnj@codesourcery.com
Tue Feb 12 02:05:00 GMT 2008


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



More information about the Gcc mailing list