This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Is anyone testing for a (cross-) target (board) with dynlinking?
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: binutils at sourceware dot org
- Date: Wed, 13 Feb 2008 16:23:03 -0500 (EST)
- Subject: Re: Is anyone testing for a (cross-) target (board) with dynlinking?
- References: <20080212182939.GA22210@caradoc.them.org> <200802130053.m1D0rjkq012117@ignucius.se.axis.com> <20080213194406.GA17822@caradoc.them.org>
On Wed, 13 Feb 2008, Daniel Jacobowitz wrote:
> My copy of the man page defers to -rpath-link for a description of
> how -rpath is used at link time;
Mine too, cvs 1.206 of ld.texinfo to be exact.
> I suspect it's just unclear.
Heh, indeed, if it's not supposed to be used at all.
> LD searches rpath if USE_LIBPATH. That is set for native and
> sysrooted toolchains only. Search for command_line.rpath in
> emultempl/elf32.em.
>
> I don't know how you have a linker that does otherwise, but
> I'd be curious to learn how.
Aha... Digging further, reveals I used, with gcc, the options
-Wl,-rpath /the/path
where I should have used
-Wl,-rpath,/the/path
Doh!
brgds, H-P