* configure.in: Add ncr* configuration.
[deliverable/binutils-gdb.git] / config.sub
index f4934ae9a5da8c0cb4657010411e5de723fa961a..1678296039bb2fdecd8aef253918c8cae50e6114 100755 (executable)
@@ -46,7 +46,7 @@ case $1 in
 esac
 
 # Separate what the user gave into CPU-COMPANY and OS (if any).
-basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+basic_machine=`echo $1 | sed 's/-[^-][^-]*$//'`
 if [ $basic_machine != $1 ]
 then os=`echo $1 | sed 's/.*-/-/'`
 else os=; fi
@@ -59,14 +59,24 @@ case $os in
        -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -osf* | \
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-       -harris)
+       -harris | -sim)
                os=
                basic_machine=$1
                ;;
+       -scout)
+               ;;
        -sco*)
                os=-scosysv322
                basic_machine=i386-unknown
                ;;
+       -OSE68k | -ose68k | -OSE | -ose | -es1800)
+               os=-ose
+               basic_machine=m68k-ericsson
+               ;;
+       -OSE68000 | -ose68000)
+               os=-ose
+               basic_machine=m68000-ericsson
+               ;;
        -isc*)
                os=-iscsysv
                basic_machine=i386-unknown
@@ -90,16 +100,19 @@ esac
 # Decode aliases for certain CPU-COMPANY combinations.
 case $basic_machine in
        # Recognize the basic CPU types with without company name.
-       tahoe | i386 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
-               | tron | a29k | 580 | i960 | h8300 | v70)
+       tahoe | i386 | i486 | i860 | m68k | m680[01234]0 | m683?2 \
+               | m88k | ns32k | arm | pyramid \
+               | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 | we32k\
+               | v70 | we32k | z8k)
                basic_machine=$basic_machine-unknown
                ;;
        # Recognize the basic CPU types with with company name.
-       vax-* | tahoe-* | i386-* | i860-* | m68k-* | m68000-* | m88k-* \
+       vax-* | tahoe-* | i386-* | i486-* | i860-* | m68k-* \
+             | m680[01234]0-* | m683?2-* | m88k-* \
              | sparc-* | ns32k-* | alliant-* | arm-* | c[123]* \
              | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
              | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
-             | hppa-*)
+             | hppa1.0-* | hppa1.1-* | we32k-* | z8k-*)
                ;;
        # Recognize the various machine names and aliases which stand
        # for a CPU type and a company and sometimes even an OS.
@@ -159,6 +172,10 @@ case $basic_machine in
                basic_machine=i386-unknown
                os=-iscsysv
                ;;
+       i386-linux* | linux)
+               basic_machine=i386-unknown
+               os=-linux
+               ;;
        i386v4*)
                basic_machine=i386-unknown
                os=-sysv4
@@ -225,6 +242,10 @@ case $basic_machine in
        3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
                basic_machine=m68k-att
                ;;
+       3b* | we32k* )
+               basic_machine=we32k-att
+               os=-sysv
+               ;;
        delta | 3300 | motorola-3300 | motorola-delta \
              | 3300-motorola | delta-motorola)
                basic_machine=m68k-motorola
@@ -267,12 +288,24 @@ case $basic_machine in
                basic_machine=sparc-sun
                os=-sunos4
                ;;
+       sun4sol2)
+               basic_machine=sparc-sun
+               os=-solaris2
+               ;;
+       z8ksim)
+               basic_machine=z8k-unknown
+               os=-sim
+               ;;
        sun3)
                basic_machine=m68k-sun
                ;;
        sun4)
                basic_machine=sparc-sun
                ;;
+       msdos)
+               basic_machine=i386-unknown      
+               os=-msdos
+               ;;
        pbd)
                basic_machine=sparc-unicom
                ;;
@@ -284,7 +317,7 @@ case $basic_machine in
                ;;
        next)
                basic_machine=m68k-next
-               os=-mach
+               os=-bsd
                ;;
        hp9k3[2-9][0-9])
                basic_machine=m68k-hp
@@ -292,8 +325,11 @@ case $basic_machine in
        hp9k31[0-9] | hp9k2[0-9][0-9])
                basic_machine=m68000-hp
                ;;
-       hp9k8[0-9][0-9] | hp9k7[0-9][0-9] | hp8[0-9][0-9] | hp7[0-9][0-9])
-               basic_machine=hp800-hp
+       hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
+               basic_machine=hppa1.1-hp
+               ;;
+       hp9k8[0-9][0-9] | hp8[0-9][0-9])
+               basic_machine=hppa1.0-hp
                ;;
        isi68 | isi)
                basic_machine=m68k-isi
@@ -422,8 +458,16 @@ case $basic_machine in
                basic_machine=m68k-hp
                os=-hpux
                ;;
+       hppabsd)
+               basic_machine=hppa-hp
+               os=-bsd
+               ;;
+       hppahpux)
+               basic_machine=hppa-hp
+               os=-hpux
+               ;;
        ncr3000)
-               basic_machine=i386-ncr
+               basic_machine=i486-ncr
                os=-sysv4
                ;;
        necv70)
@@ -458,10 +502,43 @@ case $basic_machine in
                basic_machine=m68k-wrs
                os=-vxworks
                ;;
+       es1800 | OSE68k | ose68k)
+               basic_machine=m68k-ericsson
+               os=-ose
+               ;;
+       OSE68000 | ose68000)
+               basic_machine=m68000-ericsson
+               os=-ose
+               ;;
        os68k)
                basic_machine=m68k-none
                os=-os68k
                ;;
+       sparclite)
+               basic_machine=sparclite-fujitsu
+               os=-none
+               ;;
+       sparcfrw)
+               basic_machine=sparcfrw-sun
+               os=-sunos4
+               ;;
+       sparcfrwcompat)
+               basic_machine=sparcfrwcompat-sun
+               os=-sunos4
+               ;;
+       sparclitefrw)
+               basic_machine=sparclitefrw-fujitsu
+               os=-none
+               ;;
+       sparclitefrwcompat)
+               basic_machine=sparclitefrwcompat-fujitsu
+               os=-none
+               ;;
+       adobe68k)
+               basic_machine=m68010-adobe
+               os=-scout
+               ;;
+
        none)
                basic_machine=none-none
                os=-none
@@ -502,10 +579,12 @@ case $os in
        # The portable systems comes first.
        # Each alternative must end in a *, to match a version number.
        -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* \
+             | -aout | -coff | -elf \
              | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos* | -hpux* \
-             | -unos* | -osf* | -v88r* | -luna* | -dgux* | -solari* | -sym* \
+             | -unos* | -osf* | -v88r* | -luna* | -dgux* | -solaris* | -sym* \
              | -newsos | -amigados* | -msdos* | -none* | -os68k* | -irix* \
-             | -nindy* | -vxworks* | -ebmon* | -udi | -hms* | -xray | -m88kbcs* | -go32)
+             | -nindy* | -vxworks* | -ebmon* | -udi | -hms* | -xray \
+             | -m88kbcs* | -go32 | -linux* | -sim | -es1800*)
        ;;
 # start-sanitize-v9
        -v7 | -v9 | -hal32 | -hal64) ;;
@@ -536,6 +615,12 @@ case $os in
        -svr3)
                os=-sysv3
                ;;
+       -ose*)
+               os=-ose
+               ;;
+       -es1800*)
+               os=-ose
+               ;;
        *)
                # Get rid of the `-' at the beginning of $os.
                os=`echo $1 | sed 's/[^-]*-//'`
@@ -624,6 +709,9 @@ case $basic_machine in
                        -genix*)
                                vendor=ns
                                ;;
+                       -vxworks*)
+                               vendor=wrs
+                               ;;
                esac
                basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
                ;;
This page took 0.053825 seconds and 4 git commands to generate.