This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdbserver in configure scripts
- To: gdb at sources dot redhat dot com
- Subject: gdbserver in configure scripts
- From: Philip Blundell <philb at gnu dot org>
- Date: Sat, 09 Sep 2000 21:42:29 +0100
It doesn't currently work to build a cross GDB targeting, say, m68k-linux (or
any other gdbserver-enabled platform). The configure script fails with:
linking /usr/src/sourceware/src/gdb/gdbserver/../config/nm-empty.h to nm.h
configure: error: /usr/src/sourceware/src/gdb/gdbserver/../config/nm-empty.h: File not found
configure: error: /usr/src/sourceware/src/gdb/gdbserver/configure failed for gdbserver
This would be prevented by the following commented-out code in configure.in:
# else
# GDBserver is only useful in a "native" enviroment
# configdirs=`echo $configdirs | sed 's/gdbserver//'`
Does anybody know of a reason why this code should not be enabled?
(I'm not sure what the story is with nm-empty.h. I don't have one in my tree;
the ChangeLog suggests that it used to exist, but I didn't see anything
referring to its removal.)
Thanks
p.