Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gnulib dependency in gdbserver
@ 2008-06-25 19:16 Joel Brobecker
  2008-06-25 19:23 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2008-06-25 19:16 UTC (permalink / raw)
  To: gdb

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).

I don't see any other way but making an additional copy of gnulib
inside gdbserver. I really hate the idea; even though it seems that
this is the way that the project was designed to be used, it means
that we have to be careful to update two copies if a file is
duplicated twice...

Any suggestion?

Thanks,
-- 
Joel


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-06-26  2:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-25 19:16 gnulib dependency in gdbserver Joel Brobecker
2008-06-25 19:23 ` Daniel Jacobowitz
2008-06-25 21:14   ` Joel Brobecker
2008-06-25 21:58     ` Daniel Jacobowitz
2008-06-25 22:15       ` Joel Brobecker
2008-06-25 23:09         ` Joel Brobecker
2008-06-26  2:09           ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox