|
|
@@ -3,7 +3,7 @@
|
|
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
|
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
|
|
|
|
|
-timestamp='2003-01-03'
|
|
|
+timestamp='2003-07-17'
|
|
|
|
|
|
# This file is (in principle) common to ALL GNU software.
|
|
|
# The presence of a machine in this file suggests that SOME GNU software
|
|
|
@@ -118,7 +118,7 @@ esac
|
|
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
|
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
|
case $maybe_os in
|
|
|
- nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
|
|
|
+ nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
|
|
|
os=-$maybe_os
|
|
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
|
|
;;
|
|
|
@@ -228,13 +228,14 @@ case $basic_machine in
|
|
|
| a29k \
|
|
|
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
|
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
|
|
+ | am33_2.0 \
|
|
|
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
|
|
- | clipper \
|
|
|
+ | c4x | clipper \
|
|
|
| d10v | d30v | dlx | dsp16xx \
|
|
|
| fr30 | frv \
|
|
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
|
|
| i370 | i860 | i960 | ia64 \
|
|
|
- | ip2k \
|
|
|
+ | ip2k | iq2000 \
|
|
|
| m32r | m68000 | m68k | m88k | mcore \
|
|
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
|
|
| mips16 \
|
|
|
@@ -257,11 +258,11 @@ case $basic_machine in
|
|
|
| pdp10 | pdp11 | pj | pjl \
|
|
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
|
|
| pyramid \
|
|
|
- | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
|
|
|
+ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
|
|
|
| sh64 | sh64le \
|
|
|
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
|
|
|
| strongarm \
|
|
|
- | tahoe | thumb | tic80 | tron \
|
|
|
+ | tahoe | thumb | tic4x | tic80 | tron \
|
|
|
| v850 | v850e \
|
|
|
| we32k \
|
|
|
| x86 | xscale | xstormy16 | xtensa \
|
|
|
@@ -296,7 +297,7 @@ case $basic_machine in
|
|
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
|
|
| avr-* \
|
|
|
| bs2000-* \
|
|
|
- | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
|
|
|
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
|
|
| clipper-* | cydra-* \
|
|
|
| d10v-* | d30v-* | dlx-* \
|
|
|
| elxsi-* \
|
|
|
@@ -304,7 +305,7 @@ case $basic_machine in
|
|
|
| h8300-* | h8500-* \
|
|
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
|
|
| i*86-* | i860-* | i960-* | ia64-* \
|
|
|
- | ip2k-* \
|
|
|
+ | ip2k-* | iq2000-* \
|
|
|
| m32r-* \
|
|
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
|
|
| m88110-* | m88k-* | mcore-* \
|
|
|
@@ -329,11 +330,13 @@ case $basic_machine in
|
|
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
|
|
| pyramid-* \
|
|
|
| romp-* | rs6000-* \
|
|
|
- | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
|
|
|
+ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
|
|
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
|
|
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
|
|
|
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
|
|
|
- | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
|
|
|
+ | tahoe-* | thumb-* \
|
|
|
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
|
|
+ | tron-* \
|
|
|
| v850-* | v850e-* | vax-* \
|
|
|
| we32k-* \
|
|
|
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
|
|
|
@@ -371,6 +374,9 @@ case $basic_machine in
|
|
|
basic_machine=a29k-none
|
|
|
os=-bsd
|
|
|
;;
|
|
|
+ amd64)
|
|
|
+ basic_machine=x86_64-pc
|
|
|
+ ;;
|
|
|
amdahl)
|
|
|
basic_machine=580-amdahl
|
|
|
os=-sysv
|
|
|
@@ -766,18 +772,24 @@ case $basic_machine in
|
|
|
pentiumpro | p6 | 6x86 | athlon | athlon_*)
|
|
|
basic_machine=i686-pc
|
|
|
;;
|
|
|
- pentiumii | pentium2)
|
|
|
+ pentiumii | pentium2 | pentiumiii | pentium3)
|
|
|
basic_machine=i686-pc
|
|
|
;;
|
|
|
+ pentium4)
|
|
|
+ basic_machine=i786-pc
|
|
|
+ ;;
|
|
|
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
|
|
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
;;
|
|
|
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
|
|
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
;;
|
|
|
- pentiumii-* | pentium2-*)
|
|
|
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
|
|
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
;;
|
|
|
+ pentium4-*)
|
|
|
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
+ ;;
|
|
|
pn)
|
|
|
basic_machine=pn-gould
|
|
|
;;
|
|
|
@@ -836,6 +848,10 @@ case $basic_machine in
|
|
|
sb1el)
|
|
|
basic_machine=mipsisa64sb1el-unknown
|
|
|
;;
|
|
|
+ sei)
|
|
|
+ basic_machine=mips-sei
|
|
|
+ os=-seiux
|
|
|
+ ;;
|
|
|
sequent)
|
|
|
basic_machine=i386-sequent
|
|
|
;;
|
|
|
@@ -843,6 +859,9 @@ case $basic_machine in
|
|
|
basic_machine=sh-hitachi
|
|
|
os=-hms
|
|
|
;;
|
|
|
+ sh64)
|
|
|
+ basic_machine=sh64-unknown
|
|
|
+ ;;
|
|
|
sparclite-wrs | simso-wrs)
|
|
|
basic_machine=sparclite-wrs
|
|
|
os=-vxworks
|
|
|
@@ -917,14 +936,18 @@ case $basic_machine in
|
|
|
basic_machine=t90-cray
|
|
|
os=-unicos
|
|
|
;;
|
|
|
- tic4x | c4x*)
|
|
|
- basic_machine=tic4x-unknown
|
|
|
- os=-coff
|
|
|
- ;;
|
|
|
tic54x | c54x*)
|
|
|
basic_machine=tic54x-unknown
|
|
|
os=-coff
|
|
|
;;
|
|
|
+ tic55x | c55x*)
|
|
|
+ basic_machine=tic55x-unknown
|
|
|
+ os=-coff
|
|
|
+ ;;
|
|
|
+ tic6x | c6x*)
|
|
|
+ basic_machine=tic6x-unknown
|
|
|
+ os=-coff
|
|
|
+ ;;
|
|
|
tx39)
|
|
|
basic_machine=mipstx39-unknown
|
|
|
;;
|
|
|
@@ -1027,7 +1050,7 @@ case $basic_machine in
|
|
|
we32k)
|
|
|
basic_machine=we32k-att
|
|
|
;;
|
|
|
- sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
|
|
|
+ sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
|
|
|
basic_machine=sh-unknown
|
|
|
;;
|
|
|
sh64)
|
|
|
@@ -1106,7 +1129,7 @@ case $os in
|
|
|
| -aos* \
|
|
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
|
- | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
|
|
+ | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
|
|
|
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
|
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
|
@@ -1118,7 +1141,7 @@ case $os in
|
|
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
|
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
|
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
|
|
- | -powermax* | -dnix* | -microbsd*)
|
|
|
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
|
|
|
# Remember, each alternative MUST END IN *, to match a version number.
|
|
|
;;
|
|
|
-qnx*)
|
|
|
@@ -1227,6 +1250,12 @@ case $os in
|
|
|
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
|
|
os=-mint
|
|
|
;;
|
|
|
+ -aros*)
|
|
|
+ os=-aros
|
|
|
+ ;;
|
|
|
+ -kaos*)
|
|
|
+ os=-kaos
|
|
|
+ ;;
|
|
|
-none)
|
|
|
;;
|
|
|
*)
|
|
|
@@ -1258,6 +1287,9 @@ case $basic_machine in
|
|
|
arm*-semi)
|
|
|
os=-aout
|
|
|
;;
|
|
|
+ c4x-* | tic4x-*)
|
|
|
+ os=-coff
|
|
|
+ ;;
|
|
|
# This must come before the *-dec entry.
|
|
|
pdp10-*)
|
|
|
os=-tops20
|