73
73
# Here we must recognize all the valid KERNEL-OS combinations.
74
74
maybe_os=` echo $1 | sed ' s/^\(.*\)-\([^-]*-[^-]*\)$/\2/' `
75
75
case $maybe_os in
76
- linux-gnu* )
76
+ nto-qnx * | linux-gnu* )
77
77
os=-$maybe_os
78
78
basic_machine=` echo $1 | sed ' s/^\(.*\)-\([^-]*-[^-]*\)$/\1/' `
79
79
;;
@@ -174,6 +174,7 @@ case $basic_machine in
174
174
tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
175
175
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
176
176
| 580 | i960 | h8300 \
177
+ | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
177
178
| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
178
179
| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
179
180
| alphaev6[78] \
@@ -207,6 +208,7 @@ case $basic_machine in
207
208
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
208
209
| power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
209
210
| xmp-* | ymp-* \
211
+ | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
210
212
| hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \
211
213
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
212
214
| alphaev6[78]-* \
@@ -471,9 +473,6 @@ case $basic_machine in
471
473
basic_machine=i386-unknown
472
474
os=-mingw32
473
475
;;
474
- i386-qnx | qnx)
475
- basic_machine=i386-qnx
476
- ;;
477
476
iris | iris4d)
478
477
basic_machine=mips-sgi
479
478
case $os in
@@ -596,6 +595,9 @@ case $basic_machine in
596
595
np1)
597
596
basic_machine=np1-gould
598
597
;;
598
+ nsr-tandem)
599
+ basic_machine=nsr-tandem
600
+ ;;
599
601
op50n-* | op60c-* )
600
602
basic_machine=hppa1.1-oki
601
603
os=-proelf
@@ -936,6 +938,18 @@ case $os in
936
938
| -interix* | -uwin* | -rhapsody* | -opened* | -openstep* | -oskit* )
937
939
# Remember, each alternative MUST END IN *, to match a version number.
938
940
;;
941
+ -qnx* )
942
+ case $basic_machine in
943
+ x86-* | i[34567]86-* )
944
+ ;;
945
+ * )
946
+ os=-nto$os
947
+ ;;
948
+ esac
949
+ ;;
950
+ -nto* )
951
+ os=-nto-qnx
952
+ ;;
939
953
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
940
954
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
941
955
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews* )
@@ -982,6 +996,9 @@ case $os in
982
996
-ns2 )
983
997
os=-nextstep2
984
998
;;
999
+ -nsk)
1000
+ os=-nsk
1001
+ ;;
985
1002
# Preserve the version number of sinix5.
986
1003
-sinix5.* )
987
1004
os=` echo $os | sed -e ' s|sinix|sysv|' `
@@ -995,9 +1012,6 @@ case $os in
995
1012
-oss* )
996
1013
os=-sysv3
997
1014
;;
998
- -qnx)
999
- os=-qnx4
1000
- ;;
1001
1015
-svr4)
1002
1016
os=-sysv4
1003
1017
;;
@@ -1022,9 +1036,6 @@ case $os in
1022
1036
-* mint | -* MiNT)
1023
1037
os=-mint
1024
1038
;;
1025
- -neutrino* | -nto* )
1026
- os=-neutrino
1027
- ;;
1028
1039
-none)
1029
1040
;;
1030
1041
* )
@@ -1245,9 +1256,6 @@ case $basic_machine in
1245
1256
-* mint | -* MiNT)
1246
1257
vendor=atari
1247
1258
;;
1248
- -neutrino* | -nto* )
1249
- vendor=qnx
1250
- ;;
1251
1259
esac
1252
1260
basic_machine=` echo $basic_machine | sed " s/unknown/$vendor /" `
1253
1261
;;
0 commit comments