Mercurial > emacs
comparison config.sub @ 9997:9108e45601ba
(sparc): Recognize as a cpu.
(ecoff*, vsta, udi): Recognize as os's.
(udi29k): New alias.
author | Doug Evans <dje@gnu.org> |
---|---|
date | Thu, 17 Nov 1994 20:12:13 +0000 |
parents | 6a72b1f71ee4 |
children | 9424b278cd6a |
comparison
equal
deleted
inserted
replaced
9996:478f14a61aba | 9997:9108e45601ba |
---|---|
40 # The goal of this file is to map all the various variations of a given | 40 # The goal of this file is to map all the various variations of a given |
41 # machine specification into a single specification in the form: | 41 # machine specification into a single specification in the form: |
42 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | 42 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM |
43 # It is wrong to echo any other type of specification. | 43 # It is wrong to echo any other type of specification. |
44 | 44 |
45 if [ x$1 = x ] | |
46 then | |
47 echo Configuration name missing. 1>&2 | |
48 echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 | |
49 echo "or $0 ALIAS" 1>&2 | |
50 echo where ALIAS is a recognized configuration type. 1>&2 | |
51 exit 1 | |
52 fi | |
53 | |
45 # First pass through any local machine types. | 54 # First pass through any local machine types. |
46 case $1 in | 55 case $1 in |
47 *local*) | 56 *local*) |
48 echo $1 | 57 echo $1 |
49 exit 0 | 58 exit 0 |
121 # Some are omitted here because they have special meanings below. | 130 # Some are omitted here because they have special meanings below. |
122 tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \ | 131 tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \ |
123 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \ | 132 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \ |
124 | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \ | 133 | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \ |
125 | powerpc | sparc64 | 1750a | dsp16xx | mips64 | mipsel \ | 134 | powerpc | sparc64 | 1750a | dsp16xx | mips64 | mipsel \ |
126 | pdp11 | mips64el | mips64orion | mips64orionel ) | 135 | pdp11 | mips64el | mips64orion | mips64orionel \ |
136 | sparc) | |
127 basic_machine=$basic_machine-unknown | 137 basic_machine=$basic_machine-unknown |
128 ;; | 138 ;; |
129 # Object if more than one company name word. | 139 # Object if more than one company name word. |
130 *-*-*) | 140 *-*-*) |
131 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | 141 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
137 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | 147 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ |
138 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ | 148 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ |
139 | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ | 149 | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ |
140 | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ | 150 | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ |
141 | pdp11-* | sh-* | powerpc-* | sparc64-* | mips64-* | mipsel-* \ | 151 | pdp11-* | sh-* | powerpc-* | sparc64-* | mips64-* | mipsel-* \ |
142 | mips64el-* | mips64orion-* | mips64orionel-* ) | 152 | mips64el-* | mips64orion-* | mips64orionel-* \ |
153 | sparc-*) | |
143 ;; | 154 ;; |
144 # Recognize the various machine names and aliases which stand | 155 # Recognize the various machine names and aliases which stand |
145 # for a CPU type and a company and sometimes even an OS. | 156 # for a CPU type and a company and sometimes even an OS. |
146 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | 157 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
147 basic_machine=m68000-att | 158 basic_machine=m68000-att |
476 os=-dynix | 487 os=-dynix |
477 ;; | 488 ;; |
478 tower | tower-32) | 489 tower | tower-32) |
479 basic_machine=m68k-ncr | 490 basic_machine=m68k-ncr |
480 ;; | 491 ;; |
492 udi29k) | |
493 basic_machine=a29k-amd | |
494 os=-udi | |
495 ;; | |
481 ultra3) | 496 ultra3) |
482 basic_machine=a29k-nyu | 497 basic_machine=a29k-nyu |
483 os=-sym1 | 498 os=-sym1 |
484 ;; | 499 ;; |
485 vaxv) | 500 vaxv) |
585 | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \ | 600 | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \ |
586 | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \ | 601 | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \ |
587 | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \ | 602 | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \ |
588 | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \ | 603 | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \ |
589 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ | 604 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ |
590 | -ptx* | -coff* | -winnt* | -domain* ) | 605 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi) |
591 ;; | 606 ;; |
592 -sunos5*) | 607 -sunos5*) |
593 os=`echo $os | sed -e 's|sunos5|solaris2|'` | 608 os=`echo $os | sed -e 's|sunos5|solaris2|'` |
594 ;; | 609 ;; |
595 -sunos6*) | 610 -sunos6*) |