diff options
author | Damien Miller <djm@mindrot.org> | 2002-07-25 14:40:22 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-07-25 14:40:22 +1000 |
commit | a7609f548f2e0be63abe740d7dbdd7d8a4a17eeb (patch) | |
tree | e898640d1ed1525b050e38d9166682b0b4812b49 /config.sub | |
parent | 6d8d78827eeec670932247ebfde7bfe13adf7540 (diff) |
- (djm) Latest config.guess and config.sub from ftp://ftp.gnu.org/gnu/config/
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 272 |
1 files changed, 185 insertions, 87 deletions
diff --git a/config.sub b/config.sub index a06a480ad..9ff085efa 100755 --- a/config.sub +++ b/config.sub | |||
@@ -1,9 +1,9 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Configuration validation subroutine script. | 2 | # Configuration validation subroutine script. |
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 | # Free Software Foundation, Inc. | 4 | # 2000, 2001, 2002 Free Software Foundation, Inc. |
5 | 5 | ||
6 | timestamp='2001-04-20' | 6 | timestamp='2002-07-03' |
7 | 7 | ||
8 | # This file is (in principle) common to ALL GNU software. | 8 | # This file is (in principle) common to ALL GNU software. |
9 | # The presence of a machine in this file suggests that SOME GNU software | 9 | # The presence of a machine in this file suggests that SOME GNU software |
@@ -29,7 +29,8 @@ timestamp='2001-04-20' | |||
29 | # configuration script generated by Autoconf, you may include it under | 29 | # configuration script generated by Autoconf, you may include it under |
30 | # the same distribution terms that you use for the rest of that program. | 30 | # the same distribution terms that you use for the rest of that program. |
31 | 31 | ||
32 | # Please send patches to <config-patches@gnu.org>. | 32 | # Please send patches to <config-patches@gnu.org>. Submit a context |
33 | # diff and a properly formatted ChangeLog entry. | ||
33 | # | 34 | # |
34 | # Configuration subroutine to validate and canonicalize a configuration type. | 35 | # Configuration subroutine to validate and canonicalize a configuration type. |
35 | # Supply the specified configuration type as an argument. | 36 | # Supply the specified configuration type as an argument. |
@@ -117,7 +118,7 @@ esac | |||
117 | # Here we must recognize all the valid KERNEL-OS combinations. | 118 | # Here we must recognize all the valid KERNEL-OS combinations. |
118 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 119 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
119 | case $maybe_os in | 120 | case $maybe_os in |
120 | nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*) | 121 | nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) |
121 | os=-$maybe_os | 122 | os=-$maybe_os |
122 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 123 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
123 | ;; | 124 | ;; |
@@ -157,6 +158,14 @@ case $os in | |||
157 | os=-vxworks | 158 | os=-vxworks |
158 | basic_machine=$1 | 159 | basic_machine=$1 |
159 | ;; | 160 | ;; |
161 | -chorusos*) | ||
162 | os=-chorusos | ||
163 | basic_machine=$1 | ||
164 | ;; | ||
165 | -chorusrdb) | ||
166 | os=-chorusrdb | ||
167 | basic_machine=$1 | ||
168 | ;; | ||
160 | -hiux*) | 169 | -hiux*) |
161 | os=-hiuxwe2 | 170 | os=-hiuxwe2 |
162 | ;; | 171 | ;; |
@@ -215,26 +224,44 @@ esac | |||
215 | case $basic_machine in | 224 | case $basic_machine in |
216 | # Recognize the basic CPU types without company name. | 225 | # Recognize the basic CPU types without company name. |
217 | # Some are omitted here because they have special meanings below. | 226 | # Some are omitted here because they have special meanings below. |
218 | tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \ | 227 | 1750a | 580 \ |
219 | | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \ | 228 | | a29k \ |
220 | | pyramid | mn10200 | mn10300 | tron | a29k \ | 229 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
221 | | 580 | i960 | h8300 \ | 230 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
222 | | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ | 231 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ |
223 | | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ | 232 | | c4x | clipper \ |
224 | | hppa64 \ | 233 | | d10v | d30v | dlx | dsp16xx \ |
225 | | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ | 234 | | fr30 | frv \ |
226 | | alphaev6[78] \ | 235 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
227 | | we32k | ns16k | clipper | i370 | sh | sh[34] \ | 236 | | i370 | i860 | i960 | ia64 \ |
228 | | powerpc | powerpcle \ | 237 | | ip2k \ |
229 | | 1750a | dsp16xx | pdp10 | pdp11 \ | 238 | | m32r | m68000 | m68k | m88k | mcore \ |
230 | | mips16 | mips64 | mipsel | mips64el \ | 239 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
231 | | mips64orion | mips64orionel | mipstx39 | mipstx39el \ | 240 | | mips16 \ |
232 | | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ | 241 | | mips64 | mips64el \ |
233 | | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \ | 242 | | mips64orion | mips64orionel \ |
234 | | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \ | 243 | | mips64vr4100 | mips64vr4100el \ |
235 | | v850 | c4x \ | 244 | | mips64vr4300 | mips64vr4300el \ |
236 | | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \ | 245 | | mips64vr5000 | mips64vr5000el \ |
237 | | pj | pjl | h8500) | 246 | | mipsisa32 | mipsisa32el \ |
247 | | mipsisa64 | mipsisa64el \ | ||
248 | | mipsisa64sb1 | mipsisa64sb1el \ | ||
249 | | mipstx39 | mipstx39el \ | ||
250 | | mn10200 | mn10300 \ | ||
251 | | ns16k | ns32k \ | ||
252 | | openrisc | or32 \ | ||
253 | | pdp10 | pdp11 | pj | pjl \ | ||
254 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | ||
255 | | pyramid \ | ||
256 | | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | ||
257 | | sh64 | sh64le \ | ||
258 | | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ | ||
259 | | strongarm \ | ||
260 | | tahoe | thumb | tic80 | tron \ | ||
261 | | v850 | v850e \ | ||
262 | | we32k \ | ||
263 | | x86 | xscale | xstormy16 | xtensa \ | ||
264 | | z8k) | ||
238 | basic_machine=$basic_machine-unknown | 265 | basic_machine=$basic_machine-unknown |
239 | ;; | 266 | ;; |
240 | m6811 | m68hc11 | m6812 | m68hc12) | 267 | m6811 | m68hc11 | m6812 | m68hc12) |
@@ -242,7 +269,7 @@ case $basic_machine in | |||
242 | basic_machine=$basic_machine-unknown | 269 | basic_machine=$basic_machine-unknown |
243 | os=-none | 270 | os=-none |
244 | ;; | 271 | ;; |
245 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65) | 272 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
246 | ;; | 273 | ;; |
247 | 274 | ||
248 | # We use `pc' rather than `unknown' | 275 | # We use `pc' rather than `unknown' |
@@ -257,31 +284,54 @@ case $basic_machine in | |||
257 | exit 1 | 284 | exit 1 |
258 | ;; | 285 | ;; |
259 | # Recognize the basic CPU types with company name. | 286 | # Recognize the basic CPU types with company name. |
260 | # FIXME: clean up the formatting here. | 287 | 580-* \ |
261 | vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ | 288 | | a29k-* \ |
262 | | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ | 289 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
263 | | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ | 290 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
264 | | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | 291 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
265 | | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ | 292 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
266 | | xmp-* | ymp-* \ | 293 | | avr-* \ |
267 | | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ | 294 | | bs2000-* \ |
268 | | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ | 295 | | c[123]* | c30-* | [cjt]90-* | c54x-* \ |
269 | | hppa2.0n-* | hppa64-* \ | 296 | | clipper-* | cydra-* \ |
270 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ | 297 | | d10v-* | d30v-* | dlx-* \ |
271 | | alphaev6[78]-* \ | 298 | | elxsi-* \ |
272 | | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ | 299 | | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
273 | | clipper-* | orion-* \ | 300 | | h8300-* | h8500-* \ |
274 | | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ | 301 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
275 | | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \ | 302 | | i*86-* | i860-* | i960-* | ia64-* \ |
276 | | mips16-* | mips64-* | mipsel-* \ | 303 | | ip2k-* \ |
277 | | mips64el-* | mips64orion-* | mips64orionel-* \ | 304 | | m32r-* \ |
278 | | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ | 305 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
279 | | mipstx39-* | mipstx39el-* | mcore-* \ | 306 | | m88110-* | m88k-* | mcore-* \ |
280 | | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \ | 307 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
281 | | [cjt]90-* \ | 308 | | mips16-* \ |
282 | | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ | 309 | | mips64-* | mips64el-* \ |
283 | | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \ | 310 | | mips64orion-* | mips64orionel-* \ |
284 | | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*) | 311 | | mips64vr4100-* | mips64vr4100el-* \ |
312 | | mips64vr4300-* | mips64vr4300el-* \ | ||
313 | | mips64vr5000-* | mips64vr5000el-* \ | ||
314 | | mipsisa32-* | mipsisa32el-* \ | ||
315 | | mipsisa64-* | mipsisa64el-* \ | ||
316 | | mipsisa64sb1-* | mipsisa64sb1el-* \ | ||
317 | | mipstx39 | mipstx39el \ | ||
318 | | none-* | np1-* | ns16k-* | ns32k-* \ | ||
319 | | orion-* \ | ||
320 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | ||
321 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | ||
322 | | pyramid-* \ | ||
323 | | romp-* | rs6000-* \ | ||
324 | | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ | ||
325 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | ||
326 | | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | ||
327 | | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | ||
328 | | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ | ||
329 | | v850-* | v850e-* | vax-* \ | ||
330 | | we32k-* \ | ||
331 | | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ | ||
332 | | xtensa-* \ | ||
333 | | ymp-* \ | ||
334 | | z8k-*) | ||
285 | ;; | 335 | ;; |
286 | # Recognize the various machine names and aliases which stand | 336 | # Recognize the various machine names and aliases which stand |
287 | # for a CPU type and a company and sometimes even an OS. | 337 | # for a CPU type and a company and sometimes even an OS. |
@@ -344,6 +394,10 @@ case $basic_machine in | |||
344 | basic_machine=ns32k-sequent | 394 | basic_machine=ns32k-sequent |
345 | os=-dynix | 395 | os=-dynix |
346 | ;; | 396 | ;; |
397 | c90) | ||
398 | basic_machine=c90-cray | ||
399 | os=-unicos | ||
400 | ;; | ||
347 | convex-c1) | 401 | convex-c1) |
348 | basic_machine=c1-convex | 402 | basic_machine=c1-convex |
349 | os=-bsd | 403 | os=-bsd |
@@ -364,16 +418,8 @@ case $basic_machine in | |||
364 | basic_machine=c38-convex | 418 | basic_machine=c38-convex |
365 | os=-bsd | 419 | os=-bsd |
366 | ;; | 420 | ;; |
367 | cray | ymp) | 421 | cray | j90) |
368 | basic_machine=ymp-cray | 422 | basic_machine=j90-cray |
369 | os=-unicos | ||
370 | ;; | ||
371 | cray2) | ||
372 | basic_machine=cray2-cray | ||
373 | os=-unicos | ||
374 | ;; | ||
375 | [cjt]90) | ||
376 | basic_machine=${basic_machine}-cray | ||
377 | os=-unicos | 423 | os=-unicos |
378 | ;; | 424 | ;; |
379 | crds | unos) | 425 | crds | unos) |
@@ -388,6 +434,14 @@ case $basic_machine in | |||
388 | decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) | 434 | decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) |
389 | basic_machine=mips-dec | 435 | basic_machine=mips-dec |
390 | ;; | 436 | ;; |
437 | decsystem10* | dec10*) | ||
438 | basic_machine=pdp10-dec | ||
439 | os=-tops10 | ||
440 | ;; | ||
441 | decsystem20* | dec20*) | ||
442 | basic_machine=pdp10-dec | ||
443 | os=-tops20 | ||
444 | ;; | ||
391 | delta | 3300 | motorola-3300 | motorola-delta \ | 445 | delta | 3300 | motorola-3300 | motorola-delta \ |
392 | | 3300-motorola | delta-motorola) | 446 | | 3300-motorola | delta-motorola) |
393 | basic_machine=m68k-motorola | 447 | basic_machine=m68k-motorola |
@@ -568,14 +622,6 @@ case $basic_machine in | |||
568 | basic_machine=m68k-atari | 622 | basic_machine=m68k-atari |
569 | os=-mint | 623 | os=-mint |
570 | ;; | 624 | ;; |
571 | mipsel*-linux*) | ||
572 | basic_machine=mipsel-unknown | ||
573 | os=-linux-gnu | ||
574 | ;; | ||
575 | mips*-linux*) | ||
576 | basic_machine=mips-unknown | ||
577 | os=-linux-gnu | ||
578 | ;; | ||
579 | mips3*-*) | 625 | mips3*-*) |
580 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | 626 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
581 | ;; | 627 | ;; |
@@ -590,6 +636,10 @@ case $basic_machine in | |||
590 | basic_machine=m68k-rom68k | 636 | basic_machine=m68k-rom68k |
591 | os=-coff | 637 | os=-coff |
592 | ;; | 638 | ;; |
639 | morphos) | ||
640 | basic_machine=powerpc-unknown | ||
641 | os=-morphos | ||
642 | ;; | ||
593 | msdos) | 643 | msdos) |
594 | basic_machine=i386-pc | 644 | basic_machine=i386-pc |
595 | os=-msdos | 645 | os=-msdos |
@@ -669,6 +719,10 @@ case $basic_machine in | |||
669 | basic_machine=hppa1.1-oki | 719 | basic_machine=hppa1.1-oki |
670 | os=-proelf | 720 | os=-proelf |
671 | ;; | 721 | ;; |
722 | or32 | or32-*) | ||
723 | basic_machine=or32-unknown | ||
724 | os=-coff | ||
725 | ;; | ||
672 | OSE68000 | ose68000) | 726 | OSE68000 | ose68000) |
673 | basic_machine=m68000-ericsson | 727 | basic_machine=m68000-ericsson |
674 | os=-ose | 728 | os=-ose |
@@ -694,7 +748,7 @@ case $basic_machine in | |||
694 | pc532 | pc532-*) | 748 | pc532 | pc532-*) |
695 | basic_machine=ns32k-pc532 | 749 | basic_machine=ns32k-pc532 |
696 | ;; | 750 | ;; |
697 | pentium | p5 | k5 | k6 | nexgen) | 751 | pentium | p5 | k5 | k6 | nexgen | viac3) |
698 | basic_machine=i586-pc | 752 | basic_machine=i586-pc |
699 | ;; | 753 | ;; |
700 | pentiumpro | p6 | 6x86 | athlon) | 754 | pentiumpro | p6 | 6x86 | athlon) |
@@ -703,7 +757,7 @@ case $basic_machine in | |||
703 | pentiumii | pentium2) | 757 | pentiumii | pentium2) |
704 | basic_machine=i686-pc | 758 | basic_machine=i686-pc |
705 | ;; | 759 | ;; |
706 | pentium-* | p5-* | k5-* | k6-* | nexgen-*) | 760 | pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
707 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | 761 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
708 | ;; | 762 | ;; |
709 | pentiumpro-* | p6-* | 6x86-* | athlon-*) | 763 | pentiumpro-* | p6-* | 6x86-* | athlon-*) |
@@ -727,6 +781,16 @@ case $basic_machine in | |||
727 | ppcle-* | powerpclittle-*) | 781 | ppcle-* | powerpclittle-*) |
728 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | 782 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` |
729 | ;; | 783 | ;; |
784 | ppc64) basic_machine=powerpc64-unknown | ||
785 | ;; | ||
786 | ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
787 | ;; | ||
788 | ppc64le | powerpc64little | ppc64-le | powerpc64-little) | ||
789 | basic_machine=powerpc64le-unknown | ||
790 | ;; | ||
791 | ppc64le-* | powerpc64little-*) | ||
792 | basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
793 | ;; | ||
730 | ps2) | 794 | ps2) |
731 | basic_machine=i386-ibm | 795 | basic_machine=i386-ibm |
732 | ;; | 796 | ;; |
@@ -744,6 +808,12 @@ case $basic_machine in | |||
744 | rtpc | rtpc-*) | 808 | rtpc | rtpc-*) |
745 | basic_machine=romp-ibm | 809 | basic_machine=romp-ibm |
746 | ;; | 810 | ;; |
811 | s390 | s390-*) | ||
812 | basic_machine=s390-ibm | ||
813 | ;; | ||
814 | s390x | s390x-*) | ||
815 | basic_machine=s390x-ibm | ||
816 | ;; | ||
747 | sa29200) | 817 | sa29200) |
748 | basic_machine=a29k-amd | 818 | basic_machine=a29k-amd |
749 | os=-udi | 819 | os=-udi |
@@ -755,7 +825,7 @@ case $basic_machine in | |||
755 | basic_machine=sh-hitachi | 825 | basic_machine=sh-hitachi |
756 | os=-hms | 826 | os=-hms |
757 | ;; | 827 | ;; |
758 | sparclite-wrs) | 828 | sparclite-wrs | simso-wrs) |
759 | basic_machine=sparclite-wrs | 829 | basic_machine=sparclite-wrs |
760 | os=-vxworks | 830 | os=-vxworks |
761 | ;; | 831 | ;; |
@@ -813,7 +883,7 @@ case $basic_machine in | |||
813 | sun386 | sun386i | roadrunner) | 883 | sun386 | sun386i | roadrunner) |
814 | basic_machine=i386-sun | 884 | basic_machine=i386-sun |
815 | ;; | 885 | ;; |
816 | sv1) | 886 | sv1) |
817 | basic_machine=sv1-cray | 887 | basic_machine=sv1-cray |
818 | os=-unicos | 888 | os=-unicos |
819 | ;; | 889 | ;; |
@@ -821,8 +891,16 @@ case $basic_machine in | |||
821 | basic_machine=i386-sequent | 891 | basic_machine=i386-sequent |
822 | os=-dynix | 892 | os=-dynix |
823 | ;; | 893 | ;; |
894 | t3d) | ||
895 | basic_machine=alpha-cray | ||
896 | os=-unicos | ||
897 | ;; | ||
824 | t3e) | 898 | t3e) |
825 | basic_machine=t3e-cray | 899 | basic_machine=alphaev5-cray |
900 | os=-unicos | ||
901 | ;; | ||
902 | t90) | ||
903 | basic_machine=t90-cray | ||
826 | os=-unicos | 904 | os=-unicos |
827 | ;; | 905 | ;; |
828 | tic54x | c54x*) | 906 | tic54x | c54x*) |
@@ -835,6 +913,10 @@ case $basic_machine in | |||
835 | tx39el) | 913 | tx39el) |
836 | basic_machine=mipstx39el-unknown | 914 | basic_machine=mipstx39el-unknown |
837 | ;; | 915 | ;; |
916 | toad1) | ||
917 | basic_machine=pdp10-xkl | ||
918 | os=-tops20 | ||
919 | ;; | ||
838 | tower | tower-32) | 920 | tower | tower-32) |
839 | basic_machine=m68k-ncr | 921 | basic_machine=m68k-ncr |
840 | ;; | 922 | ;; |
@@ -881,13 +963,17 @@ case $basic_machine in | |||
881 | basic_machine=hppa1.1-winbond | 963 | basic_machine=hppa1.1-winbond |
882 | os=-proelf | 964 | os=-proelf |
883 | ;; | 965 | ;; |
884 | xmp) | 966 | windows32) |
885 | basic_machine=xmp-cray | 967 | basic_machine=i386-pc |
886 | os=-unicos | 968 | os=-windows32-msvcrt |
887 | ;; | 969 | ;; |
888 | xps | xps100) | 970 | xps | xps100) |
889 | basic_machine=xps100-honeywell | 971 | basic_machine=xps100-honeywell |
890 | ;; | 972 | ;; |
973 | ymp) | ||
974 | basic_machine=ymp-cray | ||
975 | os=-unicos | ||
976 | ;; | ||
891 | z8k-*-coff) | 977 | z8k-*-coff) |
892 | basic_machine=z8k-unknown | 978 | basic_machine=z8k-unknown |
893 | os=-sim | 979 | os=-sim |
@@ -908,13 +994,6 @@ case $basic_machine in | |||
908 | op60c) | 994 | op60c) |
909 | basic_machine=hppa1.1-oki | 995 | basic_machine=hppa1.1-oki |
910 | ;; | 996 | ;; |
911 | mips) | ||
912 | if [ x$os = x-linux-gnu ]; then | ||
913 | basic_machine=mips-unknown | ||
914 | else | ||
915 | basic_machine=mips-mips | ||
916 | fi | ||
917 | ;; | ||
918 | romp) | 997 | romp) |
919 | basic_machine=romp-ibm | 998 | basic_machine=romp-ibm |
920 | ;; | 999 | ;; |
@@ -934,9 +1013,12 @@ case $basic_machine in | |||
934 | we32k) | 1013 | we32k) |
935 | basic_machine=we32k-att | 1014 | basic_machine=we32k-att |
936 | ;; | 1015 | ;; |
937 | sh3 | sh4) | 1016 | sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) |
938 | basic_machine=sh-unknown | 1017 | basic_machine=sh-unknown |
939 | ;; | 1018 | ;; |
1019 | sh64) | ||
1020 | basic_machine=sh64-unknown | ||
1021 | ;; | ||
940 | sparc | sparcv9 | sparcv9b) | 1022 | sparc | sparcv9 | sparcv9b) |
941 | basic_machine=sparc-sun | 1023 | basic_machine=sparc-sun |
942 | ;; | 1024 | ;; |
@@ -1018,11 +1100,14 @@ case $os in | |||
1018 | | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1100 | | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1019 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1101 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1020 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1102 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1103 | | -chorusos* | -chorusrdb* \ | ||
1021 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1104 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1022 | | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | 1105 | | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
1023 | | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | 1106 | | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ |
1024 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1107 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1025 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) | 1108 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1109 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | ||
1110 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) | ||
1026 | # Remember, each alternative MUST END IN *, to match a version number. | 1111 | # Remember, each alternative MUST END IN *, to match a version number. |
1027 | ;; | 1112 | ;; |
1028 | -qnx*) | 1113 | -qnx*) |
@@ -1074,12 +1159,18 @@ case $os in | |||
1074 | -acis*) | 1159 | -acis*) |
1075 | os=-aos | 1160 | os=-aos |
1076 | ;; | 1161 | ;; |
1162 | -atheos*) | ||
1163 | os=-atheos | ||
1164 | ;; | ||
1077 | -386bsd) | 1165 | -386bsd) |
1078 | os=-bsd | 1166 | os=-bsd |
1079 | ;; | 1167 | ;; |
1080 | -ctix* | -uts*) | 1168 | -ctix* | -uts*) |
1081 | os=-sysv | 1169 | os=-sysv |
1082 | ;; | 1170 | ;; |
1171 | -nova*) | ||
1172 | os=-rtmk-nova | ||
1173 | ;; | ||
1083 | -ns2 ) | 1174 | -ns2 ) |
1084 | os=-nextstep2 | 1175 | os=-nextstep2 |
1085 | ;; | 1176 | ;; |
@@ -1154,6 +1245,7 @@ case $basic_machine in | |||
1154 | arm*-semi) | 1245 | arm*-semi) |
1155 | os=-aout | 1246 | os=-aout |
1156 | ;; | 1247 | ;; |
1248 | # This must come before the *-dec entry. | ||
1157 | pdp10-*) | 1249 | pdp10-*) |
1158 | os=-tops20 | 1250 | os=-tops20 |
1159 | ;; | 1251 | ;; |
@@ -1184,6 +1276,9 @@ case $basic_machine in | |||
1184 | mips*-*) | 1276 | mips*-*) |
1185 | os=-elf | 1277 | os=-elf |
1186 | ;; | 1278 | ;; |
1279 | or32-*) | ||
1280 | os=-coff | ||
1281 | ;; | ||
1187 | *-tti) # must be before sparc entry or we get the wrong os. | 1282 | *-tti) # must be before sparc entry or we get the wrong os. |
1188 | os=-sysv3 | 1283 | os=-sysv3 |
1189 | ;; | 1284 | ;; |
@@ -1331,7 +1426,7 @@ case $basic_machine in | |||
1331 | -ptx*) | 1426 | -ptx*) |
1332 | vendor=sequent | 1427 | vendor=sequent |
1333 | ;; | 1428 | ;; |
1334 | -vxsim* | -vxworks*) | 1429 | -vxsim* | -vxworks* | -windiss*) |
1335 | vendor=wrs | 1430 | vendor=wrs |
1336 | ;; | 1431 | ;; |
1337 | -aux*) | 1432 | -aux*) |
@@ -1346,6 +1441,9 @@ case $basic_machine in | |||
1346 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) | 1441 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1347 | vendor=atari | 1442 | vendor=atari |
1348 | ;; | 1443 | ;; |
1444 | -vos*) | ||
1445 | vendor=stratus | ||
1446 | ;; | ||
1349 | esac | 1447 | esac |
1350 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | 1448 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` |
1351 | ;; | 1449 | ;; |