This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] allow darwin as cross compile host
- From: matthew green <mrg at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 31 Dec 2001 17:10:06 +1100
- Subject: [patch] allow darwin as cross compile host
- Organisation: Red Hat, Asia-Pacific.
hi folks.
i needed this patch to correctly guess to use "macos", as
configure.guess is giving me `powerpc-apple-darwin5.2'.
OK to commit?
.mrg.
* configure.host (powerpc-*-darwin*): Set gdb_host=macos.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.31
diff -p -r1.31 configure.host
*** configure.host 2001/12/17 16:23:02 1.31
--- configure.host 2001/12/31 06:05:49
*************** ns32k-*-netbsd*) gdb_host=nbsd ;;
*** 127,132 ****
--- 127,133 ----
powerpc-*-aix*) gdb_host=aix ;;
powerpc-*-linux*) gdb_host=linux ;;
powerpc-*-netbsd*) gdb_host=nbsd ;;
+ powerpc-*-darwin*) gdb_host=macos ;;
rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
rs6000-*-aix4*) gdb_host=aix4 ;;