1 |
#! /bin/sh |
#! /bin/sh |
2 |
# Configuration validation subroutine script. |
# Configuration validation subroutine script. |
3 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 |
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
5 |
|
|
6 |
timestamp='2004-01-05' |
timestamp='2004-11-30' |
7 |
|
|
8 |
# This file is (in principle) common to ALL GNU software. |
# This file is (in principle) common to ALL GNU software. |
9 |
# The presence of a machine in this file suggests that SOME GNU software |
# The presence of a machine in this file suggests that SOME GNU software |
70 |
version="\ |
version="\ |
71 |
GNU config.sub ($timestamp) |
GNU config.sub ($timestamp) |
72 |
|
|
73 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 |
74 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
75 |
|
|
76 |
This is free software; see the source for copying conditions. There is NO |
This is free software; see the source for copying conditions. There is NO |
145 |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
146 |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
147 |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
148 |
-apple | -axis) |
-apple | -axis | -knuth | -cray) |
149 |
os= |
os= |
150 |
basic_machine=$1 |
basic_machine=$1 |
151 |
;; |
;; |
237 |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
238 |
| i370 | i860 | i960 | ia64 \ |
| i370 | i860 | i960 | ia64 \ |
239 |
| ip2k | iq2000 \ |
| ip2k | iq2000 \ |
240 |
| m32r | m68000 | m68k | m88k | mcore \ |
| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ |
241 |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
242 |
| mips16 \ |
| mips16 \ |
243 |
| mips64 | mips64el \ |
| mips64 | mips64el \ |
262 |
| pyramid \ |
| pyramid \ |
263 |
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
264 |
| sh64 | sh64le \ |
| sh64 | sh64le \ |
265 |
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ |
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ |
266 |
| strongarm \ |
| strongarm \ |
267 |
| tahoe | thumb | tic4x | tic80 | tron \ |
| tahoe | thumb | tic4x | tic80 | tron \ |
268 |
| v850 | v850e \ |
| v850 | v850e \ |
269 |
| we32k \ |
| we32k \ |
270 |
| x86 | xscale | xstormy16 | xtensa \ |
| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ |
271 |
| z8k) |
| z8k) |
272 |
basic_machine=$basic_machine-unknown |
basic_machine=$basic_machine-unknown |
273 |
;; |
;; |
300 |
| avr-* \ |
| avr-* \ |
301 |
| bs2000-* \ |
| bs2000-* \ |
302 |
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
303 |
| clipper-* | cydra-* \ |
| clipper-* | craynv-* | cydra-* \ |
304 |
| d10v-* | d30v-* | dlx-* \ |
| d10v-* | d30v-* | dlx-* \ |
305 |
| elxsi-* \ |
| elxsi-* \ |
306 |
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
308 |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
309 |
| i*86-* | i860-* | i960-* | ia64-* \ |
| i*86-* | i860-* | i960-* | ia64-* \ |
310 |
| ip2k-* | iq2000-* \ |
| ip2k-* | iq2000-* \ |
311 |
| m32r-* \ |
| m32r-* | m32rle-* \ |
312 |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
313 |
| m88110-* | m88k-* | mcore-* \ |
| m88110-* | m88k-* | maxq-* | mcore-* \ |
314 |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
315 |
| mips16-* \ |
| mips16-* \ |
316 |
| mips64-* | mips64el-* \ |
| mips64-* | mips64el-* \ |
326 |
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
327 |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
328 |
| mipstx39-* | mipstx39el-* \ |
| mipstx39-* | mipstx39el-* \ |
329 |
|
| mmix-* \ |
330 |
| msp430-* \ |
| msp430-* \ |
331 |
| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ |
| none-* | np1-* | ns16k-* | ns32k-* \ |
332 |
| orion-* \ |
| orion-* \ |
333 |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
334 |
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
337 |
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ |
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ |
338 |
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
339 |
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ |
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ |
340 |
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
341 |
| tahoe-* | thumb-* \ |
| tahoe-* | thumb-* \ |
342 |
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
343 |
| tron-* \ |
| tron-* \ |
344 |
| v850-* | v850e-* | vax-* \ |
| v850-* | v850e-* | vax-* \ |
345 |
| we32k-* \ |
| we32k-* \ |
346 |
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ |
| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ |
347 |
| xtensa-* \ |
| xstormy16-* | xtensa-* \ |
348 |
| ymp-* \ |
| ymp-* \ |
349 |
| z8k-*) |
| z8k-*) |
350 |
;; |
;; |
364 |
basic_machine=a29k-amd |
basic_machine=a29k-amd |
365 |
os=-udi |
os=-udi |
366 |
;; |
;; |
367 |
|
abacus) |
368 |
|
basic_machine=abacus-unknown |
369 |
|
;; |
370 |
adobe68k) |
adobe68k) |
371 |
basic_machine=m68010-adobe |
basic_machine=m68010-adobe |
372 |
os=-scout |
os=-scout |
446 |
basic_machine=j90-cray |
basic_machine=j90-cray |
447 |
os=-unicos |
os=-unicos |
448 |
;; |
;; |
449 |
|
craynv) |
450 |
|
basic_machine=craynv-cray |
451 |
|
os=-unicosmp |
452 |
|
;; |
453 |
|
cr16c) |
454 |
|
basic_machine=cr16c-unknown |
455 |
|
os=-elf |
456 |
|
;; |
457 |
crds | unos) |
crds | unos) |
458 |
basic_machine=m68k-crds |
basic_machine=m68k-crds |
459 |
;; |
;; |
460 |
|
crisv32 | crisv32-* | etraxfs*) |
461 |
|
basic_machine=crisv32-axis |
462 |
|
;; |
463 |
cris | cris-* | etrax*) |
cris | cris-* | etrax*) |
464 |
basic_machine=cris-axis |
basic_machine=cris-axis |
465 |
;; |
;; |
466 |
|
crx) |
467 |
|
basic_machine=crx-unknown |
468 |
|
os=-elf |
469 |
|
;; |
470 |
da30 | da30-*) |
da30 | da30-*) |
471 |
basic_machine=m68k-da30 |
basic_machine=m68k-da30 |
472 |
;; |
;; |
489 |
basic_machine=m88k-motorola |
basic_machine=m88k-motorola |
490 |
os=-sysv3 |
os=-sysv3 |
491 |
;; |
;; |
492 |
|
djgpp) |
493 |
|
basic_machine=i586-pc |
494 |
|
os=-msdosdjgpp |
495 |
|
;; |
496 |
dpx20 | dpx20-*) |
dpx20 | dpx20-*) |
497 |
basic_machine=rs6000-bull |
basic_machine=rs6000-bull |
498 |
os=-bosx |
os=-bosx |
671 |
mips3*) |
mips3*) |
672 |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown |
673 |
;; |
;; |
|
mmix*) |
|
|
basic_machine=mmix-knuth |
|
|
os=-mmixware |
|
|
;; |
|
674 |
monitor) |
monitor) |
675 |
basic_machine=m68k-rom68k |
basic_machine=m68k-rom68k |
676 |
os=-coff |
os=-coff |
751 |
np1) |
np1) |
752 |
basic_machine=np1-gould |
basic_machine=np1-gould |
753 |
;; |
;; |
|
nv1) |
|
|
basic_machine=nv1-cray |
|
|
os=-unicosmp |
|
|
;; |
|
754 |
nsr-tandem) |
nsr-tandem) |
755 |
basic_machine=nsr-tandem |
basic_machine=nsr-tandem |
756 |
;; |
;; |
1033 |
basic_machine=hppa1.1-winbond |
basic_machine=hppa1.1-winbond |
1034 |
os=-proelf |
os=-proelf |
1035 |
;; |
;; |
1036 |
|
xbox) |
1037 |
|
basic_machine=i686-pc |
1038 |
|
os=-mingw32 |
1039 |
|
;; |
1040 |
xps | xps100) |
xps | xps100) |
1041 |
basic_machine=xps100-honeywell |
basic_machine=xps100-honeywell |
1042 |
;; |
;; |
1067 |
romp) |
romp) |
1068 |
basic_machine=romp-ibm |
basic_machine=romp-ibm |
1069 |
;; |
;; |
1070 |
|
mmix) |
1071 |
|
basic_machine=mmix-knuth |
1072 |
|
;; |
1073 |
rs6000) |
rs6000) |
1074 |
basic_machine=rs6000-ibm |
basic_machine=rs6000-ibm |
1075 |
;; |
;; |
1092 |
sh64) |
sh64) |
1093 |
basic_machine=sh64-unknown |
basic_machine=sh64-unknown |
1094 |
;; |
;; |
1095 |
sparc | sparcv9 | sparcv9b) |
sparc | sparcv8 | sparcv9 | sparcv9b) |
1096 |
basic_machine=sparc-sun |
basic_machine=sparc-sun |
1097 |
;; |
;; |
1098 |
cydra) |
cydra) |
1165 |
| -aos* \ |
| -aos* \ |
1166 |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1167 |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1168 |
| -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \ |
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ |
1169 |
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1170 |
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1171 |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1172 |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1173 |
| -chorusos* | -chorusrdb* \ |
| -chorusos* | -chorusrdb* \ |
1305 |
-kaos*) |
-kaos*) |
1306 |
os=-kaos |
os=-kaos |
1307 |
;; |
;; |
1308 |
|
-zvmoe) |
1309 |
|
os=-zvmoe |
1310 |
|
;; |
1311 |
-none) |
-none) |
1312 |
;; |
;; |
1313 |
*) |
*) |
1388 |
*-ibm) |
*-ibm) |
1389 |
os=-aix |
os=-aix |
1390 |
;; |
;; |
1391 |
|
*-knuth) |
1392 |
|
os=-mmixware |
1393 |
|
;; |
1394 |
*-wec) |
*-wec) |
1395 |
os=-proelf |
os=-proelf |
1396 |
;; |
;; |