This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB honouring RPATH in binaries.
On Thu, Feb 20, 2003 at 03:01:52PM -0500, Kris Warkentin wrote:
> > > For remote targets, you must have solib-absolute-prefix set. Searching
> > > host libraries (whether found via RPATH or some other means) is almost
> > > invariably wrong.
> >
> > BTW, the sysroot stuff that Daniel recently added makes this
> > a good deal less painful for the user.
>
> Not familiar with this. Is there some documentation somewhere?
It's in the GDB manual now, and it also applies to LD and GCC. For GDB
it only amounts to:
You can set the default value of @samp{solib-absolute-prefix} by using
the configure-time @samp{--with-sysroot} option.
For GCC and LD it's a great deal more thorough; it changes header
search paths, library search paths, etc.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer