[patch] Collapse related clauses in config.host and recomment
Nathanael Nerode
neroden@twcny.rr.com
Sat Sep 20 17:41:00 GMT 2003
Last followup to the patch to allow unlisted hosts. No behavioral change.
After all these patches, config.host is short and sweet. :-)
* config.host: Collapse identical clauses for closely related
systems. Rewrite comment for unsupported hosts list. Reorganize
a little.
--- config.host.3 2003-09-20 13:30:46.000000000 -0400
+++ config.host 2003-09-20 13:37:43.000000000 -0400
@@ -63,14 +63,14 @@
host_extra_gcc_objs=
out_host_hook_obj=host-default.o
-# Unsupported hosts list. Do not put an entry in this list unless
-# it would otherwise be caught by a more permissive pattern. The list
-# should be in alphabetical order.
+# Unsupported hosts list. Generally, only include hosts known to fail here,
+# since we allow hosts not listed to be supported generically.
case ${host} in
i[34567]86-sequent-sysv \
| i[34567]86-sequent-sysv[123]* \
| i[34567]86-go32-* \
- | i[34567]86-*-go32*
+ | i[34567]86-*-go32* \
+ | vax-*-vms*
)
echo "*** Configuration for host ${host} not supported" 1>&2
exit 1
@@ -101,31 +101,21 @@
hppa1.1-*-bsd*)
host_xmake_file="pa/x-ada"
;;
- hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
- host_xmake_file="pa/x-ada"
- ;;
- hppa1.0-*-hpux10*)
- host_xmake_file="pa/x-ada"
- ;;
+ hppa1.0-*-hpux10* | hppa1.1-*-hpux10* | hppa2*-*-hpux10* | \
+ hppa1.0-*-hpux11* | hppa1.1-*-hpux11* | hppa2*-*-hpux11* | \
hppa*64*-*-hpux11*)
host_xmake_file="pa/x-ada"
;;
- hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
- host_xmake_file="pa/x-ada"
- ;;
- hppa1.0-*-hpux11*)
- host_xmake_file="pa/x-ada"
- ;;
- i370-*-opened*) # IBM 360/370/390 Architecture
+ i370-*-opened* | i370-*-mvs* ) # IBM 360/370/390 Architecture
host_xm_defines='FATAL_EXIT_CODE=12'
;;
- i370-*-mvs*)
- host_xm_defines='FATAL_EXIT_CODE=12'
+ i[34567]86-sequent-ptx4*)
+ host_xm_defines="SMALL_ARG_MAX"
;;
- i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
+ i[34567]86-*-solaris2*)
host_xm_defines="SMALL_ARG_MAX"
;;
- i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
+ i[34567]86-*-sysv4*) # Intel 80386's running System V Release 4
host_xm_defines="SMALL_ARG_MAX"
;;
i[34567]86-pc-msdosdjgpp*)
@@ -138,12 +128,6 @@
;;
esac
;;
- i[34567]86-*-solaris2*)
- host_xm_defines="SMALL_ARG_MAX"
- ;;
- i[34567]86-*-sysv4*) # Intel 80386's running System V Release 4
- host_xm_defines="SMALL_ARG_MAX"
- ;;
i[34567]86-*-pe | i[34567]86-*-cygwin*)
host_xm_file=i386/xm-cygwin.h
host_exeext=.exe
@@ -165,9 +149,6 @@
mips-sgi-irix6*o32) # SGI System V.4., IRIX 6, O32 ABI
host_xm_file=mips/xm-iris5.h
;;
- mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
- host_xm_file=mips/xm-iris5.h
- ;;
mips-sgi-irix5*) # SGI System V.4., IRIX 5
host_xm_file=mips/xm-iris5.h
;;
@@ -176,8 +157,4 @@
out_host_hook_obj=host-darwin.o
host_xmake_file=rs6000/x-darwin
;;
- vax-*-vms*) # VAXen running VMS
- echo "Host ${host} no longer supported" 1>&2
- exit 1
- ;;
esac
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html
More information about the Gcc-patches
mailing list