Minor rephrasing; probably an overfull-box correction for smallbook
[deliverable/binutils-gdb.git] / config.sub
index c3e002867e8db71da28dca927edfbdd78bfdb673..340aefaa3d0bfddb633fd7e5befe4abf127af4f5 100755 (executable)
 # Each package is responsible for reporting which valid configurations
 # it does not support.  The user should be able to distinguish
 # a failure to support a valid configuration from a meaningless
-# configuration.
+# configuration (e.g. a typo).
+
+# Please email any bugs, comments, and/or additions to this file to:
+# configure@cygnus.com
 
 # decode aliases into canonical names
+# Note that aliases MUST fit into 12 characters or less otherwise the
+# install targets and subdir builds all die on machines that support
+# only 14 char file names.  They die miserably on machines that rudely
+# enforce the 14 character limit.
 
 case "$1" in
 # cpu alone is a valid alias for cpu-none-none.
 vax | tahoe | i386 | i860 | m68k | m68000 | m88k | sparc | ns32k \
        | alliant | arm | c1 | c2 | mips | pyramid | tron | a29k \
-       | rtpc | rs6000 | i960)
+       | romp | i960 | h8300)
        cpu=$1
        vendor=none
        os=none
        ;;
-nindy960)
-       cpu=i960
-       vendor=intel
-       os=nindy
-       ;;
-vxworks68)
+altos | altos3068)
        cpu=m68k
-       vendor=wrs
-       os=vxworks
+       vendor=altos
+       os=sysv # maybe?
        ;;
-vxworks960)
-       cpu=i960
-       vendor=wrs
-       os=vxworks
+altosgas)
+       cpu=m68k
+       vendor=altos
+       os=gas
        ;;
 am29k)
        cpu=a29k
        vendor=none
        os=bsd
        ;;
-umax)
+amdahl)
+       cpu=580
+       vendor=amdahl
+       os=uts
+       ;;
+amigados)
+       cpu=m68k
+       vendor=cbm
+       os=amigados # Native AmigaDOS
+       ;;
+amigaunix | amix)
+       cpu=m68k
+       vendor=cbm
+       os=svr4 # System V Release 4 (svr4 is an industry recognized acronym)
+       ;;
+apollo68)
+       cpu=m68k
+       vendor=apollo
+       os=sysv # maybe?
+       ;;
+balance)
        cpu=ns32k
-       vendor=encore
+       vendor=sequent
+       os=dynix
+       ;;
+convex-c1)
+       cpu=c1
+       vendor=convex
        os=sysv # maybe?
        ;;
-pn)
-       cpu=pn
-       vendor=gould
+convex-c2)
+       cpu=c2
+       vendor=convex
        os=sysv # maybe?
        ;;
-np1)
-       cpu=np1
-       vendor=gould
+cray | ymp)
+       cpu=ymp
+       vendor=cray
+       os=unicos
+       ;;
+cray2)
+       cpu=cray2
+       vendor=cray
+       os=unicos
+       ;;
+dec3100 | decstatn | decstation | decstation-3100 | pmax | pmin)
+       cpu=mips
+       vendor=dec
+       os=ultrix
+       ;;
+delta | 3300 | motorola-3300 | motorola-delta \
+      | 3300-motorola | delta-motorola)
+       cpu=m68k
+       vendor=motorola
        os=sysv # maybe?
        ;;
-merlin)
-       cpu=merlin
-       vendor=utek
+
+delta88)
+       cpu=m88k
+       vendor=motorola
+       os=m88kbcs
+       ;;
+
+ebmon29k)
+       cpu=a29k
+       vendor=amd
+       os=ebmon
+       ;;
+gmicro)
+       cpu=tron
+       vendor=gmicro
        os=sysv # maybe?
        ;;
+
+harris)
+       cpu=m88k
+       vendor=harris
+       os=m88kbcs
+       ;;
+
+h8300hds)
+       cpu=h8300
+       vendor=hitachi
+       os=hds
+       ;;
+
+# start-sanitize-life
+life)
+       cpu=life
+       vendor=philips
+       os=none
+       ;;
+# end-sanitize-life
+
+# start-sanitize-v9
+hal-32 | hal32)
+       cpu=sparc64
+       vendor=hal
+       os=hal32
+       ;;
+hal-64 | hal64)
+       cpu=sparc64
+       vendor=hal
+       os=hal64
+       ;;
+sparc64)
+       cpu=sparc64
+       vendor=sun
+       os=v9
+       ;;
+sparc64-v7 | sparc64v7)
+       cpu=sparc64
+       vendor=sun
+       os=v7
+       ;;
+# end-sanitize-v9
+hp300bsd)
+       cpu=m68k
+       vendor=hp
+       os=bsd
+       ;;
+hp300hpux | hpux | hp9k3[2-9][0-9])
+       cpu=m68k
+       vendor=hp
+       os=hpux
+       ;;
+hp9k31[0-9] | hp9k2[0-9][0-9])
+       cpu=m68000
+       vendor=hp
+       os=hpux
+       ;;
+i386sco)
+       cpu=i386
+       vendor=sco
+       os=sysv32 # maybe?
+       ;;
+i386v)
+       cpu=i386
+       vendor=none
+       os=sysv
+       ;;
+i386v32)
+       cpu=i386
+       vendor=none
+       os=sysv32
+       ;;
 iris | iris4d)
        cpu=mips
        vendor=sgi
+       os=irix # maybe?
+       ;;
+
+dpx2)
+       vendor=bull
+       cpu=m68k
+       os=sysv
+       ;;
+isi | isi68)
+       cpu=m68k
+       vendor=isi
        os=sysv # maybe?
        ;;
-news1000)
-       cpu=m68030
-       vendor=sony
+littlemips)
+       cpu=mips
+       vendor=little
+       os=bsd
+       ;;
+magnum | m3230)
+       cpu=mips
+       vendor=mips
+       os=sysv # maybe?
+       ;;
+merlin)
+       cpu=ns32k
+       vendor=utek
+       os=sysv # maybe?
+       ;;
+miniframe)
+       cpu=m68000
+       vendor=convergent
+       os=sysv # maybe?
+       ;;
+mmax)
+       cpu=ns32k
+       vendor=encore
        os=sysv # maybe?
        ;;
 news | news700 | news800 | news900)
        cpu=m68k
        vendor=sony
-       os=sysv # maybe?
+       os=newsos # newsos3c or newsos4c, c stands for cisc. Based on bsd-4.3.
        ;;
-unixpc | safari | pc7300 | 3b1 | 7300 | 7300-att | att-7300)
-       cpu=m68k
-       vendor=att
-       os=sysv # maybe?
+news1000)
+       cpu=m68030
+       vendor=sony
+       os=newsos
        ;;
-delta | 3300 | motorola-3300 | motorola-delta \
-      | 3300-motorola | delta-motorola)
+news-3600 | bigmips | risc-news)
+       cpu=mips
+       vendor=sony
+       os=newsos # Presumably newsos4r, r stands for risc. Based on bsd-4.3.
+       ;;
+next)
        cpu=m68k
-       vendor=motorola
+       vendor=next
        os=sysv # maybe?
        ;;
-vax-dec)
-       cpu=vax
-       vendor=dec
-       os=ultrix # maybe?
+nindy960)
+       cpu=i960
+       vendor=intel
+       os=nindy
        ;;
-balance)
-       cpu=ns32k
-       vendor=sequent
-       os=dynix
+none)
+       cpu=none
+       vendor=none
+       os=none
        ;;
-mmax)
-       cpu=ns32k
-       vendor=encore
+np1)
+       cpu=np1
+       vendor=gould
        os=sysv # maybe?
        ;;
-symmetry)
+rtpc)
+       cpu=romp
+       vendor=ibm
+       os=aix # maybe?
+       ;;      
+pbd)
+       cpu=sparc
+       vendor=unicom
+       os=sysv
+       ;;
+pn)
+       cpu=pn
+       vendor=gould
+       os=sysv # maybe?
+       ;;
+rs6000)
+       cpu=rs6000
+       vendor=ibm
+       os=aix
+       ;;
+ps2)
        cpu=i386
-       vendor=sequent
-       os=dynix
+       vendor=ibm
+       os=sysv # maybe?
        ;;
 sun2)
        cpu=m68000
@@ -140,6 +323,11 @@ sun3os4)
        vendor=sun
        os=sunos4
        ;;
+sun386 | roadrunner | sun386i)
+       cpu=i386
+       vendor=sun
+       os=sunos
+       ;;
 sun4)
        cpu=sparc
        vendor=sun
@@ -155,134 +343,58 @@ sun4os4)
        vendor=sun
        os=sunos4
        ;;
-pbd)
-       cpu=sparc
-       vendor=unicom
-       os=sysv
-       ;;
-roadrunner | sun386 | sun386i)
-       cpu=i386
-       vendor=sun
-       os=sunos
-       ;;
-ps2)
-       cpu=i386
-       vendor=ibm
-       os=sysv # maybe?
-       ;;
-i386sco)
-       cpu=i386
-       vendor=sco
-       os=sysv # maybe?
-       ;;
-i386v)
-       cpu=i386
-       vendor=none
-       os=sysv
-       ;;
-i386v32)
+symmetry)
        cpu=i386
-       vendor=none
-       os=sysv32
-       ;;
-next)
-       cpu=m68k
-       vendor=next
-       os=sysv # maybe?
-       ;;
-hp300bsd)
-       cpu=m68k
-       vendor=hp
-       os=bsd
-       ;;
-hp300hpux | hpux | hp9k3[2-9][0-9])
-       cpu=m68k
-       vendor=hp
-       os=hpux
-       ;;
-hp9k31[0-9] | hp9k2[0-9][0-9])
-       cpu=m68000
-       vendor=hp
-       os=hpux
-       ;;
-isi | isi68)
-       cpu=m68k
-       vendor=isi
-       os=sysv # maybe?
-       ;;
-apollo68)
-       cpu=m68k
-       vendor=apollo
-       os=sysv # maybe?
+       vendor=sequent
+       os=dynix
        ;;
-altos | altos3068)
+tower | tower-32)
        cpu=m68k
-       vendor=altos
+       vendor=ncr
        os=sysv # maybe?
        ;;
-altosgas)
-       cpu=m68k
-       vendor=altos
-       os=gas
+ultra3)
+       cpu=a29k
+       vendor=nyu
+       os=sym1
        ;;
-miniframe)
-       cpu=m68000
-       vendor=convergent
+umax)
+       cpu=ns32k
+       vendor=encore
        os=sysv # maybe?
        ;;
-tower | tower-32)
+unixpc | safari | pc7300 | 3b1 | 7300 | 7300-att | att-7300)
        cpu=m68k
-       vendor=ncr
+       vendor=att
        os=sysv # maybe?
        ;;
-bigmips | news-3600 | risc-news)
-       cpu=mips
-       vendor=sony
-       os=newsos # maybe?
-       ;;
-littlemips)
-       cpu=mips
-       vendor=little
-       os=bsd
-       ;;
-dec3100 | decstatn | decstation | decstation-3100 | pmax)
-       cpu=mips
+vax-dec)
+       cpu=vax
        vendor=dec
-       os=ultrix
-       ;;
-magnum | m3230)
-       cpu=mips
-       vendor=mips
-       os=sysv # maybe?
-       ;;
-gmicro)
-       cpu=tron
-       vendor=none
-       os=sysv # maybe?
+       os=ultrix # maybe?
        ;;
-convex-c1)
-       cpu=c1
-       vendor=convex
-       os=sysv # maybe?
+vxworks68)
+       cpu=m68k
+       vendor=wrs
+       os=vxworks
        ;;
-convex-c2)
-       cpu=c2
-       vendor=convex
-       os=sysv # maybe?
+vxworks960)
+       cpu=i960
+       vendor=wrs
+       os=vxworks
        ;;
-none)
-       cpu=none
-       vendor=none
-       os=none
+xmp)
+       cpu=xmp
+       vendor=cray
+       os=unicos
        ;;
-
 # not an alias.  parse what we expect to be a canonical name.
 *)
        cpu=`echo $1 | sed 's/-.*$//'`
 
        if [ "${cpu}" = "$1" ] ; then
                # no vendor so this is an invalid name.
-               echo '***' No vendor: configuration \`$1\' not recognized 1>&2
+               echo '***' Configuration \"$1\" not recognized 1>&2
                exit 1
        else
                # parse out vendor
@@ -305,10 +417,19 @@ esac
 # verify that the cpu is known.
 
 case "${cpu}" in
-vax | tahoe | i386 | i860 | m68k | m68000 | m88k | sparc | ns32k \
-       | alliant | arm | c1 | c2 | mips | pyramid | tron | a29k \
-       | rtpc | rs6000 | i960)
+none | vax | tahoe | i386 | i860 | m68k | m68000 | m88k | sparc \
+       | ns32k | alliant | arm | c1 | c2 | mips | pyramid | tron \
+       | a29k | romp | rs6000 | i960 | xmp | ymp | cray2 | 580 | h8300)
        ;;
+
+# start-sanitize-life
+life) ;;
+# end-sanitize-life
+
+# start-sanitize-v9
+sparc64) ;;
+# end-sanitize-v9
+
 *)
        echo '***' Invalid cpu \`${cpu}\': configuration \`$1\' not recognized 1>&2
        exit 1
@@ -318,10 +439,20 @@ esac
 # verify that the vendor is known.
 
 case "${vendor}" in
-none | convex | mips | dec | little | sony | ncr | convergent \
-       | altos | apollo | isi | hp | next | sco | ibm | sun \
-       | unicom | sequent | encore | motorola | att | sgi \
-       | utek | gould | wrs | intel | aout | bout | coff) ;;
+       altos | amd | amdahl | aout | apollo | att | bcs | bout |\
+       cbm | convergent | convex | coff | cray | dec | encore |\
+       gould | harris | hitachi | intel | isi | hp | ibm | little | mips | motorola | \
+       ncr | next | none | nyu | sco | sequent | sgi | sony | sun |\
+       unicom | utek | wrs | bull ) ;; 
+
+# start-sanitize-life
+philips) ;;
+# end-sanitize-life
+
+# start-sanitize-v9
+hal) ;;
+# end-sanitize-v9
+
 *)
        echo '***' Invalid vendor \`${vendor}\': configuration \`$1\' not recognized 1>&2
        exit 1
@@ -331,10 +462,18 @@ esac
 # verify that the os is known, if it exists.
 
 case "${os}" in
-aix* | aout | bout | bsd* | coff | ctix* | dynix* | esix* | hpux* \
-       | isc* | mach* | newsos* | nindy* | none | osf* | osf* | sco* \
-       | sunos* | sysv* | ultrix* | unos* | v88r* | vms* | vxworks*)
+aix* | aout | bout | bsd* | coff | ctix* | dgux* | dynix* | esix* \
+       | ebmon | hpux* \
+       | hds | irix* | isc* | kern | mach* | msdos* | newsos* | nindy* | none \
+       | osf* | sco* | sunos* | sysv* | ultrix* | unos* | v88r* \
+       | vms* | vxworks* | sym[1-9]* | unicos* | uts | svr4 | m88kbcs \
+       | amigados) 
        ;;
+
+# start-sanitize-v9
+hal32 | hal64 | v7 | v9) ;;
+# end-sanitize-v9
+
 *)
        echo '***' Invalid os \`${os}\': configuration \`$1\' not recognized 1>&2
        exit 1
This page took 0.031654 seconds and 4 git commands to generate.