This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] gdbserv - don't link nm.h when cross
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch] gdbserv - don't link nm.h when cross
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 08 Nov 2000 22:28:50 +1100
FYI,
I've checked in the attatched which stops the cross configury problem:
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
Andrew
Wed Nov 8 15:32:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdbserver/configure.in (files): Don't link nm-empty.h when a
non-native target.
* gdbserver/configure: Regenerate.
Index: gdbserver/configure.in
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/configure.in,v
retrieving revision 1.2
diff -p -r1.2 configure.in
*** configure.in 2000/02/13 01:06:58 1.2
--- configure.in 2000/11/08 11:26:00
*************** rm -f nm.h
*** 84,94 ****
if test "${nativefile}" != ""; then
files="${files} ../config/${gdb_host_cpu}/${nativefile}"
links="${links} nm.h"
- # temporary scaffolding until all hosts have the host/target/native
- # split in place.
- else
- files="${files} ../config/nm-empty.h"
- links="${links} nm.h"
fi
AC_LINK_FILES($files, $links)
--- 84,89 ----