[patch] allow darwin as cross compile host

matthew green mrg@cygnus.com
Sun Dec 30 22:10:00 GMT 2001



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 ;;



More information about the Gdb-patches mailing list