OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / gcc / config.host
index c035a50..696c79e 100644 (file)
@@ -1,6 +1,6 @@
 # GCC host-specific configuration file.
-# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007, 2008, 2009
-# Free Software Foundation, Inc.
+# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007, 2008, 2009,
+# 2010, 2011 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -100,9 +100,17 @@ case ${host} in
 esac
 
 case ${host} in
-  alpha*-*-linux*)
+  arm*-*-linux*)
     case ${target} in
-      alpha*-*-linux*)
+      arm*-*-*)
+       host_extra_gcc_objs="driver-arm.o"
+       host_xmake_file="${host_xmake_file} arm/x-arm"
+       ;;
+    esac
+    ;;
+  alpha*-*-linux* | alpha*-dec-osf*)
+    case ${target} in
+      alpha*-*-linux* | alpha*-dec-osf*)
        host_extra_gcc_objs="driver-alpha.o"
        host_xmake_file="${host_xmake_file} alpha/x-alpha"
        ;;
@@ -118,9 +126,9 @@ case ${host} in
        ;;
     esac
     ;;
-  mips*-*-linux*)
+  mips*-*-linux* | mips-sgi-irix*)
     case ${target} in
-      mips*-*-linux*)
+      mips*-*-linux* | mips-sgi-irix*)
        host_extra_gcc_objs="driver-native.o"
        host_xmake_file="${host_xmake_file} mips/x-native"
       ;;
@@ -157,6 +165,22 @@ case ${host} in
        ;;
     esac
     ;;
+  sparc*-*-solaris2*)
+    case ${target} in
+      sparc*-*-solaris2*)
+       host_extra_gcc_objs="driver-sparc.o"
+       host_xmake_file="${host_xmake_file} sparc/x-sparc"
+       ;;
+    esac
+    ;;
+  sparc*-*-linux*)
+    case ${target} in
+      sparc*-*-linux*)
+       host_extra_gcc_objs="driver-sparc.o"
+       host_xmake_file="${host_xmake_file} sparc/x-sparc"
+       ;;
+    esac
+    ;;
 esac
 
 # Machine-specific settings.
@@ -169,6 +193,10 @@ case ${host} in
     prefix=/gnu
     local_prefix=/gnu/local
     ;;
+  alpha*-dec-osf*)
+    out_host_hook_obj=host-osf.o
+    host_xmake_file="${host_xmake_file} alpha/x-osf"
+    ;;
   alpha*-dec-*vms*)
     host_xm_file="vms/xm-vms.h"
     host_xmake_file=vms/x-vms
@@ -193,7 +221,7 @@ case ${host} in
   i370-*-opened* | i370-*-mvs* ) # IBM 360/370/390 Architecture
     host_xm_defines='FATAL_EXIT_CODE=12'
     ;;
-  i[34567]86-*-solaris2*)
+  i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
     out_host_hook_obj=host-solaris.o
     host_xmake_file="${host_xmake_file} x-solaris"
     ;;
@@ -207,7 +235,7 @@ case ${host} in
         ;;
     esac
     ;;
-  i[34567]86-*-pe | i[34567]86-*-cygwin*)
+  i[34567]86-*-cygwin*)
     host_xm_file=i386/xm-cygwin.h
     out_host_hook_obj=host-cygwin.o
     host_xmake_file="${host_xmake_file} i386/x-cygwin"