| 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, 2000, 2001 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 4 |
# Free Software Foundation, Inc. |
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
| 5 |
|
|
| 6 |
timestamp='2001-04-20' |
timestamp='2003-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 |
| 29 |
# configuration script generated by Autoconf, you may include it under |
# configuration script generated by Autoconf, you may include it under |
| 30 |
# the same distribution terms that you use for the rest of that program. |
# the same distribution terms that you use for the rest of that program. |
| 31 |
|
|
| 32 |
# Please send patches to <config-patches@gnu.org>. |
# Please send patches to <config-patches@gnu.org>. Submit a context |
| 33 |
|
# diff and a properly formatted ChangeLog entry. |
| 34 |
# |
# |
| 35 |
# Configuration subroutine to validate and canonicalize a configuration type. |
# Configuration subroutine to validate and canonicalize a configuration type. |
| 36 |
# Supply the specified configuration type as an argument. |
# Supply the specified configuration type as an argument. |
| 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*) |
nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | 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 |
;; |
;; |
| 158 |
os=-vxworks |
os=-vxworks |
| 159 |
basic_machine=$1 |
basic_machine=$1 |
| 160 |
;; |
;; |
| 161 |
|
-chorusos*) |
| 162 |
|
os=-chorusos |
| 163 |
|
basic_machine=$1 |
| 164 |
|
;; |
| 165 |
|
-chorusrdb) |
| 166 |
|
os=-chorusrdb |
| 167 |
|
basic_machine=$1 |
| 168 |
|
;; |
| 169 |
-hiux*) |
-hiux*) |
| 170 |
os=-hiuxwe2 |
os=-hiuxwe2 |
| 171 |
;; |
;; |
| 224 |
case $basic_machine in |
case $basic_machine in |
| 225 |
# Recognize the basic CPU types without company name. |
# Recognize the basic CPU types without company name. |
| 226 |
# Some are omitted here because they have special meanings below. |
# Some are omitted here because they have special meanings below. |
| 227 |
tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \ |
1750a | 580 \ |
| 228 |
| arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \ |
| a29k \ |
| 229 |
| pyramid | mn10200 | mn10300 | tron | a29k \ |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
| 230 |
| 580 | i960 | h8300 \ |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
| 231 |
| x86 | ppcbe | mipsbe | mipsle | shbe | shle \ |
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ |
| 232 |
| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ |
| clipper \ |
| 233 |
| hppa64 \ |
| d10v | d30v | dlx | dsp16xx \ |
| 234 |
| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ |
| fr30 | frv \ |
| 235 |
| alphaev6[78] \ |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| 236 |
| we32k | ns16k | clipper | i370 | sh | sh[34] \ |
| i370 | i860 | i960 | ia64 \ |
| 237 |
| powerpc | powerpcle \ |
| ip2k \ |
| 238 |
| 1750a | dsp16xx | pdp10 | pdp11 \ |
| m32r | m68000 | m68k | m88k | mcore \ |
| 239 |
| mips16 | mips64 | mipsel | mips64el \ |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
| 240 |
| mips64orion | mips64orionel | mipstx39 | mipstx39el \ |
| mips16 \ |
| 241 |
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ |
| mips64 | mips64el \ |
| 242 |
| mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \ |
| mips64vr | mips64vrel \ |
| 243 |
| sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \ |
| mips64orion | mips64orionel \ |
| 244 |
| v850 | c4x \ |
| mips64vr4100 | mips64vr4100el \ |
| 245 |
| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \ |
| mips64vr4300 | mips64vr4300el \ |
| 246 |
| pj | pjl | h8500) |
| mips64vr5000 | mips64vr5000el \ |
| 247 |
|
| mipsisa32 | mipsisa32el \ |
| 248 |
|
| mipsisa32r2 | mipsisa32r2el \ |
| 249 |
|
| mipsisa64 | mipsisa64el \ |
| 250 |
|
| mipsisa64sb1 | mipsisa64sb1el \ |
| 251 |
|
| mipsisa64sr71k | mipsisa64sr71kel \ |
| 252 |
|
| mipstx39 | mipstx39el \ |
| 253 |
|
| mn10200 | mn10300 \ |
| 254 |
|
| msp430 \ |
| 255 |
|
| ns16k | ns32k \ |
| 256 |
|
| openrisc | or32 \ |
| 257 |
|
| pdp10 | pdp11 | pj | pjl \ |
| 258 |
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
| 259 |
|
| pyramid \ |
| 260 |
|
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
| 261 |
|
| sh64 | sh64le \ |
| 262 |
|
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ |
| 263 |
|
| strongarm \ |
| 264 |
|
| tahoe | thumb | tic80 | tron \ |
| 265 |
|
| v850 | v850e \ |
| 266 |
|
| we32k \ |
| 267 |
|
| x86 | xscale | xstormy16 | xtensa \ |
| 268 |
|
| z8k) |
| 269 |
basic_machine=$basic_machine-unknown |
basic_machine=$basic_machine-unknown |
| 270 |
;; |
;; |
| 271 |
m6811 | m68hc11 | m6812 | m68hc12) |
m6811 | m68hc11 | m6812 | m68hc12) |
| 273 |
basic_machine=$basic_machine-unknown |
basic_machine=$basic_machine-unknown |
| 274 |
os=-none |
os=-none |
| 275 |
;; |
;; |
| 276 |
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65) |
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
| 277 |
;; |
;; |
| 278 |
|
|
| 279 |
# We use `pc' rather than `unknown' |
# We use `pc' rather than `unknown' |
| 288 |
exit 1 |
exit 1 |
| 289 |
;; |
;; |
| 290 |
# Recognize the basic CPU types with company name. |
# Recognize the basic CPU types with company name. |
| 291 |
# FIXME: clean up the formatting here. |
580-* \ |
| 292 |
vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ |
| a29k-* \ |
| 293 |
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ |
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
| 294 |
| arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ |
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
| 295 |
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ |
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
| 296 |
| power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ |
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
| 297 |
| xmp-* | ymp-* \ |
| avr-* \ |
| 298 |
| x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ |
| bs2000-* \ |
| 299 |
| hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ |
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
| 300 |
| hppa2.0n-* | hppa64-* \ |
| clipper-* | cydra-* \ |
| 301 |
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ |
| d10v-* | d30v-* | dlx-* \ |
| 302 |
| alphaev6[78]-* \ |
| elxsi-* \ |
| 303 |
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ |
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
| 304 |
| clipper-* | orion-* \ |
| h8300-* | h8500-* \ |
| 305 |
| sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
| 306 |
| sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \ |
| i*86-* | i860-* | i960-* | ia64-* \ |
| 307 |
| mips16-* | mips64-* | mipsel-* \ |
| ip2k-* \ |
| 308 |
| mips64el-* | mips64orion-* | mips64orionel-* \ |
| m32r-* \ |
| 309 |
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
| 310 |
| mipstx39-* | mipstx39el-* | mcore-* \ |
| m88110-* | m88k-* | mcore-* \ |
| 311 |
| f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \ |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
| 312 |
| [cjt]90-* \ |
| mips16-* \ |
| 313 |
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ |
| mips64-* | mips64el-* \ |
| 314 |
| thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \ |
| mips64vr-* | mips64vrel-* \ |
| 315 |
| bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*) |
| mips64orion-* | mips64orionel-* \ |
| 316 |
|
| mips64vr4100-* | mips64vr4100el-* \ |
| 317 |
|
| mips64vr4300-* | mips64vr4300el-* \ |
| 318 |
|
| mips64vr5000-* | mips64vr5000el-* \ |
| 319 |
|
| mipsisa32-* | mipsisa32el-* \ |
| 320 |
|
| mipsisa32r2-* | mipsisa32r2el-* \ |
| 321 |
|
| mipsisa64-* | mipsisa64el-* \ |
| 322 |
|
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
| 323 |
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| 324 |
|
| mipstx39-* | mipstx39el-* \ |
| 325 |
|
| msp430-* \ |
| 326 |
|
| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ |
| 327 |
|
| orion-* \ |
| 328 |
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
| 329 |
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
| 330 |
|
| pyramid-* \ |
| 331 |
|
| romp-* | rs6000-* \ |
| 332 |
|
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ |
| 333 |
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
| 334 |
|
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ |
| 335 |
|
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
| 336 |
|
| tahoe-* | thumb-* \ |
| 337 |
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
| 338 |
|
| tron-* \ |
| 339 |
|
| v850-* | v850e-* | vax-* \ |
| 340 |
|
| we32k-* \ |
| 341 |
|
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ |
| 342 |
|
| xtensa-* \ |
| 343 |
|
| ymp-* \ |
| 344 |
|
| z8k-*) |
| 345 |
;; |
;; |
| 346 |
# Recognize the various machine names and aliases which stand |
# Recognize the various machine names and aliases which stand |
| 347 |
# for a CPU type and a company and sometimes even an OS. |
# for a CPU type and a company and sometimes even an OS. |
| 404 |
basic_machine=ns32k-sequent |
basic_machine=ns32k-sequent |
| 405 |
os=-dynix |
os=-dynix |
| 406 |
;; |
;; |
| 407 |
|
c90) |
| 408 |
|
basic_machine=c90-cray |
| 409 |
|
os=-unicos |
| 410 |
|
;; |
| 411 |
convex-c1) |
convex-c1) |
| 412 |
basic_machine=c1-convex |
basic_machine=c1-convex |
| 413 |
os=-bsd |
os=-bsd |
| 428 |
basic_machine=c38-convex |
basic_machine=c38-convex |
| 429 |
os=-bsd |
os=-bsd |
| 430 |
;; |
;; |
| 431 |
cray | ymp) |
cray | j90) |
| 432 |
basic_machine=ymp-cray |
basic_machine=j90-cray |
|
os=-unicos |
|
|
;; |
|
|
cray2) |
|
|
basic_machine=cray2-cray |
|
|
os=-unicos |
|
|
;; |
|
|
[cjt]90) |
|
|
basic_machine=${basic_machine}-cray |
|
| 433 |
os=-unicos |
os=-unicos |
| 434 |
;; |
;; |
| 435 |
crds | unos) |
crds | unos) |
| 444 |
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) |
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) |
| 445 |
basic_machine=mips-dec |
basic_machine=mips-dec |
| 446 |
;; |
;; |
| 447 |
|
decsystem10* | dec10*) |
| 448 |
|
basic_machine=pdp10-dec |
| 449 |
|
os=-tops10 |
| 450 |
|
;; |
| 451 |
|
decsystem20* | dec20*) |
| 452 |
|
basic_machine=pdp10-dec |
| 453 |
|
os=-tops20 |
| 454 |
|
;; |
| 455 |
delta | 3300 | motorola-3300 | motorola-delta \ |
delta | 3300 | motorola-3300 | motorola-delta \ |
| 456 |
| 3300-motorola | delta-motorola) |
| 3300-motorola | delta-motorola) |
| 457 |
basic_machine=m68k-motorola |
basic_machine=m68k-motorola |
| 632 |
basic_machine=m68k-atari |
basic_machine=m68k-atari |
| 633 |
os=-mint |
os=-mint |
| 634 |
;; |
;; |
|
mipsel*-linux*) |
|
|
basic_machine=mipsel-unknown |
|
|
os=-linux-gnu |
|
|
;; |
|
|
mips*-linux*) |
|
|
basic_machine=mips-unknown |
|
|
os=-linux-gnu |
|
|
;; |
|
| 635 |
mips3*-*) |
mips3*-*) |
| 636 |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
| 637 |
;; |
;; |
| 646 |
basic_machine=m68k-rom68k |
basic_machine=m68k-rom68k |
| 647 |
os=-coff |
os=-coff |
| 648 |
;; |
;; |
| 649 |
|
morphos) |
| 650 |
|
basic_machine=powerpc-unknown |
| 651 |
|
os=-morphos |
| 652 |
|
;; |
| 653 |
msdos) |
msdos) |
| 654 |
basic_machine=i386-pc |
basic_machine=i386-pc |
| 655 |
os=-msdos |
os=-msdos |
| 722 |
np1) |
np1) |
| 723 |
basic_machine=np1-gould |
basic_machine=np1-gould |
| 724 |
;; |
;; |
| 725 |
|
nv1) |
| 726 |
|
basic_machine=nv1-cray |
| 727 |
|
os=-unicosmp |
| 728 |
|
;; |
| 729 |
nsr-tandem) |
nsr-tandem) |
| 730 |
basic_machine=nsr-tandem |
basic_machine=nsr-tandem |
| 731 |
;; |
;; |
| 733 |
basic_machine=hppa1.1-oki |
basic_machine=hppa1.1-oki |
| 734 |
os=-proelf |
os=-proelf |
| 735 |
;; |
;; |
| 736 |
|
or32 | or32-*) |
| 737 |
|
basic_machine=or32-unknown |
| 738 |
|
os=-coff |
| 739 |
|
;; |
| 740 |
OSE68000 | ose68000) |
OSE68000 | ose68000) |
| 741 |
basic_machine=m68000-ericsson |
basic_machine=m68000-ericsson |
| 742 |
os=-ose |
os=-ose |
| 759 |
pbb) |
pbb) |
| 760 |
basic_machine=m68k-tti |
basic_machine=m68k-tti |
| 761 |
;; |
;; |
| 762 |
pc532 | pc532-*) |
pc532 | pc532-*) |
| 763 |
basic_machine=ns32k-pc532 |
basic_machine=ns32k-pc532 |
| 764 |
;; |
;; |
| 765 |
pentium | p5 | k5 | k6 | nexgen) |
pentium | p5 | k5 | k6 | nexgen | viac3) |
| 766 |
basic_machine=i586-pc |
basic_machine=i586-pc |
| 767 |
;; |
;; |
| 768 |
pentiumpro | p6 | 6x86 | athlon) |
pentiumpro | p6 | 6x86 | athlon | athlon_*) |
| 769 |
basic_machine=i686-pc |
basic_machine=i686-pc |
| 770 |
;; |
;; |
| 771 |
pentiumii | pentium2) |
pentiumii | pentium2) |
| 772 |
basic_machine=i686-pc |
basic_machine=i686-pc |
| 773 |
;; |
;; |
| 774 |
pentium-* | p5-* | k5-* | k6-* | nexgen-*) |
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
| 775 |
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 776 |
;; |
;; |
| 777 |
pentiumpro-* | p6-* | 6x86-* | athlon-*) |
pentiumpro-* | p6-* | 6x86-* | athlon-*) |
| 786 |
power) basic_machine=power-ibm |
power) basic_machine=power-ibm |
| 787 |
;; |
;; |
| 788 |
ppc) basic_machine=powerpc-unknown |
ppc) basic_machine=powerpc-unknown |
| 789 |
;; |
;; |
| 790 |
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 791 |
;; |
;; |
| 792 |
ppcle | powerpclittle | ppc-le | powerpc-little) |
ppcle | powerpclittle | ppc-le | powerpc-little) |
| 793 |
basic_machine=powerpcle-unknown |
basic_machine=powerpcle-unknown |
| 794 |
;; |
;; |
| 795 |
ppcle-* | powerpclittle-*) |
ppcle-* | powerpclittle-*) |
| 796 |
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` |
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 797 |
;; |
;; |
| 798 |
|
ppc64) basic_machine=powerpc64-unknown |
| 799 |
|
;; |
| 800 |
|
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 801 |
|
;; |
| 802 |
|
ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
| 803 |
|
basic_machine=powerpc64le-unknown |
| 804 |
|
;; |
| 805 |
|
ppc64le-* | powerpc64little-*) |
| 806 |
|
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 807 |
|
;; |
| 808 |
ps2) |
ps2) |
| 809 |
basic_machine=i386-ibm |
basic_machine=i386-ibm |
| 810 |
;; |
;; |
| 822 |
rtpc | rtpc-*) |
rtpc | rtpc-*) |
| 823 |
basic_machine=romp-ibm |
basic_machine=romp-ibm |
| 824 |
;; |
;; |
| 825 |
|
s390 | s390-*) |
| 826 |
|
basic_machine=s390-ibm |
| 827 |
|
;; |
| 828 |
|
s390x | s390x-*) |
| 829 |
|
basic_machine=s390x-ibm |
| 830 |
|
;; |
| 831 |
sa29200) |
sa29200) |
| 832 |
basic_machine=a29k-amd |
basic_machine=a29k-amd |
| 833 |
os=-udi |
os=-udi |
| 834 |
;; |
;; |
| 835 |
|
sb1) |
| 836 |
|
basic_machine=mipsisa64sb1-unknown |
| 837 |
|
;; |
| 838 |
|
sb1el) |
| 839 |
|
basic_machine=mipsisa64sb1el-unknown |
| 840 |
|
;; |
| 841 |
sequent) |
sequent) |
| 842 |
basic_machine=i386-sequent |
basic_machine=i386-sequent |
| 843 |
;; |
;; |
| 845 |
basic_machine=sh-hitachi |
basic_machine=sh-hitachi |
| 846 |
os=-hms |
os=-hms |
| 847 |
;; |
;; |
| 848 |
sparclite-wrs) |
sparclite-wrs | simso-wrs) |
| 849 |
basic_machine=sparclite-wrs |
basic_machine=sparclite-wrs |
| 850 |
os=-vxworks |
os=-vxworks |
| 851 |
;; |
;; |
| 912 |
os=-dynix |
os=-dynix |
| 913 |
;; |
;; |
| 914 |
t3e) |
t3e) |
| 915 |
basic_machine=t3e-cray |
basic_machine=alphaev5-cray |
| 916 |
os=-unicos |
os=-unicos |
| 917 |
;; |
;; |
| 918 |
|
t90) |
| 919 |
|
basic_machine=t90-cray |
| 920 |
|
os=-unicos |
| 921 |
|
;; |
| 922 |
|
tic4x | c4x*) |
| 923 |
|
basic_machine=tic4x-unknown |
| 924 |
|
os=-coff |
| 925 |
|
;; |
| 926 |
tic54x | c54x*) |
tic54x | c54x*) |
| 927 |
basic_machine=tic54x-unknown |
basic_machine=tic54x-unknown |
| 928 |
os=-coff |
os=-coff |
| 929 |
;; |
;; |
| 930 |
|
tic55x | c55x*) |
| 931 |
|
basic_machine=tic55x-unknown |
| 932 |
|
os=-coff |
| 933 |
|
;; |
| 934 |
|
tic6x | c6x*) |
| 935 |
|
basic_machine=tic6x-unknown |
| 936 |
|
os=-coff |
| 937 |
|
;; |
| 938 |
tx39) |
tx39) |
| 939 |
basic_machine=mipstx39-unknown |
basic_machine=mipstx39-unknown |
| 940 |
;; |
;; |
| 941 |
tx39el) |
tx39el) |
| 942 |
basic_machine=mipstx39el-unknown |
basic_machine=mipstx39el-unknown |
| 943 |
;; |
;; |
| 944 |
|
toad1) |
| 945 |
|
basic_machine=pdp10-xkl |
| 946 |
|
os=-tops20 |
| 947 |
|
;; |
| 948 |
tower | tower-32) |
tower | tower-32) |
| 949 |
basic_machine=m68k-ncr |
basic_machine=m68k-ncr |
| 950 |
;; |
;; |
| 969 |
os=-vms |
os=-vms |
| 970 |
;; |
;; |
| 971 |
vpp*|vx|vx-*) |
vpp*|vx|vx-*) |
| 972 |
basic_machine=f301-fujitsu |
basic_machine=f301-fujitsu |
| 973 |
;; |
;; |
| 974 |
vxworks960) |
vxworks960) |
| 975 |
basic_machine=i960-wrs |
basic_machine=i960-wrs |
| 976 |
os=-vxworks |
os=-vxworks |
| 991 |
basic_machine=hppa1.1-winbond |
basic_machine=hppa1.1-winbond |
| 992 |
os=-proelf |
os=-proelf |
| 993 |
;; |
;; |
| 994 |
xmp) |
xps | xps100) |
|
basic_machine=xmp-cray |
|
|
os=-unicos |
|
|
;; |
|
|
xps | xps100) |
|
| 995 |
basic_machine=xps100-honeywell |
basic_machine=xps100-honeywell |
| 996 |
;; |
;; |
| 997 |
|
ymp) |
| 998 |
|
basic_machine=ymp-cray |
| 999 |
|
os=-unicos |
| 1000 |
|
;; |
| 1001 |
z8k-*-coff) |
z8k-*-coff) |
| 1002 |
basic_machine=z8k-unknown |
basic_machine=z8k-unknown |
| 1003 |
os=-sim |
os=-sim |
| 1018 |
op60c) |
op60c) |
| 1019 |
basic_machine=hppa1.1-oki |
basic_machine=hppa1.1-oki |
| 1020 |
;; |
;; |
|
mips) |
|
|
if [ x$os = x-linux-gnu ]; then |
|
|
basic_machine=mips-unknown |
|
|
else |
|
|
basic_machine=mips-mips |
|
|
fi |
|
|
;; |
|
| 1021 |
romp) |
romp) |
| 1022 |
basic_machine=romp-ibm |
basic_machine=romp-ibm |
| 1023 |
;; |
;; |
| 1037 |
we32k) |
we32k) |
| 1038 |
basic_machine=we32k-att |
basic_machine=we32k-att |
| 1039 |
;; |
;; |
| 1040 |
sh3 | sh4) |
sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) |
| 1041 |
basic_machine=sh-unknown |
basic_machine=sh-unknown |
| 1042 |
;; |
;; |
| 1043 |
|
sh64) |
| 1044 |
|
basic_machine=sh64-unknown |
| 1045 |
|
;; |
| 1046 |
sparc | sparcv9 | sparcv9b) |
sparc | sparcv9 | sparcv9b) |
| 1047 |
basic_machine=sparc-sun |
basic_machine=sparc-sun |
| 1048 |
;; |
;; |
| 1049 |
cydra) |
cydra) |
| 1050 |
basic_machine=cydra-cydrome |
basic_machine=cydra-cydrome |
| 1051 |
;; |
;; |
| 1052 |
orion) |
orion) |
| 1061 |
pmac | pmac-mpw) |
pmac | pmac-mpw) |
| 1062 |
basic_machine=powerpc-apple |
basic_machine=powerpc-apple |
| 1063 |
;; |
;; |
|
c4x*) |
|
|
basic_machine=c4x-none |
|
|
os=-coff |
|
|
;; |
|
| 1064 |
*-unknown) |
*-unknown) |
| 1065 |
# Make sure to match an already-canonicalized machine name. |
# Make sure to match an already-canonicalized machine name. |
| 1066 |
;; |
;; |
| 1120 |
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
| 1121 |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| 1122 |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| 1123 |
|
| -chorusos* | -chorusrdb* \ |
| 1124 |
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
| 1125 |
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
| 1126 |
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
| 1127 |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
| 1128 |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
| 1129 |
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| 1130 |
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
| 1131 |
|
| -powermax* | -dnix*) |
| 1132 |
# Remember, each alternative MUST END IN *, to match a version number. |
# Remember, each alternative MUST END IN *, to match a version number. |
| 1133 |
;; |
;; |
| 1134 |
-qnx*) |
-qnx*) |
| 1140 |
;; |
;; |
| 1141 |
esac |
esac |
| 1142 |
;; |
;; |
| 1143 |
|
-nto-qnx*) |
| 1144 |
|
;; |
| 1145 |
-nto*) |
-nto*) |
| 1146 |
os=-nto-qnx |
os=`echo $os | sed -e 's|nto|nto-qnx|'` |
| 1147 |
;; |
;; |
| 1148 |
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
| 1149 |
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \ |
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \ |
| 1182 |
-acis*) |
-acis*) |
| 1183 |
os=-aos |
os=-aos |
| 1184 |
;; |
;; |
| 1185 |
|
-atheos*) |
| 1186 |
|
os=-atheos |
| 1187 |
|
;; |
| 1188 |
-386bsd) |
-386bsd) |
| 1189 |
os=-bsd |
os=-bsd |
| 1190 |
;; |
;; |
| 1191 |
-ctix* | -uts*) |
-ctix* | -uts*) |
| 1192 |
os=-sysv |
os=-sysv |
| 1193 |
;; |
;; |
| 1194 |
|
-nova*) |
| 1195 |
|
os=-rtmk-nova |
| 1196 |
|
;; |
| 1197 |
-ns2 ) |
-ns2 ) |
| 1198 |
os=-nextstep2 |
os=-nextstep2 |
| 1199 |
;; |
;; |
| 1200 |
-nsk*) |
-nsk*) |
| 1201 |
os=-nsk |
os=-nsk |
| 1234 |
-xenix) |
-xenix) |
| 1235 |
os=-xenix |
os=-xenix |
| 1236 |
;; |
;; |
| 1237 |
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
| 1238 |
os=-mint |
os=-mint |
| 1239 |
|
;; |
| 1240 |
|
-aros*) |
| 1241 |
|
os=-aros |
| 1242 |
|
;; |
| 1243 |
|
-kaos*) |
| 1244 |
|
os=-kaos |
| 1245 |
;; |
;; |
| 1246 |
-none) |
-none) |
| 1247 |
;; |
;; |
| 1274 |
arm*-semi) |
arm*-semi) |
| 1275 |
os=-aout |
os=-aout |
| 1276 |
;; |
;; |
| 1277 |
|
# This must come before the *-dec entry. |
| 1278 |
pdp10-*) |
pdp10-*) |
| 1279 |
os=-tops20 |
os=-tops20 |
| 1280 |
;; |
;; |
| 1281 |
pdp11-*) |
pdp11-*) |
| 1282 |
os=-none |
os=-none |
| 1283 |
;; |
;; |
| 1284 |
*-dec | vax-*) |
*-dec | vax-*) |
| 1305 |
mips*-*) |
mips*-*) |
| 1306 |
os=-elf |
os=-elf |
| 1307 |
;; |
;; |
| 1308 |
|
or32-*) |
| 1309 |
|
os=-coff |
| 1310 |
|
;; |
| 1311 |
*-tti) # must be before sparc entry or we get the wrong os. |
*-tti) # must be before sparc entry or we get the wrong os. |
| 1312 |
os=-sysv3 |
os=-sysv3 |
| 1313 |
;; |
;; |
| 1371 |
*-next) |
*-next) |
| 1372 |
os=-nextstep3 |
os=-nextstep3 |
| 1373 |
;; |
;; |
| 1374 |
*-gould) |
*-gould) |
| 1375 |
os=-sysv |
os=-sysv |
| 1376 |
;; |
;; |
| 1377 |
*-highlevel) |
*-highlevel) |
| 1378 |
os=-bsd |
os=-bsd |
| 1379 |
;; |
;; |
| 1380 |
*-encore) |
*-encore) |
| 1381 |
os=-bsd |
os=-bsd |
| 1382 |
;; |
;; |
| 1383 |
*-sgi) |
*-sgi) |
| 1384 |
os=-irix |
os=-irix |
| 1385 |
;; |
;; |
| 1386 |
*-siemens) |
*-siemens) |
| 1387 |
os=-sysv4 |
os=-sysv4 |
| 1388 |
;; |
;; |
| 1389 |
*-masscomp) |
*-masscomp) |
| 1455 |
-ptx*) |
-ptx*) |
| 1456 |
vendor=sequent |
vendor=sequent |
| 1457 |
;; |
;; |
| 1458 |
-vxsim* | -vxworks*) |
-vxsim* | -vxworks* | -windiss*) |
| 1459 |
vendor=wrs |
vendor=wrs |
| 1460 |
;; |
;; |
| 1461 |
-aux*) |
-aux*) |
| 1470 |
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
| 1471 |
vendor=atari |
vendor=atari |
| 1472 |
;; |
;; |
| 1473 |
|
-vos*) |
| 1474 |
|
vendor=stratus |
| 1475 |
|
;; |
| 1476 |
esac |
esac |
| 1477 |
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` |
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` |
| 1478 |
;; |
;; |