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 Free Software Foundation, Inc. |
# 2000, 2001, 2002 Free Software Foundation, Inc. |
5 |
|
|
6 |
timestamp='2002-02-01' |
timestamp='2002-02-22' |
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 |
118 |
# Here we must recognize all the valid KERNEL-OS combinations. |
# Here we must recognize all the valid KERNEL-OS combinations. |
119 |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
120 |
case $maybe_os in |
case $maybe_os in |
121 |
nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) |
nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) |
122 |
os=-$maybe_os |
os=-$maybe_os |
123 |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
124 |
;; |
;; |
235 |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
236 |
| i370 | i860 | i960 | ia64 \ |
| i370 | i860 | i960 | ia64 \ |
237 |
| m32r | m68000 | m68k | m88k | mcore \ |
| m32r | m68000 | m68k | m88k | mcore \ |
238 |
| mips16 | mips64 | mips64el | mips64orion | mips64orionel \ |
| mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \ |
239 |
| mips64vr4100 | mips64vr4100el | mips64vr4300 \ |
| mips64vr4100 | mips64vr4100el | mips64vr4300 \ |
240 |
| mips64vr4300el | mips64vr5000 | mips64vr5000el \ |
| mips64vr4300el | mips64vr5000 | mips64vr5000el \ |
241 |
| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ |
| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ |
285 |
| avr-* \ |
| avr-* \ |
286 |
| bs2000-* \ |
| bs2000-* \ |
287 |
| c[123]* | c30-* | [cjt]90-* | c54x-* \ |
| c[123]* | c30-* | [cjt]90-* | c54x-* \ |
288 |
| clipper-* | cray2-* | cydra-* \ |
| clipper-* | cydra-* \ |
289 |
| d10v-* | d30v-* \ |
| d10v-* | d30v-* \ |
290 |
| elxsi-* \ |
| elxsi-* \ |
291 |
| f30[01]-* | f700-* | fr30-* | fx80-* \ |
| f30[01]-* | f700-* | fr30-* | fx80-* \ |
293 |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
294 |
| i*86-* | i860-* | i960-* | ia64-* \ |
| i*86-* | i860-* | i960-* | ia64-* \ |
295 |
| m32r-* \ |
| m32r-* \ |
296 |
| m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \ |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
297 |
| m88110-* | m88k-* | mcore-* \ |
| m88110-* | m88k-* | mcore-* \ |
298 |
| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ |
| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ |
299 |
| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ |
| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ |
307 |
| romp-* | rs6000-* \ |
| romp-* | rs6000-* \ |
308 |
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \ |
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \ |
309 |
| sparc-* | sparc64-* | sparc86x-* | sparclite-* \ |
| sparc-* | sparc64-* | sparc86x-* | sparclite-* \ |
310 |
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \ |
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
311 |
| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ |
| tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ |
312 |
| v850-* | v850e-* | vax-* \ |
| v850-* | v850e-* | vax-* \ |
313 |
| we32k-* \ |
| we32k-* \ |
314 |
| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* | xstormy16-* \ |
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ |
315 |
| xtensa-* \ |
| xtensa-* \ |
316 |
| ymp-* \ |
| ymp-* \ |
317 |
| z8k-*) |
| z8k-*) |
377 |
basic_machine=ns32k-sequent |
basic_machine=ns32k-sequent |
378 |
os=-dynix |
os=-dynix |
379 |
;; |
;; |
380 |
|
c90) |
381 |
|
basic_machine=c90-cray |
382 |
|
os=-unicos |
383 |
|
;; |
384 |
convex-c1) |
convex-c1) |
385 |
basic_machine=c1-convex |
basic_machine=c1-convex |
386 |
os=-bsd |
os=-bsd |
401 |
basic_machine=c38-convex |
basic_machine=c38-convex |
402 |
os=-bsd |
os=-bsd |
403 |
;; |
;; |
404 |
cray | ymp) |
cray | j90) |
405 |
basic_machine=ymp-cray |
basic_machine=j90-cray |
|
os=-unicos |
|
|
;; |
|
|
cray2) |
|
|
basic_machine=cray2-cray |
|
|
os=-unicos |
|
|
;; |
|
|
[cjt]90) |
|
|
basic_machine=${basic_machine}-cray |
|
406 |
os=-unicos |
os=-unicos |
407 |
;; |
;; |
408 |
crds | unos) |
crds | unos) |
605 |
basic_machine=m68k-atari |
basic_machine=m68k-atari |
606 |
os=-mint |
os=-mint |
607 |
;; |
;; |
|
mipsel*-linux*) |
|
|
basic_machine=mipsel-unknown |
|
|
os=-linux-gnu |
|
|
;; |
|
|
mips*-linux*) |
|
|
basic_machine=mips-unknown |
|
|
os=-linux-gnu |
|
|
;; |
|
608 |
mips3*-*) |
mips3*-*) |
609 |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
610 |
;; |
;; |
866 |
sun386 | sun386i | roadrunner) |
sun386 | sun386i | roadrunner) |
867 |
basic_machine=i386-sun |
basic_machine=i386-sun |
868 |
;; |
;; |
869 |
sv1) |
sv1) |
870 |
basic_machine=sv1-cray |
basic_machine=sv1-cray |
871 |
os=-unicos |
os=-unicos |
872 |
;; |
;; |
874 |
basic_machine=i386-sequent |
basic_machine=i386-sequent |
875 |
os=-dynix |
os=-dynix |
876 |
;; |
;; |
877 |
|
t3d) |
878 |
|
basic_machine=alpha-cray |
879 |
|
os=-unicos |
880 |
|
;; |
881 |
t3e) |
t3e) |
882 |
basic_machine=t3e-cray |
basic_machine=alphaev5-cray |
883 |
|
os=-unicos |
884 |
|
;; |
885 |
|
t90) |
886 |
|
basic_machine=t90-cray |
887 |
os=-unicos |
os=-unicos |
888 |
;; |
;; |
889 |
tic54x | c54x*) |
tic54x | c54x*) |
950 |
basic_machine=i386-pc |
basic_machine=i386-pc |
951 |
os=-windows32-msvcrt |
os=-windows32-msvcrt |
952 |
;; |
;; |
|
xmp) |
|
|
basic_machine=xmp-cray |
|
|
os=-unicos |
|
|
;; |
|
953 |
xps | xps100) |
xps | xps100) |
954 |
basic_machine=xps100-honeywell |
basic_machine=xps100-honeywell |
955 |
;; |
;; |
956 |
|
ymp) |
957 |
|
basic_machine=ymp-cray |
958 |
|
os=-unicos |
959 |
|
;; |
960 |
z8k-*-coff) |
z8k-*-coff) |
961 |
basic_machine=z8k-unknown |
basic_machine=z8k-unknown |
962 |
os=-sim |
os=-sim |
977 |
op60c) |
op60c) |
978 |
basic_machine=hppa1.1-oki |
basic_machine=hppa1.1-oki |
979 |
;; |
;; |
|
mips) |
|
|
if [ x$os = x-linux-gnu ]; then |
|
|
basic_machine=mips-unknown |
|
|
else |
|
|
basic_machine=mips-mips |
|
|
fi |
|
|
;; |
|
980 |
romp) |
romp) |
981 |
basic_machine=romp-ibm |
basic_machine=romp-ibm |
982 |
;; |
;; |
1089 |
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ |
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ |
1090 |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1091 |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1092 |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* | -morphos*) |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1093 |
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova*) |
1094 |
# Remember, each alternative MUST END IN *, to match a version number. |
# Remember, each alternative MUST END IN *, to match a version number. |
1095 |
;; |
;; |
1096 |
-qnx*) |
-qnx*) |
1151 |
-ctix* | -uts*) |
-ctix* | -uts*) |
1152 |
os=-sysv |
os=-sysv |
1153 |
;; |
;; |
1154 |
|
-nova*) |
1155 |
|
os=-rtmk-nova |
1156 |
|
;; |
1157 |
-ns2 ) |
-ns2 ) |
1158 |
os=-nextstep2 |
os=-nextstep2 |
1159 |
;; |
;; |