This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdbserver, sysroot, prelink
On Mon, Oct 04, 2004 at 12:00:03PM -0700, Felix Lee wrote:
> Daniel Jacobowitz <drow@false.org>:
> > How does this make --with-sysroot useless? That's exactly what sysroot
> > is supposed to do - point it where you keep the exact libraries of the
> > machine. I usually point it to an NFS server.
>
> doesn't that assume you only have one such target machine in your
> installation?
I have a different sysroot for each target machine. They use NFS to
root from the host I run GDB on. Otherwise, I copy the libraries to
the target.
> maybe setting the default solib-absolute-prefix to something like
> '[[please set solib-absolute-prefix]]' would be helpful when
> there isn't a sensible default.
If there isn't a sensible default for your environment, perhaps you
should give a nonexistant directory for --with-sysroot...
--
Daniel Jacobowitz