aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.host
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-02-10 21:53:51 +0000
committerDaniel Jacobowitz <drow@false.org>2006-02-10 21:53:51 +0000
commit121ce6e53dd5751c6938ab86cbec2742702d06eb (patch)
tree2eb00528fea4aa66e404ad4e27f772407e73356e /gdb/configure.host
parent1f82754b119f92e76335667e98be68ed79586a8e (diff)
downloadfsf-binutils-gdb-121ce6e53dd5751c6938ab86cbec2742702d06eb.zip
fsf-binutils-gdb-121ce6e53dd5751c6938ab86cbec2742702d06eb.tar.gz
fsf-binutils-gdb-121ce6e53dd5751c6938ab86cbec2742702d06eb.tar.bz2
* Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
(ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c. * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs to posix-hdep.o by default. * configure: Regenerated. * configure.host: Document gdb_host_obs. Add an entry for i[34567]86-*-mingw32*. * mingw-hdep.c, posix-hdep.c: New files. * utils.c (safe_strerror): Remove, moved to posix-hdep.o.
Diffstat (limited to 'gdb/configure.host')
-rw-r--r--gdb/configure.host4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/configure.host b/gdb/configure.host
index e781a2d..24a3447 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -7,6 +7,7 @@
# gdb_host_float_format host's float floatformat, or 0
# gdb_host_double_format host's double floatformat, or 0
# gdb_host_long_double_format host's long double floatformat, or 0
+# gdb_host_obs host-specific .o files to include
# Map host cpu into the config cpu subdirectory name.
# The default is $host_cpu.
@@ -64,6 +65,9 @@ i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu)
gdb_host=nbsdelf ;;
i[34567]86-*-netbsd*) gdb_host=nbsdaout ;;
i[34567]86-*-go32*) gdb_host=go32 ;;
+i[34567]86-*-mingw32*) gdb_host=mingw
+ gdb_host_obs=mingw-hdep.o
+ ;;
i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
i[34567]86-*-linux*) gdb_host=linux ;;
i[34567]86-*-lynxos*) gdb_host=i386lynx ;;