gdbserver + libiberty?

Daniel Jacobowitz drow@false.org
Tue Jan 15 20:24:00 GMT 2008


On Tue, Jan 15, 2008 at 10:41:37AM -0800, Doug Evans wrote:
> I couldn't find any docs on building gdbserver for cross targets (i.e
> --host != --target), got any pointers?  It's only useful for targets
> that otherwise can be build natively (AIUIp.  Would gdbserver ever be
> built with CC_FOR_TARGET whereas gdb got built with CC?  I can't find
> any code to handle this in gdb or the top level configury.  And if not
> would gdbserver ever need a different libiberty than the one gdb is
> linked with?

You can build gdbserver by running src/gdb/gdbserver/configure and make;
the top level scripts are not involved at all, so you don't get a
libiberty.  We need to not break that.  If you need libiberty for a
good reason, then we can talk about how to build it.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list