This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdbserver in configure scripts
- To: Philip Blundell <philb at gnu dot org>
- Subject: Re: gdbserver in configure scripts
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 08 Nov 2000 22:26:40 +1100
- Cc: gdb at sources dot redhat dot com
- References: <E13XrSH-0006lh-00@kings-cross.london.uk.eu.org>
Philip Blundell wrote:
>
> 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
FYI,
I've checked in a patch to this specific problem (it shouldn't create
the link). tm-linix.h still doesn't build though.
Andrew
> 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.