This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH] Make cross-compilation for the Hurd a bit more friendly
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] Make cross-compilation for the Hurd a bit more friendly
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Sat, 26 Feb 2000 14:49:03 +0100
Hi,
FYI, I checked in the following patch:
2000-02-26 Mark Kettenis <kettenis@gnu.org>
Make cross-compilation for the Hurd more friendly.
From Jeff Bailey <jbailey@gnu.org>:
* configure.in: Use AC_CHECK_TOOL to find MiG.
* Makefile.in (MIG): New variable.
* config/i386/i386gnu.mh (MIG): Remove.
* configure: Regenerated.
Index: gdb/configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.7
diff -u -r1.7 configure.in
--- gdb/configure.in 2000/02/24 08:16:26 1.7
+++ gdb/configure.in 2000/02/26 13:31:55
@@ -77,6 +77,9 @@
AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_PROG_YACC
+dnl MiG is needed for the Hurd.
+AC_CHECK_TOOL(MIG, mig)
+
AC_ARG_PROGRAM
AC_TYPE_SIGNAL
Index: gdb/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.8
diff -u -r1.8 Makefile.in
--- gdb/Makefile.in 2000/02/24 08:16:26 1.8
+++ gdb/Makefile.in 2000/02/26 13:31:57
@@ -59,6 +59,7 @@
RANLIB = @RANLIB@
DLLTOOL = @DLLTOOL@
WINDRES = @WINDRES@
+MIG = @MIG@
# If the user configured GDB to include the TUI, the name of the tui
# library goes here.
Index: gdb/config/i386/i386gnu.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386gnu.mh,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 i386gnu.mh
--- gdb/config/i386/i386gnu.mh 1999/04/16 01:34:18 1.1.1.1
+++ gdb/config/i386/i386gnu.mh 2000/02/26 13:31:57
@@ -12,7 +12,6 @@
msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
# ick
-MIG = mig
MIGCOM = $(MIG) -cc cat - /dev/null
# Reply servers need special massaging of the code mig generates, to make