version 1.6, 2007/09/05 23:55:56 |
version 1.7, 2008/07/31 16:44:03 |
|
|
#! /bin/sh |
#! /bin/sh |
# Configuration validation subroutine script. |
# Configuration validation subroutine script. |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
# Inc. |
# Free Software Foundation, Inc. |
|
|
timestamp='2006-11-07' |
timestamp='2008-01-16' |
|
|
# This file is (in principle) common to ALL GNU software. |
# This file is (in principle) common to ALL GNU software. |
# 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 |
|
|
version="\ |
version="\ |
GNU config.sub ($timestamp) |
GNU config.sub ($timestamp) |
|
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
Free Software Foundation, Inc. |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
|
|
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 |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
|
|
| bfin \ |
| bfin \ |
| c4x | clipper \ |
| c4x | clipper \ |
| d10v | d30v | dlx | dsp16xx \ |
| d10v | d30v | dlx | dsp16xx \ |
| fr30 | frv \ |
| fido | fr30 | frv \ |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| i370 | i860 | i960 | ia64 \ |
| i370 | i860 | i960 | ia64 \ |
| ip2k | iq2000 \ |
| ip2k | iq2000 \ |
| m32c | m32r | m32rle | m68000 | m68k | m88k \ |
| m32c | m32r | m32rle | m68000 | m68k | m88k \ |
| maxq | mb | microblaze | mcore \ |
| maxq | mb | microblaze | mcore | mep \ |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
| mips16 \ |
| mips16 \ |
| mips64 | mips64el \ |
| mips64 | mips64el \ |
|
|
| clipper-* | craynv-* | cydra-* \ |
| clipper-* | craynv-* | cydra-* \ |
| d10v-* | d30v-* | dlx-* \ |
| d10v-* | d30v-* | dlx-* \ |
| elxsi-* \ |
| elxsi-* \ |
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
| h8300-* | h8500-* \ |
| h8300-* | h8500-* \ |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
| i*86-* | i860-* | i960-* | ia64-* \ |
| i*86-* | i860-* | i960-* | ia64-* \ |
|
|
| v850-* | v850e-* | vax-* \ |
| v850-* | v850e-* | vax-* \ |
| we32k-* \ |
| we32k-* \ |
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
| xstormy16-* | xtensa-* \ |
| xstormy16-* | xtensa*-* \ |
| ymp-* \ |
| ymp-* \ |
| z8k-*) |
| z8k-*) |
;; |
;; |
|
# Recognize the basic CPU types without company name, with glob match. |
|
xtensa*) |
|
basic_machine=$basic_machine-unknown |
|
;; |
# Recognize the various machine names and aliases which stand |
# Recognize the various machine names and aliases which stand |
# for a CPU type and a company and sometimes even an OS. |
# for a CPU type and a company and sometimes even an OS. |
386bsd) |
386bsd) |
|
|
basic_machine=ns32k-sequent |
basic_machine=ns32k-sequent |
os=-dynix |
os=-dynix |
;; |
;; |
|
blackfin) |
|
basic_machine=bfin-unknown |
|
os=-linux |
|
;; |
|
blackfin-*) |
|
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
os=-linux |
|
;; |
c90) |
c90) |
basic_machine=c90-cray |
basic_machine=c90-cray |
os=-unicos |
os=-unicos |
|
|
basic_machine=craynv-cray |
basic_machine=craynv-cray |
os=-unicosmp |
os=-unicosmp |
;; |
;; |
cr16c) |
cr16) |
basic_machine=cr16c-unknown |
basic_machine=cr16-unknown |
os=-elf |
os=-elf |
;; |
;; |
crds | unos) |
crds | unos) |
|
|
basic_machine=m68k-isi |
basic_machine=m68k-isi |
os=-sysv |
os=-sysv |
;; |
;; |
|
m68knommu) |
|
basic_machine=m68k-unknown |
|
os=-linux |
|
;; |
|
m68knommu-*) |
|
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
os=-linux |
|
;; |
m88k-omron*) |
m88k-omron*) |
basic_machine=m88k-omron |
basic_machine=m88k-omron |
;; |
;; |
|
|
basic_machine=i386-pc |
basic_machine=i386-pc |
os=-mingw32 |
os=-mingw32 |
;; |
;; |
|
mingw32ce) |
|
basic_machine=arm-unknown |
|
os=-mingw32ce |
|
;; |
miniframe) |
miniframe) |
basic_machine=m68000-convergent |
basic_machine=m68000-convergent |
;; |
;; |
|
|
basic_machine=i860-intel |
basic_machine=i860-intel |
os=-osf |
os=-osf |
;; |
;; |
|
parisc) |
|
basic_machine=hppa-unknown |
|
os=-linux |
|
;; |
|
parisc-*) |
|
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
os=-linux |
|
;; |
pbd) |
pbd) |
basic_machine=sparc-tti |
basic_machine=sparc-tti |
;; |
;; |
|
|
basic_machine=tic6x-unknown |
basic_machine=tic6x-unknown |
os=-coff |
os=-coff |
;; |
;; |
|
tile*) |
|
basic_machine=tile-unknown |
|
os=-linux-gnu |
|
;; |
tx39) |
tx39) |
basic_machine=mipstx39-unknown |
basic_machine=mipstx39-unknown |
;; |
;; |
|
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
| -skyos* | -haiku* | -rdos* | -toppers*) |
| -skyos* | -haiku* | -rdos* | -toppers* | -drops*) |
# Remember, each alternative MUST END IN *, to match a version number. |
# Remember, each alternative MUST END IN *, to match a version number. |
;; |
;; |
-qnx*) |
-qnx*) |
|
|
;; |
;; |
m68*-cisco) |
m68*-cisco) |
os=-aout |
os=-aout |
|
;; |
|
mep-*) |
|
os=-elf |
;; |
;; |
mips*-cisco) |
mips*-cisco) |
os=-elf |
os=-elf |