summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-04-21 12:29:13 +1000
committerDamien Miller <djm@mindrot.org>2004-04-21 12:29:13 +1000
commit752e4e603fdf09ce6323ad665ebce9a3f4093b9c (patch)
treeaa98d36db2591fc938cdebf9aaa64e5da6433a71 /config.sub
parent5561e0b73dcaf0d6cf56afcff2a09d87ae14f34e (diff)
- (djm) Update config.guess and config.sub to autoconf-2.59 versions; ok tim@
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub135
1 files changed, 89 insertions, 46 deletions
diff --git a/config.sub b/config.sub
index 75a74f78e..1f31816b9 100755
--- a/config.sub
+++ b/config.sub
@@ -1,9 +1,9 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
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 Free Software Foundation, Inc. 4# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5 5
6timestamp='2002-07-03' 6timestamp='2003-08-18'
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,7 @@ esac
118# Here we must recognize all the valid KERNEL-OS combinations. 118# Here we must recognize all the valid KERNEL-OS combinations.
119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120case $maybe_os in 120case $maybe_os in
121 nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) 121 nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os 122 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;; 124 ;;
@@ -162,10 +162,10 @@ case $os in
162 os=-chorusos 162 os=-chorusos
163 basic_machine=$1 163 basic_machine=$1
164 ;; 164 ;;
165 -chorusrdb) 165 -chorusrdb)
166 os=-chorusrdb 166 os=-chorusrdb
167 basic_machine=$1 167 basic_machine=$1
168 ;; 168 ;;
169 -hiux*) 169 -hiux*)
170 os=-hiuxwe2 170 os=-hiuxwe2
171 ;; 171 ;;
@@ -228,36 +228,42 @@ case $basic_machine in
228 | a29k \ 228 | a29k \
229 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 229 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 230 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231 | am33_2.0 \
231 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ 232 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232 | c4x | clipper \ 233 | c4x | clipper \
233 | d10v | d30v | dlx | dsp16xx \ 234 | d10v | d30v | dlx | dsp16xx \
234 | fr30 | frv \ 235 | fr30 | frv \
235 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 236 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236 | i370 | i860 | i960 | ia64 \ 237 | i370 | i860 | i960 | ia64 \
237 | ip2k \ 238 | ip2k | iq2000 \
238 | m32r | m68000 | m68k | m88k | mcore \ 239 | m32r | m68000 | m68k | m88k | mcore \
239 | mips | mipsbe | mipseb | mipsel | mipsle \ 240 | mips | mipsbe | mipseb | mipsel | mipsle \
240 | mips16 \ 241 | mips16 \
241 | mips64 | mips64el \ 242 | mips64 | mips64el \
243 | mips64vr | mips64vrel \
242 | mips64orion | mips64orionel \ 244 | mips64orion | mips64orionel \
243 | mips64vr4100 | mips64vr4100el \ 245 | mips64vr4100 | mips64vr4100el \
244 | mips64vr4300 | mips64vr4300el \ 246 | mips64vr4300 | mips64vr4300el \
245 | mips64vr5000 | mips64vr5000el \ 247 | mips64vr5000 | mips64vr5000el \
246 | mipsisa32 | mipsisa32el \ 248 | mipsisa32 | mipsisa32el \
249 | mipsisa32r2 | mipsisa32r2el \
247 | mipsisa64 | mipsisa64el \ 250 | mipsisa64 | mipsisa64el \
251 | mipsisa64r2 | mipsisa64r2el \
248 | mipsisa64sb1 | mipsisa64sb1el \ 252 | mipsisa64sb1 | mipsisa64sb1el \
253 | mipsisa64sr71k | mipsisa64sr71kel \
249 | mipstx39 | mipstx39el \ 254 | mipstx39 | mipstx39el \
250 | mn10200 | mn10300 \ 255 | mn10200 | mn10300 \
256 | msp430 \
251 | ns16k | ns32k \ 257 | ns16k | ns32k \
252 | openrisc | or32 \ 258 | openrisc | or32 \
253 | pdp10 | pdp11 | pj | pjl \ 259 | pdp10 | pdp11 | pj | pjl \
254 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 260 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
255 | pyramid \ 261 | pyramid \
256 | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 262 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
257 | sh64 | sh64le \ 263 | sh64 | sh64le \
258 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ 264 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
259 | strongarm \ 265 | strongarm \
260 | tahoe | thumb | tic80 | tron \ 266 | tahoe | thumb | tic4x | tic80 | tron \
261 | v850 | v850e \ 267 | v850 | v850e \
262 | we32k \ 268 | we32k \
263 | x86 | xscale | xstormy16 | xtensa \ 269 | x86 | xscale | xstormy16 | xtensa \
@@ -292,7 +298,7 @@ case $basic_machine in
292 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 298 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
293 | avr-* \ 299 | avr-* \
294 | bs2000-* \ 300 | bs2000-* \
295 | c[123]* | c30-* | [cjt]90-* | c54x-* \ 301 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
296 | clipper-* | cydra-* \ 302 | clipper-* | cydra-* \
297 | d10v-* | d30v-* | dlx-* \ 303 | d10v-* | d30v-* | dlx-* \
298 | elxsi-* \ 304 | elxsi-* \
@@ -300,32 +306,39 @@ case $basic_machine in
300 | h8300-* | h8500-* \ 306 | h8300-* | h8500-* \
301 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 307 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
302 | i*86-* | i860-* | i960-* | ia64-* \ 308 | i*86-* | i860-* | i960-* | ia64-* \
303 | ip2k-* \ 309 | ip2k-* | iq2000-* \
304 | m32r-* \ 310 | m32r-* \
305 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 311 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
306 | m88110-* | m88k-* | mcore-* \ 312 | m88110-* | m88k-* | mcore-* \
307 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 313 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
308 | mips16-* \ 314 | mips16-* \
309 | mips64-* | mips64el-* \ 315 | mips64-* | mips64el-* \
316 | mips64vr-* | mips64vrel-* \
310 | mips64orion-* | mips64orionel-* \ 317 | mips64orion-* | mips64orionel-* \
311 | mips64vr4100-* | mips64vr4100el-* \ 318 | mips64vr4100-* | mips64vr4100el-* \
312 | mips64vr4300-* | mips64vr4300el-* \ 319 | mips64vr4300-* | mips64vr4300el-* \
313 | mips64vr5000-* | mips64vr5000el-* \ 320 | mips64vr5000-* | mips64vr5000el-* \
314 | mipsisa32-* | mipsisa32el-* \ 321 | mipsisa32-* | mipsisa32el-* \
322 | mipsisa32r2-* | mipsisa32r2el-* \
315 | mipsisa64-* | mipsisa64el-* \ 323 | mipsisa64-* | mipsisa64el-* \
324 | mipsisa64r2-* | mipsisa64r2el-* \
316 | mipsisa64sb1-* | mipsisa64sb1el-* \ 325 | mipsisa64sb1-* | mipsisa64sb1el-* \
317 | mipstx39 | mipstx39el \ 326 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
318 | none-* | np1-* | ns16k-* | ns32k-* | nv1-* \ 327 | mipstx39-* | mipstx39el-* \
328 | msp430-* \
329 | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
319 | orion-* \ 330 | orion-* \
320 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 331 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
321 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 332 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
322 | pyramid-* \ 333 | pyramid-* \
323 | romp-* | rs6000-* \ 334 | romp-* | rs6000-* \
324 | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ 335 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
325 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 336 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
326 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 337 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
327 | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 338 | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
328 | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ 339 | tahoe-* | thumb-* \
340 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
341 | tron-* \
329 | v850-* | v850e-* | vax-* \ 342 | v850-* | v850e-* | vax-* \
330 | we32k-* \ 343 | we32k-* \
331 | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ 344 | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
@@ -363,6 +376,9 @@ case $basic_machine in
363 basic_machine=a29k-none 376 basic_machine=a29k-none
364 os=-bsd 377 os=-bsd
365 ;; 378 ;;
379 amd64)
380 basic_machine=x86_64-pc
381 ;;
366 amdahl) 382 amdahl)
367 basic_machine=580-amdahl 383 basic_machine=580-amdahl
368 os=-sysv 384 os=-sysv
@@ -712,11 +728,12 @@ case $basic_machine in
712 np1) 728 np1)
713 basic_machine=np1-gould 729 basic_machine=np1-gould
714 ;; 730 ;;
715 nsr-tandem)
716 basic_machine=nsr-tandem
717 ;;
718 nv1) 731 nv1)
719 basic_machine=nv1-cray 732 basic_machine=nv1-cray
733 os=-unicosmp
734 ;;
735 nsr-tandem)
736 basic_machine=nsr-tandem
720 ;; 737 ;;
721 op50n-* | op60c-*) 738 op50n-* | op60c-*)
722 basic_machine=hppa1.1-oki 739 basic_machine=hppa1.1-oki
@@ -754,21 +771,27 @@ case $basic_machine in
754 pentium | p5 | k5 | k6 | nexgen | viac3) 771 pentium | p5 | k5 | k6 | nexgen | viac3)
755 basic_machine=i586-pc 772 basic_machine=i586-pc
756 ;; 773 ;;
757 pentiumpro | p6 | 6x86 | athlon) 774 pentiumpro | p6 | 6x86 | athlon | athlon_*)
758 basic_machine=i686-pc 775 basic_machine=i686-pc
759 ;; 776 ;;
760 pentiumii | pentium2) 777 pentiumii | pentium2 | pentiumiii | pentium3)
761 basic_machine=i686-pc 778 basic_machine=i686-pc
762 ;; 779 ;;
780 pentium4)
781 basic_machine=i786-pc
782 ;;
763 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) 783 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
764 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 784 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
765 ;; 785 ;;
766 pentiumpro-* | p6-* | 6x86-* | athlon-*) 786 pentiumpro-* | p6-* | 6x86-* | athlon-*)
767 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 787 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
768 ;; 788 ;;
769 pentiumii-* | pentium2-*) 789 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
770 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 790 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
771 ;; 791 ;;
792 pentium4-*)
793 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
794 ;;
772 pn) 795 pn)
773 basic_machine=pn-gould 796 basic_machine=pn-gould
774 ;; 797 ;;
@@ -821,6 +844,16 @@ case $basic_machine in
821 basic_machine=a29k-amd 844 basic_machine=a29k-amd
822 os=-udi 845 os=-udi
823 ;; 846 ;;
847 sb1)
848 basic_machine=mipsisa64sb1-unknown
849 ;;
850 sb1el)
851 basic_machine=mipsisa64sb1el-unknown
852 ;;
853 sei)
854 basic_machine=mips-sei
855 os=-seiux
856 ;;
824 sequent) 857 sequent)
825 basic_machine=i386-sequent 858 basic_machine=i386-sequent
826 ;; 859 ;;
@@ -828,6 +861,9 @@ case $basic_machine in
828 basic_machine=sh-hitachi 861 basic_machine=sh-hitachi
829 os=-hms 862 os=-hms
830 ;; 863 ;;
864 sh64)
865 basic_machine=sh64-unknown
866 ;;
831 sparclite-wrs | simso-wrs) 867 sparclite-wrs | simso-wrs)
832 basic_machine=sparclite-wrs 868 basic_machine=sparclite-wrs
833 os=-vxworks 869 os=-vxworks
@@ -890,18 +926,10 @@ case $basic_machine in
890 basic_machine=sv1-cray 926 basic_machine=sv1-cray
891 os=-unicos 927 os=-unicos
892 ;; 928 ;;
893 sx*-nec)
894 basic_machine=sx6-nec
895 os=-sysv
896 ;;
897 symmetry) 929 symmetry)
898 basic_machine=i386-sequent 930 basic_machine=i386-sequent
899 os=-dynix 931 os=-dynix
900 ;; 932 ;;
901 t3d)
902 basic_machine=alpha-cray
903 os=-unicos
904 ;;
905 t3e) 933 t3e)
906 basic_machine=alphaev5-cray 934 basic_machine=alphaev5-cray
907 os=-unicos 935 os=-unicos
@@ -914,6 +942,14 @@ case $basic_machine in
914 basic_machine=tic54x-unknown 942 basic_machine=tic54x-unknown
915 os=-coff 943 os=-coff
916 ;; 944 ;;
945 tic55x | c55x*)
946 basic_machine=tic55x-unknown
947 os=-coff
948 ;;
949 tic6x | c6x*)
950 basic_machine=tic6x-unknown
951 os=-coff
952 ;;
917 tx39) 953 tx39)
918 basic_machine=mipstx39-unknown 954 basic_machine=mipstx39-unknown
919 ;; 955 ;;
@@ -948,8 +984,8 @@ case $basic_machine in
948 os=-vms 984 os=-vms
949 ;; 985 ;;
950 vpp*|vx|vx-*) 986 vpp*|vx|vx-*)
951 basic_machine=f301-fujitsu 987 basic_machine=f301-fujitsu
952 ;; 988 ;;
953 vxworks960) 989 vxworks960)
954 basic_machine=i960-wrs 990 basic_machine=i960-wrs
955 os=-vxworks 991 os=-vxworks
@@ -970,10 +1006,6 @@ case $basic_machine in
970 basic_machine=hppa1.1-winbond 1006 basic_machine=hppa1.1-winbond
971 os=-proelf 1007 os=-proelf
972 ;; 1008 ;;
973 windows32)
974 basic_machine=i386-pc
975 os=-windows32-msvcrt
976 ;;
977 xps | xps100) 1009 xps | xps100)
978 basic_machine=xps100-honeywell 1010 basic_machine=xps100-honeywell
979 ;; 1011 ;;
@@ -1020,7 +1052,7 @@ case $basic_machine in
1020 we32k) 1052 we32k)
1021 basic_machine=we32k-att 1053 basic_machine=we32k-att
1022 ;; 1054 ;;
1023 sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) 1055 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1024 basic_machine=sh-unknown 1056 basic_machine=sh-unknown
1025 ;; 1057 ;;
1026 sh64) 1058 sh64)
@@ -1044,10 +1076,6 @@ case $basic_machine in
1044 pmac | pmac-mpw) 1076 pmac | pmac-mpw)
1045 basic_machine=powerpc-apple 1077 basic_machine=powerpc-apple
1046 ;; 1078 ;;
1047 c4x*)
1048 basic_machine=c4x-none
1049 os=-coff
1050 ;;
1051 *-unknown) 1079 *-unknown)
1052 # Make sure to match an already-canonicalized machine name. 1080 # Make sure to match an already-canonicalized machine name.
1053 ;; 1081 ;;
@@ -1074,8 +1102,8 @@ esac
1074if [ x"$os" != x"" ] 1102if [ x"$os" != x"" ]
1075then 1103then
1076case $os in 1104case $os in
1077 # First match some system type aliases 1105 # First match some system type aliases
1078 # that might get confused with valid system types. 1106 # that might get confused with valid system types.
1079 # -solaris* is a basic system type, with this one exception. 1107 # -solaris* is a basic system type, with this one exception.
1080 -solaris1 | -solaris1.*) 1108 -solaris1 | -solaris1.*)
1081 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1109 os=`echo $os | sed -e 's|solaris1|sunos4|'`
@@ -1103,18 +1131,19 @@ case $os in
1103 | -aos* \ 1131 | -aos* \
1104 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1132 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1105 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1133 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1106 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 1134 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1107 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1135 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1108 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1136 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1109 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1137 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1110 | -chorusos* | -chorusrdb* \ 1138 | -chorusos* | -chorusrdb* \
1111 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1139 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1112 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 1140 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1113 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ 1141 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1114 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1142 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1115 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1143 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1116 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1144 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1117 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) 1145 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1146 | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
1118 # Remember, each alternative MUST END IN *, to match a version number. 1147 # Remember, each alternative MUST END IN *, to match a version number.
1119 ;; 1148 ;;
1120 -qnx*) 1149 -qnx*)
@@ -1126,8 +1155,10 @@ case $os in
1126 ;; 1155 ;;
1127 esac 1156 esac
1128 ;; 1157 ;;
1158 -nto-qnx*)
1159 ;;
1129 -nto*) 1160 -nto*)
1130 os=-nto-qnx 1161 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1131 ;; 1162 ;;
1132 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 1163 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1133 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ 1164 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
@@ -1136,6 +1167,9 @@ case $os in
1136 -mac*) 1167 -mac*)
1137 os=`echo $os | sed -e 's|mac|macos|'` 1168 os=`echo $os | sed -e 's|mac|macos|'`
1138 ;; 1169 ;;
1170 -linux-dietlibc)
1171 os=-linux-dietlibc
1172 ;;
1139 -linux*) 1173 -linux*)
1140 os=`echo $os | sed -e 's|linux|linux-gnu|'` 1174 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1141 ;; 1175 ;;
@@ -1221,6 +1255,12 @@ case $os in
1221 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1255 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1222 os=-mint 1256 os=-mint
1223 ;; 1257 ;;
1258 -aros*)
1259 os=-aros
1260 ;;
1261 -kaos*)
1262 os=-kaos
1263 ;;
1224 -none) 1264 -none)
1225 ;; 1265 ;;
1226 *) 1266 *)
@@ -1252,6 +1292,9 @@ case $basic_machine in
1252 arm*-semi) 1292 arm*-semi)
1253 os=-aout 1293 os=-aout
1254 ;; 1294 ;;
1295 c4x-* | tic4x-*)
1296 os=-coff
1297 ;;
1255 # This must come before the *-dec entry. 1298 # This must come before the *-dec entry.
1256 pdp10-*) 1299 pdp10-*)
1257 os=-tops20 1300 os=-tops20