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, 2003, 2004, 2005 Free Software Foundation, Inc. |
4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
|
|
5 | # Inc. |
5 | |
6 | |
6 | timestamp='2005-07-08' |
7 | timestamp='2007-06-28' |
7 | |
8 | |
8 | # This file is (in principle) common to ALL GNU software. |
9 | # This file is (in principle) common to ALL GNU software. |
9 | # The presence of a machine in this file suggests that SOME GNU software |
10 | # The presence of a machine in this file suggests that SOME GNU software |
10 | # can handle that machine. It does not imply ALL GNU software can. |
11 | # can handle that machine. It does not imply ALL GNU software can. |
11 | # |
12 | # |
… | |
… | |
117 | |
118 | |
118 | # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
119 | # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
119 | # Here we must recognize all the valid KERNEL-OS combinations. |
120 | # Here we must recognize all the valid KERNEL-OS combinations. |
120 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
121 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
121 | case $maybe_os in |
122 | case $maybe_os in |
122 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ |
123 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
123 | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) |
124 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
|
|
125 | storm-chaos* | os2-emx* | rtmk-nova*) |
124 | os=-$maybe_os |
126 | os=-$maybe_os |
125 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
127 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
126 | ;; |
128 | ;; |
127 | *) |
129 | *) |
128 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
130 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
… | |
… | |
169 | basic_machine=$1 |
171 | basic_machine=$1 |
170 | ;; |
172 | ;; |
171 | -hiux*) |
173 | -hiux*) |
172 | os=-hiuxwe2 |
174 | os=-hiuxwe2 |
173 | ;; |
175 | ;; |
|
|
176 | -sco6) |
|
|
177 | os=-sco5v6 |
|
|
178 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
|
|
179 | ;; |
174 | -sco5) |
180 | -sco5) |
175 | os=-sco3.2v5 |
181 | os=-sco3.2v5 |
176 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
182 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
177 | ;; |
183 | ;; |
178 | -sco4) |
184 | -sco4) |
… | |
… | |
182 | -sco3.2.[4-9]*) |
188 | -sco3.2.[4-9]*) |
183 | os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` |
189 | os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` |
184 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
190 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
185 | ;; |
191 | ;; |
186 | -sco3.2v[4-9]*) |
192 | -sco3.2v[4-9]*) |
|
|
193 | # Don't forget version if it is 3.2v4 or newer. |
|
|
194 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
|
|
195 | ;; |
|
|
196 | -sco5v6*) |
187 | # Don't forget version if it is 3.2v4 or newer. |
197 | # Don't forget version if it is 3.2v4 or newer. |
188 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
198 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
189 | ;; |
199 | ;; |
190 | -sco*) |
200 | -sco*) |
191 | os=-sco3.2v2 |
201 | os=-sco3.2v2 |
… | |
… | |
229 | 1750a | 580 \ |
239 | 1750a | 580 \ |
230 | | a29k \ |
240 | | a29k \ |
231 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
241 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
232 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
242 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
233 | | am33_2.0 \ |
243 | | am33_2.0 \ |
234 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ |
244 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
235 | | bfin \ |
245 | | bfin \ |
236 | | c4x | clipper \ |
246 | | c4x | clipper \ |
237 | | d10v | d30v | dlx | dsp16xx \ |
247 | | d10v | d30v | dlx | dsp16xx \ |
238 | | fr30 | frv \ |
248 | | fido | fr30 | frv \ |
239 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
249 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
240 | | i370 | i860 | i960 | ia64 \ |
250 | | i370 | i860 | i960 | ia64 \ |
241 | | ip2k | iq2000 \ |
251 | | ip2k | iq2000 \ |
242 | | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ |
252 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
|
|
253 | | maxq | mb | microblaze | mcore | mep \ |
243 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
254 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
244 | | mips16 \ |
255 | | mips16 \ |
245 | | mips64 | mips64el \ |
256 | | mips64 | mips64el \ |
246 | | mips64vr | mips64vrel \ |
257 | | mips64vr | mips64vrel \ |
247 | | mips64orion | mips64orionel \ |
258 | | mips64orion | mips64orionel \ |
… | |
… | |
255 | | mipsisa64r2 | mipsisa64r2el \ |
266 | | mipsisa64r2 | mipsisa64r2el \ |
256 | | mipsisa64sb1 | mipsisa64sb1el \ |
267 | | mipsisa64sb1 | mipsisa64sb1el \ |
257 | | mipsisa64sr71k | mipsisa64sr71kel \ |
268 | | mipsisa64sr71k | mipsisa64sr71kel \ |
258 | | mipstx39 | mipstx39el \ |
269 | | mipstx39 | mipstx39el \ |
259 | | mn10200 | mn10300 \ |
270 | | mn10200 | mn10300 \ |
260 | | ms1 \ |
271 | | mt \ |
261 | | msp430 \ |
272 | | msp430 \ |
|
|
273 | | nios | nios2 \ |
262 | | ns16k | ns32k \ |
274 | | ns16k | ns32k \ |
263 | | or32 \ |
275 | | or32 \ |
264 | | pdp10 | pdp11 | pj | pjl \ |
276 | | pdp10 | pdp11 | pj | pjl \ |
265 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
277 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
266 | | pyramid \ |
278 | | pyramid \ |
|
|
279 | | score \ |
267 | | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
280 | | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
268 | | sh64 | sh64le \ |
281 | | sh64 | sh64le \ |
269 | | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ |
282 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
270 | | sparcv8 | sparcv9 | sparcv9b \ |
283 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
271 | | strongarm \ |
284 | | spu | strongarm \ |
272 | | tahoe | thumb | tic4x | tic80 | tron \ |
285 | | tahoe | thumb | tic4x | tic80 | tron \ |
273 | | v850 | v850e \ |
286 | | v850 | v850e \ |
274 | | we32k \ |
287 | | we32k \ |
275 | | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ |
288 | | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
276 | | z8k) |
289 | | z8k) |
277 | basic_machine=$basic_machine-unknown |
|
|
278 | ;; |
|
|
279 | m32c) |
|
|
280 | basic_machine=$basic_machine-unknown |
290 | basic_machine=$basic_machine-unknown |
281 | ;; |
291 | ;; |
282 | m6811 | m68hc11 | m6812 | m68hc12) |
292 | m6811 | m68hc11 | m6812 | m68hc12) |
283 | # Motorola 68HC11/12. |
293 | # Motorola 68HC11/12. |
284 | basic_machine=$basic_machine-unknown |
294 | basic_machine=$basic_machine-unknown |
285 | os=-none |
295 | os=-none |
286 | ;; |
296 | ;; |
287 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
297 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
|
|
298 | ;; |
|
|
299 | ms1) |
|
|
300 | basic_machine=mt-unknown |
288 | ;; |
301 | ;; |
289 | |
302 | |
290 | # We use `pc' rather than `unknown' |
303 | # We use `pc' rather than `unknown' |
291 | # because (1) that's what they normally are, and |
304 | # because (1) that's what they normally are, and |
292 | # (2) the word "unknown" tends to confuse beginning users. |
305 | # (2) the word "unknown" tends to confuse beginning users. |
… | |
… | |
303 | | a29k-* \ |
316 | | a29k-* \ |
304 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
317 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
305 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
318 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
306 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
319 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
307 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
320 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
308 | | avr-* \ |
321 | | avr-* | avr32-* \ |
309 | | bfin-* | bs2000-* \ |
322 | | bfin-* | bs2000-* \ |
310 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
323 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
311 | | clipper-* | craynv-* | cydra-* \ |
324 | | clipper-* | craynv-* | cydra-* \ |
312 | | d10v-* | d30v-* | dlx-* \ |
325 | | d10v-* | d30v-* | dlx-* \ |
313 | | elxsi-* \ |
326 | | elxsi-* \ |
314 | | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
327 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
315 | | h8300-* | h8500-* \ |
328 | | h8300-* | h8500-* \ |
316 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
329 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
317 | | i*86-* | i860-* | i960-* | ia64-* \ |
330 | | i*86-* | i860-* | i960-* | ia64-* \ |
318 | | ip2k-* | iq2000-* \ |
331 | | ip2k-* | iq2000-* \ |
319 | | m32r-* | m32rle-* \ |
332 | | m32c-* | m32r-* | m32rle-* \ |
320 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
333 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
321 | | m88110-* | m88k-* | maxq-* | mcore-* \ |
334 | | m88110-* | m88k-* | maxq-* | mcore-* \ |
322 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
335 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
323 | | mips16-* \ |
336 | | mips16-* \ |
324 | | mips64-* | mips64el-* \ |
337 | | mips64-* | mips64el-* \ |
… | |
… | |
334 | | mipsisa64r2-* | mipsisa64r2el-* \ |
347 | | mipsisa64r2-* | mipsisa64r2el-* \ |
335 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
348 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
336 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
349 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
337 | | mipstx39-* | mipstx39el-* \ |
350 | | mipstx39-* | mipstx39el-* \ |
338 | | mmix-* \ |
351 | | mmix-* \ |
339 | | ms1-* \ |
352 | | mt-* \ |
340 | | msp430-* \ |
353 | | msp430-* \ |
|
|
354 | | nios-* | nios2-* \ |
341 | | none-* | np1-* | ns16k-* | ns32k-* \ |
355 | | none-* | np1-* | ns16k-* | ns32k-* \ |
342 | | orion-* \ |
356 | | orion-* \ |
343 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
357 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
344 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
358 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
345 | | pyramid-* \ |
359 | | pyramid-* \ |
346 | | romp-* | rs6000-* \ |
360 | | romp-* | rs6000-* \ |
347 | | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ |
361 | | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
348 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
362 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
349 | | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ |
363 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
350 | | sparclite-* \ |
364 | | sparclite-* \ |
351 | | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
365 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
352 | | tahoe-* | thumb-* \ |
366 | | tahoe-* | thumb-* \ |
353 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
367 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
354 | | tron-* \ |
368 | | tron-* \ |
355 | | v850-* | v850e-* | vax-* \ |
369 | | v850-* | v850e-* | vax-* \ |
356 | | we32k-* \ |
370 | | we32k-* \ |
357 | | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ |
371 | | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
358 | | xstormy16-* | xtensa-* \ |
372 | | xstormy16-* | xtensa-* \ |
359 | | ymp-* \ |
373 | | ymp-* \ |
360 | | z8k-*) |
374 | | z8k-*) |
361 | ;; |
|
|
362 | m32c-*) |
|
|
363 | ;; |
375 | ;; |
364 | # Recognize the various machine names and aliases which stand |
376 | # Recognize the various machine names and aliases which stand |
365 | # for a CPU type and a company and sometimes even an OS. |
377 | # for a CPU type and a company and sometimes even an OS. |
366 | 386bsd) |
378 | 386bsd) |
367 | basic_machine=i386-unknown |
379 | basic_machine=i386-unknown |
… | |
… | |
461 | ;; |
473 | ;; |
462 | craynv) |
474 | craynv) |
463 | basic_machine=craynv-cray |
475 | basic_machine=craynv-cray |
464 | os=-unicosmp |
476 | os=-unicosmp |
465 | ;; |
477 | ;; |
466 | cr16c) |
478 | cr16) |
467 | basic_machine=cr16c-unknown |
479 | basic_machine=cr16-unknown |
468 | os=-elf |
480 | os=-elf |
469 | ;; |
481 | ;; |
470 | crds | unos) |
482 | crds | unos) |
471 | basic_machine=m68k-crds |
483 | basic_machine=m68k-crds |
472 | ;; |
484 | ;; |
… | |
… | |
669 | ;; |
681 | ;; |
670 | mingw32) |
682 | mingw32) |
671 | basic_machine=i386-pc |
683 | basic_machine=i386-pc |
672 | os=-mingw32 |
684 | os=-mingw32 |
673 | ;; |
685 | ;; |
|
|
686 | mingw32ce) |
|
|
687 | basic_machine=arm-unknown |
|
|
688 | os=-mingw32ce |
|
|
689 | ;; |
674 | miniframe) |
690 | miniframe) |
675 | basic_machine=m68000-convergent |
691 | basic_machine=m68000-convergent |
676 | ;; |
692 | ;; |
677 | *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
693 | *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
678 | basic_machine=m68k-atari |
694 | basic_machine=m68k-atari |
… | |
… | |
693 | os=-morphos |
709 | os=-morphos |
694 | ;; |
710 | ;; |
695 | msdos) |
711 | msdos) |
696 | basic_machine=i386-pc |
712 | basic_machine=i386-pc |
697 | os=-msdos |
713 | os=-msdos |
|
|
714 | ;; |
|
|
715 | ms1-*) |
|
|
716 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
698 | ;; |
717 | ;; |
699 | mvs) |
718 | mvs) |
700 | basic_machine=i370-ibm |
719 | basic_machine=i370-ibm |
701 | os=-mvs |
720 | os=-mvs |
702 | ;; |
721 | ;; |
… | |
… | |
801 | basic_machine=m68k-tti |
820 | basic_machine=m68k-tti |
802 | ;; |
821 | ;; |
803 | pc532 | pc532-*) |
822 | pc532 | pc532-*) |
804 | basic_machine=ns32k-pc532 |
823 | basic_machine=ns32k-pc532 |
805 | ;; |
824 | ;; |
|
|
825 | pc98) |
|
|
826 | basic_machine=i386-pc |
|
|
827 | ;; |
|
|
828 | pc98-*) |
|
|
829 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
830 | ;; |
806 | pentium | p5 | k5 | k6 | nexgen | viac3) |
831 | pentium | p5 | k5 | k6 | nexgen | viac3) |
807 | basic_machine=i586-pc |
832 | basic_machine=i586-pc |
808 | ;; |
833 | ;; |
809 | pentiumpro | p6 | 6x86 | athlon | athlon_*) |
834 | pentiumpro | p6 | 6x86 | athlon | athlon_*) |
810 | basic_machine=i686-pc |
835 | basic_machine=i686-pc |
… | |
… | |
857 | ;; |
882 | ;; |
858 | pw32) |
883 | pw32) |
859 | basic_machine=i586-unknown |
884 | basic_machine=i586-unknown |
860 | os=-pw32 |
885 | os=-pw32 |
861 | ;; |
886 | ;; |
|
|
887 | rdos) |
|
|
888 | basic_machine=i386-pc |
|
|
889 | os=-rdos |
|
|
890 | ;; |
862 | rom68k) |
891 | rom68k) |
863 | basic_machine=m68k-rom68k |
892 | basic_machine=m68k-rom68k |
864 | os=-coff |
893 | os=-coff |
865 | ;; |
894 | ;; |
866 | rm[46]00) |
895 | rm[46]00) |
… | |
… | |
883 | basic_machine=mipsisa64sb1-unknown |
912 | basic_machine=mipsisa64sb1-unknown |
884 | ;; |
913 | ;; |
885 | sb1el) |
914 | sb1el) |
886 | basic_machine=mipsisa64sb1el-unknown |
915 | basic_machine=mipsisa64sb1el-unknown |
887 | ;; |
916 | ;; |
|
|
917 | sde) |
|
|
918 | basic_machine=mipsisa32-sde |
|
|
919 | os=-elf |
|
|
920 | ;; |
888 | sei) |
921 | sei) |
889 | basic_machine=mips-sei |
922 | basic_machine=mips-sei |
890 | os=-seiux |
923 | os=-seiux |
891 | ;; |
924 | ;; |
892 | sequent) |
925 | sequent) |
893 | basic_machine=i386-sequent |
926 | basic_machine=i386-sequent |
894 | ;; |
927 | ;; |
895 | sh) |
928 | sh) |
896 | basic_machine=sh-hitachi |
929 | basic_machine=sh-hitachi |
897 | os=-hms |
930 | os=-hms |
|
|
931 | ;; |
|
|
932 | sh5el) |
|
|
933 | basic_machine=sh5le-unknown |
898 | ;; |
934 | ;; |
899 | sh64) |
935 | sh64) |
900 | basic_machine=sh64-unknown |
936 | basic_machine=sh64-unknown |
901 | ;; |
937 | ;; |
902 | sparclite-wrs | simso-wrs) |
938 | sparclite-wrs | simso-wrs) |
… | |
… | |
1099 | basic_machine=we32k-att |
1135 | basic_machine=we32k-att |
1100 | ;; |
1136 | ;; |
1101 | sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) |
1137 | sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) |
1102 | basic_machine=sh-unknown |
1138 | basic_machine=sh-unknown |
1103 | ;; |
1139 | ;; |
1104 | sparc | sparcv8 | sparcv9 | sparcv9b) |
1140 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
1105 | basic_machine=sparc-sun |
1141 | basic_machine=sparc-sun |
1106 | ;; |
1142 | ;; |
1107 | cydra) |
1143 | cydra) |
1108 | basic_machine=cydra-cydrome |
1144 | basic_machine=cydra-cydrome |
1109 | ;; |
1145 | ;; |
… | |
… | |
1172 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
1208 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
1173 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1209 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1174 | | -aos* \ |
1210 | | -aos* \ |
1175 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1211 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1176 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1212 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1177 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ |
1213 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
|
|
1214 | | -openbsd* | -solidbsd* \ |
1178 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1215 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1179 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1216 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1180 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1217 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1181 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1218 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1182 | | -chorusos* | -chorusrdb* \ |
1219 | | -chorusos* | -chorusrdb* \ |
1183 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1220 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1184 | | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ |
1221 | | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
|
|
1222 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
1185 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1223 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1186 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1224 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1187 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1225 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1188 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1226 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1189 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1227 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1190 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1228 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1191 | | -skyos* | -haiku*) |
1229 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) |
1192 | # Remember, each alternative MUST END IN *, to match a version number. |
1230 | # Remember, each alternative MUST END IN *, to match a version number. |
1193 | ;; |
1231 | ;; |
1194 | -qnx*) |
1232 | -qnx*) |
1195 | case $basic_machine in |
1233 | case $basic_machine in |
1196 | x86-* | i*86-*) |
1234 | x86-* | i*86-*) |
… | |
… | |
1338 | # that MANUFACTURER isn't an operating system. Otherwise, code above |
1376 | # that MANUFACTURER isn't an operating system. Otherwise, code above |
1339 | # will signal an error saying that MANUFACTURER isn't an operating |
1377 | # will signal an error saying that MANUFACTURER isn't an operating |
1340 | # system, and we'll never get to this point. |
1378 | # system, and we'll never get to this point. |
1341 | |
1379 | |
1342 | case $basic_machine in |
1380 | case $basic_machine in |
|
|
1381 | score-*) |
|
|
1382 | os=-elf |
|
|
1383 | ;; |
|
|
1384 | spu-*) |
|
|
1385 | os=-elf |
|
|
1386 | ;; |
1343 | *-acorn) |
1387 | *-acorn) |
1344 | os=-riscix1.2 |
1388 | os=-riscix1.2 |
1345 | ;; |
1389 | ;; |
1346 | arm*-rebel) |
1390 | arm*-rebel) |
1347 | os=-linux |
1391 | os=-linux |
1348 | ;; |
1392 | ;; |
1349 | arm*-semi) |
1393 | arm*-semi) |
1350 | os=-aout |
1394 | os=-aout |
1351 | ;; |
1395 | ;; |
1352 | c4x-* | tic4x-*) |
1396 | c4x-* | tic4x-*) |
1353 | os=-coff |
1397 | os=-coff |
1354 | ;; |
1398 | ;; |
1355 | # This must come before the *-dec entry. |
1399 | # This must come before the *-dec entry. |
1356 | pdp10-*) |
1400 | pdp10-*) |
1357 | os=-tops20 |
1401 | os=-tops20 |
1358 | ;; |
1402 | ;; |
1359 | pdp11-*) |
1403 | pdp11-*) |
… | |
… | |
1374 | # default. |
1418 | # default. |
1375 | # os=-sunos4 |
1419 | # os=-sunos4 |
1376 | ;; |
1420 | ;; |
1377 | m68*-cisco) |
1421 | m68*-cisco) |
1378 | os=-aout |
1422 | os=-aout |
|
|
1423 | ;; |
|
|
1424 | mep-*) |
|
|
1425 | os=-elf |
1379 | ;; |
1426 | ;; |
1380 | mips*-cisco) |
1427 | mips*-cisco) |
1381 | os=-elf |
1428 | os=-elf |
1382 | ;; |
1429 | ;; |
1383 | mips*-*) |
1430 | mips*-*) |