config.sub (75115) | config.sub (98524) |
---|---|
1#! /bin/sh 2# Configuration validation subroutine script. | 1#! /bin/sh 2# Configuration validation subroutine script. |
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 | 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
4# Free Software Foundation, Inc. 5 | 4# Free Software Foundation, Inc. 5 |
6timestamp='2000-12-15' | 6timestamp='2001-04-20' |
7 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 10# can handle that machine. It does not imply ALL GNU software can. 11# 12# This file is free software; you can redistribute it and/or modify 13# it under the terms of the GNU General Public License as published by 14# the Free Software Foundation; either version 2 of the License, or --- 49 unchanged lines hidden (view full) --- 64 -t, --time-stamp print date of last modification, then exit 65 -v, --version print version number, then exit 66 67Report bugs and patches to <config-patches@gnu.org>." 68 69version="\ 70GNU config.sub ($timestamp) 71 | 7 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 10# can handle that machine. It does not imply ALL GNU software can. 11# 12# This file is free software; you can redistribute it and/or modify 13# it under the terms of the GNU General Public License as published by 14# the Free Software Foundation; either version 2 of the License, or --- 49 unchanged lines hidden (view full) --- 64 -t, --time-stamp print date of last modification, then exit 65 -v, --version print version number, then exit 66 67Report bugs and patches to <config-patches@gnu.org>." 68 69version="\ 70GNU config.sub ($timestamp) 71 |
72Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000 | 72Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
73Free Software Foundation, Inc. 74 75This is free software; see the source for copying conditions. There is NO 76warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 77 78help=" 79Try \`$me --help' for more information." 80 --- 31 unchanged lines hidden (view full) --- 112 *) echo "$me: too many arguments$help" >&2 113 exit 1;; 114esac 115 116# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 117# Here we must recognize all the valid KERNEL-OS combinations. 118maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 119case $maybe_os in | 73Free Software Foundation, Inc. 74 75This is free software; see the source for copying conditions. There is NO 76warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 77 78help=" 79Try \`$me --help' for more information." 80 --- 31 unchanged lines hidden (view full) --- 112 *) echo "$me: too many arguments$help" >&2 113 exit 1;; 114esac 115 116# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 117# Here we must recognize all the valid KERNEL-OS combinations. 118maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 119case $maybe_os in |
120 nto-qnx* | linux-gnu* | storm-chaos*) | 120 nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*) |
121 os=-$maybe_os 122 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 123 ;; 124 *) 125 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 126 if [ $basic_machine != $1 ] 127 then os=`echo $1 | sed 's/.*-/-/'` 128 else os=; fi --- 92 unchanged lines hidden (view full) --- 221 | 580 | i960 | h8300 \ 222 | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ 223 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ 224 | hppa64 \ 225 | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ 226 | alphaev6[78] \ 227 | we32k | ns16k | clipper | i370 | sh | sh[34] \ 228 | powerpc | powerpcle \ | 121 os=-$maybe_os 122 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 123 ;; 124 *) 125 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 126 if [ $basic_machine != $1 ] 127 then os=`echo $1 | sed 's/.*-/-/'` 128 else os=; fi --- 92 unchanged lines hidden (view full) --- 221 | 580 | i960 | h8300 \ 222 | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ 223 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ 224 | hppa64 \ 225 | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ 226 | alphaev6[78] \ 227 | we32k | ns16k | clipper | i370 | sh | sh[34] \ 228 | powerpc | powerpcle \ |
229 | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ | 229 | 1750a | dsp16xx | pdp10 | pdp11 \ 230 | mips16 | mips64 | mipsel | mips64el \ |
230 | mips64orion | mips64orionel | mipstx39 | mipstx39el \ 231 | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ | 231 | mips64orion | mips64orionel | mipstx39 | mipstx39el \ 232 | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ |
232 | mips64vr5000 | miprs64vr5000el | mcore \ 233 | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ 234 | thumb | d10v | d30v | fr30 | avr) | 233 | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \ 234 | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \ 235 | v850 | c4x \ 236 | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \ 237 | pj | pjl | h8500) |
235 basic_machine=$basic_machine-unknown 236 ;; 237 m6811 | m68hc11 | m6812 | m68hc12) 238 # Motorola 68HC11/12. 239 basic_machine=$basic_machine-unknown 240 os=-none 241 ;; | 238 basic_machine=$basic_machine-unknown 239 ;; 240 m6811 | m68hc11 | m6812 | m68hc12) 241 # Motorola 68HC11/12. 242 basic_machine=$basic_machine-unknown 243 os=-none 244 ;; |
242 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl) | 245 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65) |
243 ;; 244 245 # We use `pc' rather than `unknown' 246 # because (1) that's what they normally are, and 247 # (2) the word "unknown" tends to confuse beginning users. | 246 ;; 247 248 # We use `pc' rather than `unknown' 249 # because (1) that's what they normally are, and 250 # (2) the word "unknown" tends to confuse beginning users. |
248 i[234567]86 | x86_64) | 251 i*86 | x86_64) |
249 basic_machine=$basic_machine-pc 250 ;; 251 # Object if more than one company name word. 252 *-*-*) 253 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 254 exit 1 255 ;; 256 # Recognize the basic CPU types with company name. 257 # FIXME: clean up the formatting here. | 252 basic_machine=$basic_machine-pc 253 ;; 254 # Object if more than one company name word. 255 *-*-*) 256 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 257 exit 1 258 ;; 259 # Recognize the basic CPU types with company name. 260 # FIXME: clean up the formatting here. |
258 vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ | 261 vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ |
259 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ 260 | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ 261 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ 262 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ 263 | xmp-* | ymp-* \ 264 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ 265 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ 266 | hppa2.0n-* | hppa64-* \ 267 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ 268 | alphaev6[78]-* \ 269 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ 270 | clipper-* | orion-* \ | 262 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ 263 | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ 264 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ 265 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ 266 | xmp-* | ymp-* \ 267 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ 268 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ 269 | hppa2.0n-* | hppa64-* \ 270 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ 271 | alphaev6[78]-* \ 272 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ 273 | clipper-* | orion-* \ |
271 | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ 272 | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ | 274 | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ 275 | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \ 276 | mips16-* | mips64-* | mipsel-* \ |
273 | mips64el-* | mips64orion-* | mips64orionel-* \ 274 | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ 275 | mipstx39-* | mipstx39el-* | mcore-* \ | 277 | mips64el-* | mips64orion-* | mips64orionel-* \ 278 | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ 279 | mipstx39-* | mipstx39el-* | mcore-* \ |
276 | f30[01]-* | s390-* | sv1-* | t3e-* \ | 280 | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \ 281 | [cjt]90-* \ |
277 | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ | 282 | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ |
278 | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ 279 | bs2000-* | tic54x-* | c54x-* | x86_64-*) | 283 | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \ 284 | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*) |
280 ;; 281 # Recognize the various machine names and aliases which stand 282 # for a CPU type and a company and sometimes even an OS. 283 386bsd) 284 basic_machine=i386-unknown 285 os=-bsd 286 ;; 287 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) --- 74 unchanged lines hidden (view full) --- 362 cray | ymp) 363 basic_machine=ymp-cray 364 os=-unicos 365 ;; 366 cray2) 367 basic_machine=cray2-cray 368 os=-unicos 369 ;; | 285 ;; 286 # Recognize the various machine names and aliases which stand 287 # for a CPU type and a company and sometimes even an OS. 288 386bsd) 289 basic_machine=i386-unknown 290 os=-bsd 291 ;; 292 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) --- 74 unchanged lines hidden (view full) --- 367 cray | ymp) 368 basic_machine=ymp-cray 369 os=-unicos 370 ;; 371 cray2) 372 basic_machine=cray2-cray 373 os=-unicos 374 ;; |
370 [ctj]90-cray) 371 basic_machine=c90-cray | 375 [cjt]90) 376 basic_machine=${basic_machine}-cray |
372 os=-unicos 373 ;; 374 crds | unos) 375 basic_machine=m68k-crds 376 ;; 377 cris | cris-* | etrax*) 378 basic_machine=cris-axis 379 ;; --- 39 unchanged lines hidden (view full) --- 419 ;; 420 genix) 421 basic_machine=ns32k-ns 422 ;; 423 gmicro) 424 basic_machine=tron-gmicro 425 os=-sysv 426 ;; | 377 os=-unicos 378 ;; 379 crds | unos) 380 basic_machine=m68k-crds 381 ;; 382 cris | cris-* | etrax*) 383 basic_machine=cris-axis 384 ;; --- 39 unchanged lines hidden (view full) --- 424 ;; 425 genix) 426 basic_machine=ns32k-ns 427 ;; 428 gmicro) 429 basic_machine=tron-gmicro 430 os=-sysv 431 ;; |
432 go32) 433 basic_machine=i386-pc 434 os=-go32 435 ;; |
|
427 h3050r* | hiux*) 428 basic_machine=hppa1.1-hitachi 429 os=-hiuxwe2 430 ;; 431 h8300hms) 432 basic_machine=h8300-hitachi 433 os=-hms 434 ;; --- 59 unchanged lines hidden (view full) --- 494 hppro) 495 basic_machine=hppa1.1-hp 496 os=-proelf 497 ;; 498 i370-ibm* | ibm*) 499 basic_machine=i370-ibm 500 ;; 501# I'm not sure what "Sysv32" means. Should this be sysv3.2? | 436 h3050r* | hiux*) 437 basic_machine=hppa1.1-hitachi 438 os=-hiuxwe2 439 ;; 440 h8300hms) 441 basic_machine=h8300-hitachi 442 os=-hms 443 ;; --- 59 unchanged lines hidden (view full) --- 503 hppro) 504 basic_machine=hppa1.1-hp 505 os=-proelf 506 ;; 507 i370-ibm* | ibm*) 508 basic_machine=i370-ibm 509 ;; 510# I'm not sure what "Sysv32" means. Should this be sysv3.2? |
502 i[34567]86v32) | 511 i*86v32) |
503 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 504 os=-sysv32 505 ;; | 512 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 513 os=-sysv32 514 ;; |
506 i[34567]86v4*) | 515 i*86v4*) |
507 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 508 os=-sysv4 509 ;; | 516 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 517 os=-sysv4 518 ;; |
510 i[34567]86v) | 519 i*86v) |
511 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 512 os=-sysv 513 ;; | 520 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 521 os=-sysv 522 ;; |
514 i[34567]86sol2) | 523 i*86sol2) |
515 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 516 os=-solaris2 517 ;; 518 i386mach) 519 basic_machine=i386-mach 520 os=-mach 521 ;; 522 i386-vsta | vsta) 523 basic_machine=i386-unknown 524 os=-vsta 525 ;; | 524 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 525 os=-solaris2 526 ;; 527 i386mach) 528 basic_machine=i386-mach 529 os=-mach 530 ;; 531 i386-vsta | vsta) 532 basic_machine=i386-unknown 533 os=-vsta 534 ;; |
526 i386-go32 | go32) 527 basic_machine=i386-unknown 528 os=-go32 529 ;; 530 i386-mingw32 | mingw32) 531 basic_machine=i386-unknown 532 os=-mingw32 533 ;; 534 i[34567]86-pw32 | pw32) 535 basic_machine=i586-unknown 536 os=-pw32 537 ;; | |
538 iris | iris4d) 539 basic_machine=mips-sgi 540 case $os in 541 -irix*) 542 ;; 543 *) 544 os=-irix4 545 ;; --- 9 unchanged lines hidden (view full) --- 555 magnum | m3230) 556 basic_machine=mips-mips 557 os=-sysv 558 ;; 559 merlin) 560 basic_machine=ns32k-utek 561 os=-sysv 562 ;; | 535 iris | iris4d) 536 basic_machine=mips-sgi 537 case $os in 538 -irix*) 539 ;; 540 *) 541 os=-irix4 542 ;; --- 9 unchanged lines hidden (view full) --- 552 magnum | m3230) 553 basic_machine=mips-mips 554 os=-sysv 555 ;; 556 merlin) 557 basic_machine=ns32k-utek 558 os=-sysv 559 ;; |
560 mingw32) 561 basic_machine=i386-pc 562 os=-mingw32 563 ;; |
|
563 miniframe) 564 basic_machine=m68000-convergent 565 ;; 566 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) 567 basic_machine=m68k-atari 568 os=-mint 569 ;; 570 mipsel*-linux*) --- 14 unchanged lines hidden (view full) --- 585 basic_machine=mmix-knuth 586 os=-mmixware 587 ;; 588 monitor) 589 basic_machine=m68k-rom68k 590 os=-coff 591 ;; 592 msdos) | 564 miniframe) 565 basic_machine=m68000-convergent 566 ;; 567 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) 568 basic_machine=m68k-atari 569 os=-mint 570 ;; 571 mipsel*-linux*) --- 14 unchanged lines hidden (view full) --- 586 basic_machine=mmix-knuth 587 os=-mmixware 588 ;; 589 monitor) 590 basic_machine=m68k-rom68k 591 os=-coff 592 ;; 593 msdos) |
593 basic_machine=i386-unknown | 594 basic_machine=i386-pc |
594 os=-msdos 595 ;; 596 mvs) 597 basic_machine=i370-ibm 598 os=-mvs 599 ;; 600 ncr3000) 601 basic_machine=i486-ncr --- 122 unchanged lines hidden (view full) --- 724 basic_machine=powerpcle-unknown 725 ;; 726 ppcle-* | powerpclittle-*) 727 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 728 ;; 729 ps2) 730 basic_machine=i386-ibm 731 ;; | 595 os=-msdos 596 ;; 597 mvs) 598 basic_machine=i370-ibm 599 os=-mvs 600 ;; 601 ncr3000) 602 basic_machine=i486-ncr --- 122 unchanged lines hidden (view full) --- 725 basic_machine=powerpcle-unknown 726 ;; 727 ppcle-* | powerpclittle-*) 728 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 729 ;; 730 ps2) 731 basic_machine=i386-ibm 732 ;; |
733 pw32) 734 basic_machine=i586-unknown 735 os=-pw32 736 ;; |
|
732 rom68k) 733 basic_machine=m68k-rom68k 734 os=-coff 735 ;; 736 rm[46]00) 737 basic_machine=mips-siemens 738 ;; 739 rtpc | rtpc-*) --- 174 unchanged lines hidden (view full) --- 914 basic_machine=romp-ibm 915 ;; 916 rs6000) 917 basic_machine=rs6000-ibm 918 ;; 919 vax) 920 basic_machine=vax-dec 921 ;; | 737 rom68k) 738 basic_machine=m68k-rom68k 739 os=-coff 740 ;; 741 rm[46]00) 742 basic_machine=mips-siemens 743 ;; 744 rtpc | rtpc-*) --- 174 unchanged lines hidden (view full) --- 919 basic_machine=romp-ibm 920 ;; 921 rs6000) 922 basic_machine=rs6000-ibm 923 ;; 924 vax) 925 basic_machine=vax-dec 926 ;; |
927 pdp10) 928 # there are many clones, so DEC is not a safe bet 929 basic_machine=pdp10-unknown 930 ;; |
|
922 pdp11) 923 basic_machine=pdp11-dec 924 ;; 925 we32k) 926 basic_machine=we32k-att 927 ;; 928 sh3 | sh4) 929 basic_machine=sh-unknown 930 ;; | 931 pdp11) 932 basic_machine=pdp11-dec 933 ;; 934 we32k) 935 basic_machine=we32k-att 936 ;; 937 sh3 | sh4) 938 basic_machine=sh-unknown 939 ;; |
931 sparc | sparcv9) | 940 sparc | sparcv9 | sparcv9b) |
932 basic_machine=sparc-sun 933 ;; 934 cydra) 935 basic_machine=cydra-cydrome 936 ;; 937 orion) 938 basic_machine=orion-highlevel 939 ;; --- 5 unchanged lines hidden (view full) --- 945 ;; 946 pmac | pmac-mpw) 947 basic_machine=powerpc-apple 948 ;; 949 c4x*) 950 basic_machine=c4x-none 951 os=-coff 952 ;; | 941 basic_machine=sparc-sun 942 ;; 943 cydra) 944 basic_machine=cydra-cydrome 945 ;; 946 orion) 947 basic_machine=orion-highlevel 948 ;; --- 5 unchanged lines hidden (view full) --- 954 ;; 955 pmac | pmac-mpw) 956 basic_machine=powerpc-apple 957 ;; 958 c4x*) 959 basic_machine=c4x-none 960 os=-coff 961 ;; |
962 *-unknown) 963 # Make sure to match an already-canonicalized machine name. 964 ;; |
|
953 *) 954 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 955 exit 1 956 ;; 957esac 958 959# Here we canonicalize certain aliases for manufacturers. 960case $basic_machine in --- 43 unchanged lines hidden (view full) --- 1004 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1005 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 1006 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1007 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1008 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1009 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1010 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 1011 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | 965 *) 966 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 967 exit 1 968 ;; 969esac 970 971# Here we canonicalize certain aliases for manufacturers. 972case $basic_machine in --- 43 unchanged lines hidden (view full) --- 1016 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1017 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 1018 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1019 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1020 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1021 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1022 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 1023 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ |
1012 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* | -storm-chaos*) | 1024 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1025 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) |
1013 # Remember, each alternative MUST END IN *, to match a version number. 1014 ;; 1015 -qnx*) 1016 case $basic_machine in | 1026 # Remember, each alternative MUST END IN *, to match a version number. 1027 ;; 1028 -qnx*) 1029 case $basic_machine in |
1017 x86-* | i[34567]86-*) | 1030 x86-* | i*86-*) |
1018 ;; 1019 *) 1020 os=-nto$os 1021 ;; 1022 esac 1023 ;; 1024 -nto*) 1025 os=-nto-qnx --- 76 unchanged lines hidden (view full) --- 1102 os=-ose 1103 ;; 1104 -es1800*) 1105 os=-ose 1106 ;; 1107 -xenix) 1108 os=-xenix 1109 ;; | 1031 ;; 1032 *) 1033 os=-nto$os 1034 ;; 1035 esac 1036 ;; 1037 -nto*) 1038 os=-nto-qnx --- 76 unchanged lines hidden (view full) --- 1115 os=-ose 1116 ;; 1117 -es1800*) 1118 os=-ose 1119 ;; 1120 -xenix) 1121 os=-xenix 1122 ;; |
1110 -*mint | -*MiNT) | 1123 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1111 os=-mint 1112 ;; 1113 -none) 1114 ;; 1115 *) 1116 # Get rid of the `-' at the beginning of $os. 1117 os=`echo $os | sed 's/[^-]*-//'` 1118 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 --- 17 unchanged lines hidden (view full) --- 1136 os=-riscix1.2 1137 ;; 1138 arm*-rebel) 1139 os=-linux 1140 ;; 1141 arm*-semi) 1142 os=-aout 1143 ;; | 1124 os=-mint 1125 ;; 1126 -none) 1127 ;; 1128 *) 1129 # Get rid of the `-' at the beginning of $os. 1130 os=`echo $os | sed 's/[^-]*-//'` 1131 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 --- 17 unchanged lines hidden (view full) --- 1149 os=-riscix1.2 1150 ;; 1151 arm*-rebel) 1152 os=-linux 1153 ;; 1154 arm*-semi) 1155 os=-aout 1156 ;; |
1157 pdp10-*) 1158 os=-tops20 1159 ;; |
|
1144 pdp11-*) 1145 os=-none 1146 ;; 1147 *-dec | vax-*) 1148 os=-ultrix4.2 1149 ;; 1150 m68*-apollo) 1151 os=-domain --- 92 unchanged lines hidden (view full) --- 1244 os=-irix 1245 ;; 1246 *-siemens) 1247 os=-sysv4 1248 ;; 1249 *-masscomp) 1250 os=-rtu 1251 ;; | 1160 pdp11-*) 1161 os=-none 1162 ;; 1163 *-dec | vax-*) 1164 os=-ultrix4.2 1165 ;; 1166 m68*-apollo) 1167 os=-domain --- 92 unchanged lines hidden (view full) --- 1260 os=-irix 1261 ;; 1262 *-siemens) 1263 os=-sysv4 1264 ;; 1265 *-masscomp) 1266 os=-rtu 1267 ;; |
1252 f30[01]-fujitsu) | 1268 f30[01]-fujitsu | f700-fujitsu) |
1253 os=-uxpv 1254 ;; 1255 *-rom68k) 1256 os=-coff 1257 ;; 1258 *-*bug) 1259 os=-coff 1260 ;; --- 61 unchanged lines hidden (view full) --- 1322 vendor=apple 1323 ;; 1324 -hms*) 1325 vendor=hitachi 1326 ;; 1327 -mpw* | -macos*) 1328 vendor=apple 1329 ;; | 1269 os=-uxpv 1270 ;; 1271 *-rom68k) 1272 os=-coff 1273 ;; 1274 *-*bug) 1275 os=-coff 1276 ;; --- 61 unchanged lines hidden (view full) --- 1338 vendor=apple 1339 ;; 1340 -hms*) 1341 vendor=hitachi 1342 ;; 1343 -mpw* | -macos*) 1344 vendor=apple 1345 ;; |
1330 -*mint | -*MiNT) | 1346 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1331 vendor=atari 1332 ;; 1333 esac 1334 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` 1335 ;; 1336esac 1337 1338echo $basic_machine$os 1339exit 0 1340 1341# Local variables: 1342# eval: (add-hook 'write-file-hooks 'time-stamp) 1343# time-stamp-start: "timestamp='" 1344# time-stamp-format: "%:y-%02m-%02d" 1345# time-stamp-end: "'" 1346# End: | 1347 vendor=atari 1348 ;; 1349 esac 1350 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` 1351 ;; 1352esac 1353 1354echo $basic_machine$os 1355exit 0 1356 1357# Local variables: 1358# eval: (add-hook 'write-file-hooks 'time-stamp) 1359# time-stamp-start: "timestamp='" 1360# time-stamp-format: "%:y-%02m-%02d" 1361# time-stamp-end: "'" 1362# End: |