Changeset 2721 for trunk/gsdl/config.sub
- Timestamp:
- 2001-08-30T16:54:45+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/config.sub
r2279 r2721 1 1 #! /bin/sh 2 2 # Configuration validation subroutine script, version 1.1. 3 # Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.3 # Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc. 4 4 # This file is (in principle) common to ALL GNU software. 5 5 # The presence of a machine in this file suggests that SOME GNU software … … 99 99 basic_machine=$1 100 100 ;; 101 -sim | -cisco | -oki | -wec | -winbond) 102 os= 103 basic_machine=$1 104 ;; 105 -scout) 106 ;; 107 -wrs) 108 os=vxworks 109 basic_machine=$1 110 ;; 101 111 -hiux*) 102 112 os=-hiuxwe2 103 113 ;; 104 114 -sco5) 105 os= sco3.2v5115 os=-sco3.2v5 106 116 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 107 117 ;; … … 120 130 -sco*) 121 131 os=-sco3.2v2 132 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 133 ;; 134 -udk*) 122 135 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 123 136 ;; … … 150 163 # Recognize the basic CPU types without company name. 151 164 # Some are omitted here because they have special meanings below. 152 tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \165 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ 153 166 | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ 154 | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \ 155 | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \ 156 | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \ 157 | mips64 | mipsel | mips64el | mips64orion | mips64orionel \ 158 | mipstx39 | mipstx39el \ 159 | sparc | sparclet | sparclite | sparc64 | v850) 167 | 580 | i960 | h8300 \ 168 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ 169 | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \ 170 | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ 171 | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ 172 | mips64orion | mips64orionel | mipstx39 | mipstx39el \ 173 | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ 174 | mips64vr5000 | miprs64vr5000el | mcore \ 175 | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ 176 | thumb | d10v) 160 177 basic_machine=$basic_machine-unknown 161 178 ;; 179 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65) 180 ;; 181 162 182 # We use `pc' rather than `unknown' 163 183 # because (1) that's what they normally are, and … … 172 192 ;; 173 193 # Recognize the basic CPU types with company name. 174 vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \ 194 # FIXME: clean up the formatting here. 195 vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ 175 196 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ 176 197 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ 177 | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ 178 | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \ 179 | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \ 180 | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \ 198 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ 199 | xmp-* | ymp-* \ 200 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \ 201 | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \ 202 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ 203 | clipper-* | orion-* \ 181 204 | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ 182 | sparc64-* | mips64-* | mipsel-* \ 183 | mips64el-* | mips64orion-* | mips64orionel-* \ 184 | mipstx39-* | mipstx39el-* \ 185 | f301-*) 205 | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ 206 | mips64el-* | mips64orion-* | mips64orionel-* \ 207 | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ 208 | mipstx39-* | mipstx39el-* | mcore-* \ 209 | f301-* | armv*-* | t3e-* \ 210 | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ 211 | thumb-* | v850-* | d30v-* | tic30-* | c30-* ) 186 212 ;; 187 213 # Recognize the various machine names and aliases which stand 188 214 # for a CPU type and a company and sometimes even an OS. 215 386bsd) 216 basic_machine=i386-unknown 217 os=-bsd 218 ;; 189 219 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) 190 220 basic_machine=m68000-att … … 192 222 3b*) 193 223 basic_machine=we32k-att 224 ;; 225 a29khif) 226 basic_machine=a29k-amd 227 os=-udi 228 ;; 229 adobe68k) 230 basic_machine=m68010-adobe 231 os=-scout 194 232 ;; 195 233 alliant | fx80) … … 222 260 os=-sysv 223 261 ;; 262 apollo68bsd) 263 basic_machine=m68k-apollo 264 os=-bsd 265 ;; 224 266 aux) 225 267 basic_machine=m68k-apple … … 298 340 basic_machine=ns32k-encore 299 341 ;; 342 es1800 | OSE68k | ose68k | ose | OSE) 343 basic_machine=m68k-ericsson 344 os=-ose 345 ;; 300 346 fx2800) 301 347 basic_machine=i860-alliant … … 316 362 os=-hms 317 363 ;; 364 h8300xray) 365 basic_machine=h8300-hitachi 366 os=-xray 367 ;; 368 h8500hms) 369 basic_machine=h8500-hitachi 370 os=-hms 371 ;; 318 372 harris) 319 373 basic_machine=m88k-harris … … 331 385 os=-hpux 332 386 ;; 387 hp3k9[0-9][0-9] | hp9[0-9][0-9]) 388 basic_machine=hppa1.0-hp 389 ;; 333 390 hp9k2[0-9][0-9] | hp9k31[0-9]) 334 391 basic_machine=m68000-hp … … 337 394 basic_machine=m68k-hp 338 395 ;; 339 hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) 396 hp9k6[0-9][0-9] | hp6[0-9][0-9]) 397 basic_machine=hppa1.0-hp 398 ;; 399 hp9k7[0-79][0-9] | hp7[0-79][0-9]) 400 basic_machine=hppa1.1-hp 401 ;; 402 hp9k78[0-9] | hp78[0-9]) 403 # FIXME: really hppa2.0-hp 404 basic_machine=hppa1.1-hp 405 ;; 406 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) 407 # FIXME: really hppa2.0-hp 408 basic_machine=hppa1.1-hp 409 ;; 410 hp9k8[0-9][13679] | hp8[0-9][13679]) 340 411 basic_machine=hppa1.1-hp 341 412 ;; … … 345 416 hppa-next) 346 417 os=-nextstep3 418 ;; 419 hppaosf) 420 basic_machine=hppa1.1-hp 421 os=-osf 422 ;; 423 hppro) 424 basic_machine=hppa1.1-hp 425 os=-proelf 347 426 ;; 348 427 i370-ibm* | ibm*) … … 366 445 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 367 446 os=-solaris2 447 ;; 448 i386mach) 449 basic_machine=i386-mach 450 os=-mach 451 ;; 452 i386-vsta | vsta) 453 basic_machine=i386-unknown 454 os=-vsta 455 ;; 456 i386-go32 | go32) 457 basic_machine=i386-unknown 458 os=-go32 459 ;; 460 i386-mingw32 | mingw32) 461 basic_machine=i386-unknown 462 os=-mingw32 368 463 ;; 369 464 iris | iris4d) … … 395 490 basic_machine=m68000-convergent 396 491 ;; 492 *mint | *MiNT) 493 basic_machine=m68k-atari 494 os=-mint 495 ;; 397 496 mipsel*-linux*) 398 497 basic_machine=mipsel-unknown … … 409 508 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 410 509 ;; 510 monitor) 511 basic_machine=m68k-rom68k 512 os=-coff 513 ;; 514 msdos) 515 basic_machine=i386-unknown 516 os=-msdos 517 ;; 411 518 ncr3000) 412 519 basic_machine=i486-ncr 413 520 os=-sysv4 414 521 ;; 522 netbsd386) 523 basic_machine=i386-unknown 524 os=-netbsd 525 ;; 526 netwinder) 527 basic_machine=armv4l-corel 528 os=-linux 529 ;; 415 530 news | news700 | news800 | news900) 416 531 basic_machine=m68k-sony … … 424 539 basic_machine=mips-sony 425 540 os=-newsos 541 ;; 542 necv70) 543 basic_machine=v70-nec 544 os=-sysv 426 545 ;; 427 546 next | m*-next ) … … 450 569 os=-nindy 451 570 ;; 571 mon960) 572 basic_machine=i960-intel 573 os=-mon960 574 ;; 452 575 np1) 453 576 basic_machine=np1-gould 577 ;; 578 op50n-* | op60c-*) 579 basic_machine=hppa1.1-oki 580 os=-proelf 581 ;; 582 OSE68000 | ose68000) 583 basic_machine=m68000-ericsson 584 os=-ose 585 ;; 586 os68k) 587 basic_machine=m68k-none 588 os=-os68k 454 589 ;; 455 590 pa-hitachi) … … 470 605 basic_machine=ns32k-pc532 471 606 ;; 472 pentium | p5 | k5 | nexen)607 pentium | p5 | k5 | k6 | nexen) 473 608 basic_machine=i586-pc 474 609 ;; 475 pentiumpro | p6 | k6 |6x86)610 pentiumpro | p6 | 6x86) 476 611 basic_machine=i686-pc 477 612 ;; … … 479 614 basic_machine=i786-pc 480 615 ;; 481 pentium-* | p5-* | k5-* | nexen-*)616 pentium-* | p5-* | k5-* | k6-* | nexen-*) 482 617 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 483 618 ;; 484 pentiumpro-* | p6-* | k6-* |6x86-*)619 pentiumpro-* | p6-* | 6x86-*) 485 620 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 486 621 ;; … … 506 641 basic_machine=i386-ibm 507 642 ;; 643 rom68k) 644 basic_machine=m68k-rom68k 645 os=-coff 646 ;; 508 647 rm[46]00) 509 648 basic_machine=mips-siemens … … 511 650 rtpc | rtpc-*) 512 651 basic_machine=romp-ibm 652 ;; 653 sa29200) 654 basic_machine=a29k-amd 655 os=-udi 513 656 ;; 514 657 sequent) … … 519 662 os=-hms 520 663 ;; 664 sparclite-wrs) 665 basic_machine=sparclite-wrs 666 os=-vxworks 667 ;; 521 668 sps7) 522 669 basic_machine=m68k-bull … … 526 673 basic_machine=spur-unknown 527 674 ;; 675 st2000) 676 basic_machine=m68k-tandem 677 ;; 678 stratus) 679 basic_machine=i860-stratus 680 os=-sysv4 681 ;; 528 682 sun2) 529 683 basic_machine=m68000-sun … … 570 724 os=-dynix 571 725 ;; 726 t3e) 727 basic_machine=t3e-cray 728 os=-unicos 729 ;; 572 730 tx39) 573 731 basic_machine=mipstx39-unknown … … 586 744 basic_machine=a29k-nyu 587 745 os=-sym1 746 ;; 747 v810 | necv810) 748 basic_machine=v810-nec 749 os=-none 588 750 ;; 589 751 vaxv) … … 610 772 os=-vxworks 611 773 ;; 774 w65*) 775 basic_machine=w65-wdc 776 os=-none 777 ;; 778 w89k-*) 779 basic_machine=hppa1.1-winbond 780 os=-proelf 781 ;; 612 782 xmp) 613 783 basic_machine=xmp-cray … … 617 787 basic_machine=xps100-honeywell 618 788 ;; 789 z8k-*-coff) 790 basic_machine=z8k-unknown 791 os=-sim 792 ;; 619 793 none) 620 794 basic_machine=none-none … … 624 798 # Here we handle the default manufacturer of certain CPU types. It is in 625 799 # some cases the only manufacturer, in others, it is the most popular. 800 w89k) 801 basic_machine=hppa1.1-winbond 802 ;; 803 op50n) 804 basic_machine=hppa1.1-oki 805 ;; 806 op60c) 807 basic_machine=hppa1.1-oki 808 ;; 626 809 mips) 627 810 if [ x$os = x-linux-gnu ]; then … … 646 829 basic_machine=we32k-att 647 830 ;; 648 sparc )831 sparc | sparcv9) 649 832 basic_machine=sparc-sun 650 833 ;; … … 657 840 orion105) 658 841 basic_machine=clipper-highlevel 842 ;; 843 mac | mpw | mac-mpw) 844 basic_machine=m68k-apple 845 ;; 846 pmac | pmac-mpw) 847 basic_machine=powerpc-apple 848 ;; 849 c4x*) 850 basic_machine=c4x-none 851 os=-coff 659 852 ;; 660 853 *) … … 711 904 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 712 905 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 713 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \906 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 714 907 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 715 908 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 716 909 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 717 | -mingw32* | -linux-gnu* | -uxpv* | -openstep* | -rhapsody* | -darwin* | -beos*) 910 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 911 | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit*) 718 912 # Remember, each alternative MUST END IN *, to match a version number. 913 ;; 914 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 915 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ 916 | -macos* | -mpw* | -magic* | -mon960* | -lnews*) 917 ;; 918 -mac*) 919 os=`echo $os | sed -e 's|mac|macos|'` 719 920 ;; 720 921 -linux*) … … 741 942 -acis*) 742 943 os=-aos 944 ;; 945 -386bsd) 946 os=-bsd 743 947 ;; 744 948 -ctix* | -uts*) … … 773 977 -sysv*) 774 978 ;; 979 -ose*) 980 os=-ose 981 ;; 982 -es1800*) 983 os=-ose 984 ;; 775 985 -xenix) 776 986 os=-xenix 987 ;; 988 -*mint | -*MiNT) 989 os=-mint 777 990 ;; 778 991 -none) … … 801 1014 os=-riscix1.2 802 1015 ;; 1016 arm*-corel) 1017 os=-linux 1018 ;; 803 1019 arm*-semi) 804 1020 os=-aout … … 822 1038 # os=-sunos4 823 1039 ;; 1040 m68*-cisco) 1041 os=-aout 1042 ;; 1043 mips*-cisco) 1044 os=-elf 1045 ;; 1046 mips*-*) 1047 os=-elf 1048 ;; 824 1049 *-tti) # must be before sparc entry or we get the wrong os. 825 1050 os=-sysv3 … … 834 1059 os=-aix 835 1060 ;; 1061 *-wec) 1062 os=-proelf 1063 ;; 1064 *-winbond) 1065 os=-proelf 1066 ;; 1067 *-oki) 1068 os=-proelf 1069 ;; 836 1070 *-hp) 837 1071 os=-hpux … … 896 1130 f301-fujitsu) 897 1131 os=-uxpv 1132 ;; 1133 *-rom68k) 1134 os=-coff 1135 ;; 1136 *-*bug) 1137 os=-coff 1138 ;; 1139 *-apple) 1140 os=-macos 1141 ;; 1142 *-atari*) 1143 os=-mint 898 1144 ;; 899 1145 *) … … 918 1164 vendor=ibm 919 1165 ;; 1166 -beos*) 1167 vendor=be 1168 ;; 920 1169 -hpux*) 921 1170 vendor=hp 922 1171 ;; 1172 -mpeix*) 1173 vendor=hp 1174 ;; 923 1175 -hiux*) 924 1176 vendor=hitachi … … 948 1200 vendor=apple 949 1201 ;; 1202 -hms*) 1203 vendor=hitachi 1204 ;; 1205 -mpw* | -macos*) 1206 vendor=apple 1207 ;; 1208 -*mint | -*MiNT) 1209 vendor=atari 1210 ;; 950 1211 esac 951 1212 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
Note:
See TracChangeset
for help on using the changeset viewer.