gdbserver, sysroot, prelink

Daniel Jacobowitz drow@false.org
Mon Oct 4 19:24:00 GMT 2004


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



More information about the Gdb mailing list