diff options
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/config.sub b/config.sub index 1f31816b9..463186dbf 100755 --- a/config.sub +++ b/config.sub | |||
@@ -3,7 +3,7 @@ | |||
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 | # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | 4 | # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
5 | 5 | ||
6 | timestamp='2003-08-18' | 6 | timestamp='2004-01-05' |
7 | 7 | ||
8 | # This file is (in principle) common to ALL GNU software. | 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 | 9 | # The presence of a machine in this file suggests that SOME GNU software |
@@ -118,7 +118,8 @@ esac | |||
118 | # Here we must recognize all the valid KERNEL-OS combinations. | 118 | # Here we must recognize all the valid KERNEL-OS combinations. |
119 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 119 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
120 | case $maybe_os in | 120 | case $maybe_os in |
121 | nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) | 121 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ |
122 | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) | ||
122 | os=-$maybe_os | 123 | os=-$maybe_os |
123 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 124 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
124 | ;; | 125 | ;; |
@@ -379,6 +380,9 @@ case $basic_machine in | |||
379 | amd64) | 380 | amd64) |
380 | basic_machine=x86_64-pc | 381 | basic_machine=x86_64-pc |
381 | ;; | 382 | ;; |
383 | amd64-*) | ||
384 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
385 | ;; | ||
382 | amdahl) | 386 | amdahl) |
383 | basic_machine=580-amdahl | 387 | basic_machine=580-amdahl |
384 | os=-sysv | 388 | os=-sysv |
@@ -743,6 +747,10 @@ case $basic_machine in | |||
743 | basic_machine=or32-unknown | 747 | basic_machine=or32-unknown |
744 | os=-coff | 748 | os=-coff |
745 | ;; | 749 | ;; |
750 | os400) | ||
751 | basic_machine=powerpc-ibm | ||
752 | os=-os400 | ||
753 | ;; | ||
746 | OSE68000 | ose68000) | 754 | OSE68000 | ose68000) |
747 | basic_machine=m68000-ericsson | 755 | basic_machine=m68000-ericsson |
748 | os=-ose | 756 | os=-ose |
@@ -963,6 +971,10 @@ case $basic_machine in | |||
963 | tower | tower-32) | 971 | tower | tower-32) |
964 | basic_machine=m68k-ncr | 972 | basic_machine=m68k-ncr |
965 | ;; | 973 | ;; |
974 | tpf) | ||
975 | basic_machine=s390x-ibm | ||
976 | os=-tpf | ||
977 | ;; | ||
966 | udi29k) | 978 | udi29k) |
967 | basic_machine=a29k-amd | 979 | basic_machine=a29k-amd |
968 | os=-udi | 980 | os=-udi |
@@ -1131,19 +1143,19 @@ case $os in | |||
1131 | | -aos* \ | 1143 | | -aos* \ |
1132 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1144 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1133 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 1145 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1134 | | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \ | 1146 | | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \ |
1135 | | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1147 | | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1136 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1148 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1137 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1149 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1138 | | -chorusos* | -chorusrdb* \ | 1150 | | -chorusos* | -chorusrdb* \ |
1139 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1151 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1140 | | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | 1152 | | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ |
1141 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1153 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1142 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1154 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1143 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1155 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1144 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1156 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1145 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1157 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1146 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei*) | 1158 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) |
1147 | # Remember, each alternative MUST END IN *, to match a version number. | 1159 | # Remember, each alternative MUST END IN *, to match a version number. |
1148 | ;; | 1160 | ;; |
1149 | -qnx*) | 1161 | -qnx*) |
@@ -1182,6 +1194,9 @@ case $os in | |||
1182 | -opened*) | 1194 | -opened*) |
1183 | os=-openedition | 1195 | os=-openedition |
1184 | ;; | 1196 | ;; |
1197 | -os400*) | ||
1198 | os=-os400 | ||
1199 | ;; | ||
1185 | -wince*) | 1200 | -wince*) |
1186 | os=-wince | 1201 | os=-wince |
1187 | ;; | 1202 | ;; |
@@ -1203,6 +1218,9 @@ case $os in | |||
1203 | -atheos*) | 1218 | -atheos*) |
1204 | os=-atheos | 1219 | os=-atheos |
1205 | ;; | 1220 | ;; |
1221 | -syllable*) | ||
1222 | os=-syllable | ||
1223 | ;; | ||
1206 | -386bsd) | 1224 | -386bsd) |
1207 | os=-bsd | 1225 | os=-bsd |
1208 | ;; | 1226 | ;; |
@@ -1225,6 +1243,9 @@ case $os in | |||
1225 | -sinix*) | 1243 | -sinix*) |
1226 | os=-sysv4 | 1244 | os=-sysv4 |
1227 | ;; | 1245 | ;; |
1246 | -tpf*) | ||
1247 | os=-tpf | ||
1248 | ;; | ||
1228 | -triton*) | 1249 | -triton*) |
1229 | os=-sysv3 | 1250 | os=-sysv3 |
1230 | ;; | 1251 | ;; |
@@ -1473,9 +1494,15 @@ case $basic_machine in | |||
1473 | -mvs* | -opened*) | 1494 | -mvs* | -opened*) |
1474 | vendor=ibm | 1495 | vendor=ibm |
1475 | ;; | 1496 | ;; |
1497 | -os400*) | ||
1498 | vendor=ibm | ||
1499 | ;; | ||
1476 | -ptx*) | 1500 | -ptx*) |
1477 | vendor=sequent | 1501 | vendor=sequent |
1478 | ;; | 1502 | ;; |
1503 | -tpf*) | ||
1504 | vendor=ibm | ||
1505 | ;; | ||
1479 | -vxsim* | -vxworks* | -windiss*) | 1506 | -vxsim* | -vxworks* | -windiss*) |
1480 | vendor=wrs | 1507 | vendor=wrs |
1481 | ;; | 1508 | ;; |