gdb/
[binutils-gdb.git] / gdb / configure.host
index ba3354a8e893aa7049dad982b5d3c09e6eb2785b..794eeee573b69cff8c145fb0970139e55cb467bf 100644 (file)
@@ -13,6 +13,8 @@
 # The default is $host_cpu.
 
 case $host in
+ alpha*-*-osf1* | \
+ alpha*-*-osf2* | \
  hppa*-*-hiux* | \
  i[34567]86-ncr-* | \
  i[34567]86-*-dgux* | \
@@ -44,7 +46,7 @@ i[34567]86*)          gdb_host_cpu=i386 ;;
 m68*)                  gdb_host_cpu=m68k ;;
 m88*)                  gdb_host_cpu=m88k ;;
 mips*)                 gdb_host_cpu=mips ;;
-powerpc*)              gdb_host_cpu=powerpc ;;
+powerpc* | rs6000)     gdb_host_cpu=powerpc ;;
 sparcv9 | sparc64)     gdb_host_cpu=sparc ;;
 s390*)                 gdb_host_cpu=s390 ;;
 sh*)                   gdb_host_cpu=sh ;;
@@ -60,8 +62,8 @@ esac
 
 case "${host}" in
 
-alpha*-*-osf1*)                gdb_host=alpha-osf1 ;;
-alpha*-*-osf2*)                gdb_host=alpha-osf2 ;;
+*-*-darwin*)           gdb_host=darwin ;;
+
 alpha*-*-osf[3456789]*)        gdb_host=alpha-osf3 ;;
 alpha*-*-linux*)       gdb_host=alpha-linux ;;
 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
@@ -79,6 +81,7 @@ arm*-*-openbsd*)      gdb_host=nbsdelf ;;
 hppa*-*-hpux*)
                        gdb_host=hpux ;;
 hppa*-*-linux*)                gdb_host=linux ;;
+hppa*-*-netbsd*)       gdb_host=nbsd ;;
 hppa*-*-openbsd*)      gdb_host=obsd ;;
 
 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
@@ -97,7 +100,8 @@ i[3456]86-*-nto*)    gdb_host=nto ;;
 i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3])
                        gdb_host=obsdaout ;;
 i[34567]86-*-openbsd*) gdb_host=obsd ;;
-i[34567]86-*-solaris2.1[0-9]*) gdb_host=sol2-64 ;;
+i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
+                       gdb_host=sol2-64 ;;
 i[34567]86-*-solaris*) gdb_host=i386sol2 ;;
 i[34567]86-*-cygwin*)  gdb_host=cygwin ;;
 
@@ -118,7 +122,8 @@ mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
                        gdb_host=nbsd ;;
 mips64*-*-openbsd*)    gdb_host=obsd64 ;;
 
-powerpc-*-aix*)                gdb_host=aix ;;
+powerpc-*-aix* | rs6000-*-*)
+                       gdb_host=aix ;;
 powerpc-*-linux*)      gdb_host=linux ;;
 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
                        gdb_host=nbsd ;;
@@ -132,9 +137,6 @@ powerpc64-*-linux*)     gdb_host=ppc64-linux
                         fi
                        ;;
 
-rs6000-*-aix4*)                gdb_host=aix4 ;;
-rs6000-*-*)            gdb_host=rs6000 ;;
-
 s390*-*-*)             gdb_host=s390 ;;
 
 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
@@ -170,7 +172,9 @@ x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
                        gdb_host=nbsd64 ;;
 x86_64-*-openbsd*)     gdb_host=obsd64 ;;
-
+x86_64-*-mingw*)        gdb_host=mingw64
+                       gdb_host_obs=mingw-hdep.o
+                       ;;
 m32r*-*-linux*)          gdb_host=linux ;;
 
 xtensa*-*-linux*)      gdb_host=linux ;;