version 1.1.1.2, 2012/10/09 09:36:45
|
version 1.1.1.3, 2013/07/22 01:17:35
|
Line 4
|
Line 4
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
# 2011, 2012 Free Software Foundation, Inc. |
# 2011, 2012 Free Software Foundation, Inc. |
|
|
timestamp='2012-01-01' | timestamp='2012-10-10' |
|
|
# 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 |
Line 21 timestamp='2012-01-01'
|
Line 21 timestamp='2012-01-01'
|
# GNU General Public License for more details. |
# GNU General Public License for more details. |
# |
# |
# You should have received a copy of the GNU General Public License |
# You should have received a copy of the GNU General Public License |
# along with this program; if not, write to the Free Software | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
# 02110-1301, USA. | |
# |
# |
# As a special exception to the GNU General Public License, if you |
# As a special exception to the GNU General Public License, if you |
# distribute this file as part of a program that contains a |
# distribute this file as part of a program that contains a |
Line 125 esac
|
Line 123 esac
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
case $maybe_os in |
case $maybe_os in |
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
knetbsd*-gnu* | netbsd*-gnu* | \ |
knetbsd*-gnu* | netbsd*-gnu* | \ |
kopensolaris*-gnu* | \ |
kopensolaris*-gnu* | \ |
storm-chaos* | os2-emx* | rtmk-nova*) |
storm-chaos* | os2-emx* | rtmk-nova*) |
os=-$maybe_os |
os=-$maybe_os |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
;; |
;; |
|
android-linux) |
|
os=-linux-android |
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown |
|
;; |
*) |
*) |
basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
if [ $basic_machine != $1 ] |
if [ $basic_machine != $1 ] |
Line 154 case $os in
|
Line 156 case $os in
|
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
-apple | -axis | -knuth | -cray | -microblaze) | -apple | -axis | -knuth | -cray | -microblaze*) |
os= |
os= |
basic_machine=$1 |
basic_machine=$1 |
;; |
;; |
Line 223 case $os in
|
Line 225 case $os in
|
-isc*) |
-isc*) |
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
;; |
;; |
|
-lynx*178) |
|
os=-lynxos178 |
|
;; |
|
-lynx*5) |
|
os=-lynxos5 |
|
;; |
-lynx*) |
-lynx*) |
os=-lynxos |
os=-lynxos |
;; |
;; |
Line 247 case $basic_machine in
|
Line 255 case $basic_machine in
|
# Some are omitted here because they have special meanings below. |
# Some are omitted here because they have special meanings below. |
1750a | 580 \ |
1750a | 580 \ |
| a29k \ |
| a29k \ |
|
| aarch64 | aarch64_be \ |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
| am33_2.0 \ |
| am33_2.0 \ |
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | | arc \ |
| be32 | be64 \ | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ |
| | avr | avr32 \ |
| | be32 | be64 \ |
| bfin \ |
| bfin \ |
| c4x | clipper \ |
| c4x | clipper \ |
| d10v | d30v | dlx | dsp16xx \ |
| d10v | d30v | dlx | dsp16xx \ |
Line 264 case $basic_machine in
|
Line 275 case $basic_machine in
|
| le32 | le64 \ |
| le32 | le64 \ |
| lm32 \ |
| lm32 \ |
| m32c | m32r | m32rle | m68000 | m68k | m88k \ |
| m32c | m32r | m32rle | m68000 | m68k | m88k \ |
| maxq | mb | microblaze | mcore | mep | metag \ | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
| mips16 \ |
| mips16 \ |
| mips64 | mips64el \ |
| mips64 | mips64el \ |
Line 319 case $basic_machine in
|
Line 330 case $basic_machine in
|
c6x) |
c6x) |
basic_machine=tic6x-unknown |
basic_machine=tic6x-unknown |
;; |
;; |
m6811 | m68hc11 | m6812 | m68hc12 | picochip) | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) |
basic_machine=$basic_machine-unknown |
basic_machine=$basic_machine-unknown |
os=-none |
os=-none |
;; |
;; |
Line 332 case $basic_machine in
|
Line 343 case $basic_machine in
|
strongarm | thumb | xscale) |
strongarm | thumb | xscale) |
basic_machine=arm-unknown |
basic_machine=arm-unknown |
;; |
;; |
| xgate) |
| basic_machine=$basic_machine-unknown |
| os=-none |
| ;; |
xscaleeb) |
xscaleeb) |
basic_machine=armeb-unknown |
basic_machine=armeb-unknown |
;; |
;; |
Line 355 case $basic_machine in
|
Line 369 case $basic_machine in
|
# Recognize the basic CPU types with company name. |
# Recognize the basic CPU types with company name. |
580-* \ |
580-* \ |
| a29k-* \ |
| a29k-* \ |
|
| aarch64-* | aarch64_be-* \ |
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
Line 376 case $basic_machine in
|
Line 391 case $basic_machine in
|
| lm32-* \ |
| lm32-* \ |
| m32c-* | m32r-* | m32rle-* \ |
| m32c-* | m32r-* | m32rle-* \ |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
| | microblaze-* | microblazeel-* \ |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
| mips16-* \ |
| mips16-* \ |
| mips64-* | mips64el-* \ |
| mips64-* | mips64el-* \ |
Line 775 case $basic_machine in
|
Line 791 case $basic_machine in
|
basic_machine=ns32k-utek |
basic_machine=ns32k-utek |
os=-sysv |
os=-sysv |
;; |
;; |
microblaze) | microblaze*) |
basic_machine=microblaze-xilinx |
basic_machine=microblaze-xilinx |
;; |
;; |
|
mingw64) |
|
basic_machine=x86_64-pc |
|
os=-mingw64 |
|
;; |
mingw32) |
mingw32) |
basic_machine=i386-pc |
basic_machine=i386-pc |
os=-mingw32 |
os=-mingw32 |
Line 1339 case $os in
|
Line 1359 case $os in
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
| -openbsd* | -solidbsd* \ | | -bitrig* | -openbsd* | -solidbsd* \ |
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| -chorusos* | -chorusrdb* | -cegcc* \ |
| -chorusos* | -chorusrdb* | -cegcc* \ |
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
| -mingw32* | -linux-gnu* | -linux-android* \ | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
| -linux-newlib* | -linux-uclibc* \ | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
| -uxpv* | -beos* | -mpeix* | -udk* \ |
| -uxpv* | -beos* | -mpeix* | -udk* \ |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
Line 1529 case $basic_machine in
|
Line 1549 case $basic_machine in
|
;; |
;; |
c4x-* | tic4x-*) |
c4x-* | tic4x-*) |
os=-coff |
os=-coff |
|
;; |
|
hexagon-*) |
|
os=-elf |
;; |
;; |
tic54x-*) |
tic54x-*) |
os=-coff |
os=-coff |