Patchwork [VMS/committed] : Consolidate config.host VMS entries

login
register
mail settings
Submitter Tristan Gingold
Date March 16, 2012, 9:18 a.m.
Message ID <2C8CCB69-68D0-467E-AA8E-5D0C1D530060@adacore.com>
Download mbox | patch
Permalink /patch/147169/
State New
Headers show

Comments

Tristan Gingold - March 16, 2012, 9:18 a.m.
Hi,

all the three VMS entries are consolidated into one with this patch.

Committed on trunk.

Tristan.

2012-03-16  Tristan Gingold  <gingold@adacore.com>

	* config.host (alpha64-dec-*vms*, alpha*-dec-*vms*)
	(ia64-hp-*vms*): Replaced by ...
	(*-*-*vms*): ... This new entry.

Patch

Index: gcc/config.host
===================================================================
--- gcc/config.host	(revision 185454)
+++ gcc/config.host	(working copy)
@@ -185,22 +185,6 @@ 
 
 # Machine-specific settings.
 case ${host} in
-  alpha64-dec-*vms*)
-    host_xm_file="vms/xm-vms.h vms/xm-vms64.h"
-    host_xmake_file=vms/x-vms
-    host_exeext=.exe
-    host_can_use_collect2=no
-    prefix=/gnu
-    local_prefix=/gnu/local
-    ;;
-  alpha*-dec-*vms*)
-    host_xm_file="vms/xm-vms.h"
-    host_xmake_file=vms/x-vms
-    host_exeext=.exe
-    host_can_use_collect2=no
-    prefix=/gnu
-    local_prefix=/gnu/local
-    ;;
   hppa1.0-*-hpux10* | hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
     out_host_hook_obj=host-hpux.o
     host_xmake_file="${host_xmake_file} x-hpux"
@@ -262,14 +246,6 @@ 
     out_host_hook_obj="${out_host_hook_obj} host-i386-darwin.o"
     host_xmake_file="${host_xmake_file} i386/x-darwin"
     ;;
-  ia64-hp-*vms*)
-    host_xm_file="vms/xm-vms.h vms/xm-vms64.h"
-    host_xmake_file=vms/x-vms
-    host_exeext=.exe
-    host_can_use_collect2=no
-    prefix=/gnu
-    local_prefix=/gnu/local
-    ;;
   powerpc-*-beos*)
     host_can_use_collect2=no
     ;;
@@ -297,4 +273,10 @@ 
     out_host_hook_obj=host-hpux.o
     host_xmake_file="${host_xmake_file} x-hpux"
     ;;
+  *-*-*vms*)
+    host_xm_file="vms/xm-vms.h"
+    host_xmake_file=vms/x-vms
+    host_exeext=.exe
+    host_can_use_collect2=no
+    ;;
 esac