This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnulib dependency in gdbserver


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]