This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gnulib dependency in gdbserver
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 25 Jun 2008 15:22:47 -0400
- Subject: Re: gnulib dependency in gdbserver
- References: <20080625191621.GI3700@adacore.com>
On Wed, Jun 25, 2008 at 03:16:21PM -0400, Joel Brobecker wrote:
> I just realized that gdbserver now depends on ../gnulib. The problem
> is ../gnulib has been configured by and for gdb, not gdbserver. So
> if one wants to just build gdbserver, or if the host/target configuration
> for gdb and gdbserver are different, then things may not work.
>
> In my particular case, I'm working on a GDB hosted on Solaris cross
> ppc-lynxos, and then cross-build gdbserver to run on ppc-lynxos.
> I get an error because the stdint.h file doesn't work (SIZE_MAX
> is missing).
How are you configuring? It sounds like you're trying to share an
object directory (same as srcdir?) for configured gdb and gdbserver;
instead, if you build them both in separate object directories, things
will just work out.
--
Daniel Jacobowitz
CodeSourcery