/[grub]/grub/config.sub
ViewVC logotype

Diff of /grub/config.sub

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by okuji, Mon Apr 29 00:19:34 2002 UTC revision 1.4 by robertmh, Fri Oct 10 09:56:02 2003 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Configuration validation subroutine script.  # Configuration validation subroutine script.
3  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4  #   2000, 2001, 2002 Free Software Foundation, Inc.  #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5    
6  timestamp='2002-04-26'  timestamp='2003-10-07'
7    
8  # This file is (in principle) common to ALL GNU software.  # This file is (in principle) common to ALL GNU software.
9  # The presence of a machine in this file suggests that SOME GNU software  # The presence of a machine in this file suggests that SOME GNU software
# Line 118  esac Line 118  esac
118  # Here we must recognize all the valid KERNEL-OS combinations.  # Here we must recognize all the valid KERNEL-OS combinations.
119  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120  case $maybe_os in  case $maybe_os in
121    nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)    nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122      os=-$maybe_os      os=-$maybe_os
123      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124      ;;      ;;
# Line 228  case $basic_machine in Line 228  case $basic_machine in
228          | a29k \          | a29k \
229          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231            | am33_2.0 \
232          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
233          | c4x | clipper \          | c4x | clipper \
234          | d10v | d30v | dsp16xx \          | d10v | d30v | dlx | dsp16xx \
235          | fr30 \          | fr30 | frv \
236          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
237          | i370 | i860 | i960 | ia64 \          | i370 | i860 | i960 | ia64 \
238            | ip2k | iq2000 \
239          | m32r | m68000 | m68k | m88k | mcore \          | m32r | m68000 | m68k | m88k | mcore \
240          | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \          | mips | mipsbe | mipseb | mipsel | mipsle \
241          | mips64vr4100 | mips64vr4100el | mips64vr4300 \          | mips16 \
242          | mips64vr4300el | mips64vr5000 | mips64vr5000el \          | mips64 | mips64el \
243          | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \          | mips64vr | mips64vrel \
244          | mipsisa32 | mipsisa64 \          | mips64orion | mips64orionel \
245            | mips64vr4100 | mips64vr4100el \
246            | mips64vr4300 | mips64vr4300el \
247            | mips64vr5000 | mips64vr5000el \
248            | mipsisa32 | mipsisa32el \
249            | mipsisa32r2 | mipsisa32r2el \
250            | mipsisa64 | mipsisa64el \
251            | mipsisa64r2 | mipsisa64r2el \
252            | mipsisa64sb1 | mipsisa64sb1el \
253            | mipsisa64sr71k | mipsisa64sr71kel \
254            | mipstx39 | mipstx39el \
255          | mn10200 | mn10300 \          | mn10200 | mn10300 \
256            | msp430 \
257          | ns16k | ns32k \          | ns16k | ns32k \
258          | openrisc | or32 \          | openrisc | or32 \
259          | pdp10 | pdp11 | pj | pjl \          | pdp10 | pdp11 | pj | pjl \
260          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
261          | pyramid \          | pyramid \
262          | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \          | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
263            | sh64 | sh64le \
264          | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \          | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
265          | strongarm \          | strongarm \
266          | tahoe | thumb | tic80 | tron \          | tahoe | thumb | tic4x | tic80 | tron \
267          | v850 | v850e \          | v850 | v850e \
268          | we32k \          | we32k \
269          | x86 | xscale | xstormy16 | xtensa \          | x86 | xscale | xstormy16 | xtensa \
# Line 281  case $basic_machine in Line 295  case $basic_machine in
295          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
296          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
297          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
298          | arm-*  | armbe-* | armle-* | armv*-* \          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
299          | avr-* \          | avr-* \
300          | bs2000-* \          | bs2000-* \
301          | c[123]* | c30-* | [cjt]90-* | c54x-* \          | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
302          | clipper-* | cydra-* \          | clipper-* | cydra-* \
303          | d10v-* | d30v-* \          | d10v-* | d30v-* | dlx-* \
304          | elxsi-* \          | elxsi-* \
305          | f30[01]-* | f700-* | fr30-* | fx80-* \          | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
306          | h8300-* | h8500-* \          | h8300-* | h8500-* \
307          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
308          | i*86-* | i860-* | i960-* | ia64-* \          | i*86-* | i860-* | i960-* | ia64-* \
309            | ip2k-* | iq2000-* \
310          | m32r-* \          | m32r-* \
311          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
312          | m88110-* | m88k-* | mcore-* \          | m88110-* | m88k-* | mcore-* \
313          | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
314          | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \          | mips16-* \
315          | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \          | mips64-* | mips64el-* \
316          | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \          | mips64vr-* | mips64vrel-* \
317          | none-* | np1-* | ns16k-* | ns32k-* \          | mips64orion-* | mips64orionel-* \
318            | mips64vr4100-* | mips64vr4100el-* \
319            | mips64vr4300-* | mips64vr4300el-* \
320            | mips64vr5000-* | mips64vr5000el-* \
321            | mipsisa32-* | mipsisa32el-* \
322            | mipsisa32r2-* | mipsisa32r2el-* \
323            | mipsisa64-* | mipsisa64el-* \
324            | mipsisa64r2-* | mipsisa64r2el-* \
325            | mipsisa64sb1-* | mipsisa64sb1el-* \
326            | mipsisa64sr71k-* | mipsisa64sr71kel-* \
327            | mipstx39-* | mipstx39el-* \
328            | msp430-* \
329            | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
330          | orion-* \          | orion-* \
331          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
332          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
333          | pyramid-* \          | pyramid-* \
334          | romp-* | rs6000-* \          | romp-* | rs6000-* \
335          | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \          | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
336            | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
337          | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \          | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
338          | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \          | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
339          | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \          | tahoe-* | thumb-* \
340            | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
341            | tron-* \
342          | v850-* | v850e-* | vax-* \          | v850-* | v850e-* | vax-* \
343          | we32k-* \          | we32k-* \
344          | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \          | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
# Line 346  case $basic_machine in Line 376  case $basic_machine in
376                  basic_machine=a29k-none                  basic_machine=a29k-none
377                  os=-bsd                  os=-bsd
378                  ;;                  ;;
379            amd64)
380                    basic_machine=x86_64-pc
381                    ;;
382          amdahl)          amdahl)
383                  basic_machine=580-amdahl                  basic_machine=580-amdahl
384                  os=-sysv                  os=-sysv
# Line 695  case $basic_machine in Line 728  case $basic_machine in
728          np1)          np1)
729                  basic_machine=np1-gould                  basic_machine=np1-gould
730                  ;;                  ;;
731            nv1)
732                    basic_machine=nv1-cray
733                    os=-unicosmp
734                    ;;
735          nsr-tandem)          nsr-tandem)
736                  basic_machine=nsr-tandem                  basic_machine=nsr-tandem
737                  ;;                  ;;
# Line 728  case $basic_machine in Line 765  case $basic_machine in
765          pbb)          pbb)
766                  basic_machine=m68k-tti                  basic_machine=m68k-tti
767                  ;;                  ;;
768          pc532 | pc532-*)          pc532 | pc532-*)
769                  basic_machine=ns32k-pc532                  basic_machine=ns32k-pc532
770                  ;;                  ;;
771          pentium | p5 | k5 | k6 | nexgen | viac3)          pentium | p5 | k5 | k6 | nexgen | viac3)
772                  basic_machine=i586-pc                  basic_machine=i586-pc
773                  ;;                  ;;
774          pentiumpro | p6 | 6x86 | athlon)          pentiumpro | p6 | 6x86 | athlon | athlon_*)
775                  basic_machine=i686-pc                  basic_machine=i686-pc
776                  ;;                  ;;
777          pentiumii | pentium2)          pentiumii | pentium2 | pentiumiii | pentium3)
778                  basic_machine=i686-pc                  basic_machine=i686-pc
779                  ;;                  ;;
780            pentium4)
781                    basic_machine=i786-pc
782                    ;;
783          pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)          pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
784                  basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
785                  ;;                  ;;
786          pentiumpro-* | p6-* | 6x86-* | athlon-*)          pentiumpro-* | p6-* | 6x86-* | athlon-*)
787                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
788                  ;;                  ;;
789          pentiumii-* | pentium2-*)          pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
790                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
791                  ;;                  ;;
792            pentium4-*)
793                    basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
794                    ;;
795          pn)          pn)
796                  basic_machine=pn-gould                  basic_machine=pn-gould
797                  ;;                  ;;
798          power)  basic_machine=power-ibm          power)  basic_machine=power-ibm
799                  ;;                  ;;
800          ppc)    basic_machine=powerpc-unknown          ppc)    basic_machine=powerpc-unknown
801                  ;;                  ;;
802          ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`          ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
803                  ;;                  ;;
804          ppcle | powerpclittle | ppc-le | powerpc-little)          ppcle | powerpclittle | ppc-le | powerpc-little)
805                  basic_machine=powerpcle-unknown                  basic_machine=powerpcle-unknown
806                  ;;                  ;;
807          ppcle-* | powerpclittle-*)          ppcle-* | powerpclittle-*)
808                  basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
809                  ;;                  ;;
810          ppc64)  basic_machine=powerpc64-unknown          ppc64)  basic_machine=powerpc64-unknown
811                  ;;                  ;;
812          ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`          ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
813                  ;;                  ;;
814          ppc64le | powerpc64little | ppc64-le | powerpc64-little)          ppc64le | powerpc64little | ppc64-le | powerpc64-little)
815                  basic_machine=powerpc64le-unknown                  basic_machine=powerpc64le-unknown
816                  ;;                  ;;
817          ppc64le-* | powerpc64little-*)          ppc64le-* | powerpc64little-*)
818                  basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
819                  ;;                  ;;
# Line 801  case $basic_machine in Line 844  case $basic_machine in
844                  basic_machine=a29k-amd                  basic_machine=a29k-amd
845                  os=-udi                  os=-udi
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                    ;;
857          sequent)          sequent)
858                  basic_machine=i386-sequent                  basic_machine=i386-sequent
859                  ;;                  ;;
# Line 808  case $basic_machine in Line 861  case $basic_machine in
861                  basic_machine=sh-hitachi                  basic_machine=sh-hitachi
862                  os=-hms                  os=-hms
863                  ;;                  ;;
864            sh64)
865                    basic_machine=sh64-unknown
866                    ;;
867          sparclite-wrs | simso-wrs)          sparclite-wrs | simso-wrs)
868                  basic_machine=sparclite-wrs                  basic_machine=sparclite-wrs
869                  os=-vxworks                  os=-vxworks
# Line 866  case $basic_machine in Line 922  case $basic_machine in
922          sun386 | sun386i | roadrunner)          sun386 | sun386i | roadrunner)
923                  basic_machine=i386-sun                  basic_machine=i386-sun
924                  ;;                  ;;
925          sv1)          sv1)
926                  basic_machine=sv1-cray                  basic_machine=sv1-cray
927                  os=-unicos                  os=-unicos
928                  ;;                  ;;
# Line 874  case $basic_machine in Line 930  case $basic_machine in
930                  basic_machine=i386-sequent                  basic_machine=i386-sequent
931                  os=-dynix                  os=-dynix
932                  ;;                  ;;
         t3d)  
                 basic_machine=alpha-cray  
                 os=-unicos  
                 ;;  
933          t3e)          t3e)
934                  basic_machine=alphaev5-cray                  basic_machine=alphaev5-cray
935                  os=-unicos                  os=-unicos
# Line 890  case $basic_machine in Line 942  case $basic_machine in
942                  basic_machine=tic54x-unknown                  basic_machine=tic54x-unknown
943                  os=-coff                  os=-coff
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                    ;;
953          tx39)          tx39)
954                  basic_machine=mipstx39-unknown                  basic_machine=mipstx39-unknown
955                  ;;                  ;;
# Line 924  case $basic_machine in Line 984  case $basic_machine in
984                  os=-vms                  os=-vms
985                  ;;                  ;;
986          vpp*|vx|vx-*)          vpp*|vx|vx-*)
987                 basic_machine=f301-fujitsu                  basic_machine=f301-fujitsu
988                 ;;                  ;;
989          vxworks960)          vxworks960)
990                  basic_machine=i960-wrs                  basic_machine=i960-wrs
991                  os=-vxworks                  os=-vxworks
# Line 946  case $basic_machine in Line 1006  case $basic_machine in
1006                  basic_machine=hppa1.1-winbond                  basic_machine=hppa1.1-winbond
1007                  os=-proelf                  os=-proelf
1008                  ;;                  ;;
1009          windows32)          xps | xps100)
                 basic_machine=i386-pc  
                 os=-windows32-msvcrt  
                 ;;  
         xps | xps100)  
1010                  basic_machine=xps100-honeywell                  basic_machine=xps100-honeywell
1011                  ;;                  ;;
1012          ymp)          ymp)
# Line 996  case $basic_machine in Line 1052  case $basic_machine in
1052          we32k)          we32k)
1053                  basic_machine=we32k-att                  basic_machine=we32k-att
1054                  ;;                  ;;
1055          sh3 | sh4 | sh3eb | sh4eb)          sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1056                  basic_machine=sh-unknown                  basic_machine=sh-unknown
1057                  ;;                  ;;
1058          sh64)          sh64)
# Line 1005  case $basic_machine in Line 1061  case $basic_machine in
1061          sparc | sparcv9 | sparcv9b)          sparc | sparcv9 | sparcv9b)
1062                  basic_machine=sparc-sun                  basic_machine=sparc-sun
1063                  ;;                  ;;
1064          cydra)          cydra)
1065                  basic_machine=cydra-cydrome                  basic_machine=cydra-cydrome
1066                  ;;                  ;;
1067          orion)          orion)
# Line 1020  case $basic_machine in Line 1076  case $basic_machine in
1076          pmac | pmac-mpw)          pmac | pmac-mpw)
1077                  basic_machine=powerpc-apple                  basic_machine=powerpc-apple
1078                  ;;                  ;;
         c4x*)  
                 basic_machine=c4x-none  
                 os=-coff  
                 ;;  
1079          *-unknown)          *-unknown)
1080                  # Make sure to match an already-canonicalized machine name.                  # Make sure to match an already-canonicalized machine name.
1081                  ;;                  ;;
# Line 1079  case $os in Line 1131  case $os in
1131                | -aos* \                | -aos* \
1132                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1133                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1134                | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \                | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1135                | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \                | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1136                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1137                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1138                | -chorusos* | -chorusrdb* \                | -chorusos* | -chorusrdb* \
1139                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1140                | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \                | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1141                | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1142                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1143                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1144                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1145                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* )                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1146                  | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
1147          # Remember, each alternative MUST END IN *, to match a version number.          # Remember, each alternative MUST END IN *, to match a version number.
1148                  ;;                  ;;
1149          -qnx*)          -qnx*)
# Line 1102  case $os in Line 1155  case $os in
1155                          ;;                          ;;
1156                  esac                  esac
1157                  ;;                  ;;
1158            -nto-qnx*)
1159                    ;;
1160          -nto*)          -nto*)
1161                  os=-nto-qnx                  os=`echo $os | sed -e 's|nto|nto-qnx|'`
1162                  ;;                  ;;
1163          -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \          -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1164                | -windows* | -osx | -abug | -netware* | -os9* | -beos* \                | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
# Line 1112  case $os in Line 1167  case $os in
1167          -mac*)          -mac*)
1168                  os=`echo $os | sed -e 's|mac|macos|'`                  os=`echo $os | sed -e 's|mac|macos|'`
1169                  ;;                  ;;
1170            -linux-dietlibc)
1171                    os=-linux-dietlibc
1172                    ;;
1173          -linux*)          -linux*)
1174                  os=`echo $os | sed -e 's|linux|linux-gnu|'`                  os=`echo $os | sed -e 's|linux|linux-gnu|'`
1175                  ;;                  ;;
# Line 1155  case $os in Line 1213  case $os in
1213                  os=-rtmk-nova                  os=-rtmk-nova
1214                  ;;                  ;;
1215          -ns2 )          -ns2 )
1216                  os=-nextstep2                  os=-nextstep2
1217                  ;;                  ;;
1218          -nsk*)          -nsk*)
1219                  os=-nsk                  os=-nsk
# Line 1194  case $os in Line 1252  case $os in
1252          -xenix)          -xenix)
1253                  os=-xenix                  os=-xenix
1254                  ;;                  ;;
1255          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1256                  os=-mint                  os=-mint
1257                    ;;
1258            -aros*)
1259                    os=-aros
1260                    ;;
1261            -kaos*)
1262                    os=-kaos
1263                  ;;                  ;;
1264          -none)          -none)
1265                  ;;                  ;;
# Line 1228  case $basic_machine in Line 1292  case $basic_machine in
1292          arm*-semi)          arm*-semi)
1293                  os=-aout                  os=-aout
1294                  ;;                  ;;
1295        c4x-* | tic4x-*)
1296            os=-coff
1297            ;;
1298          # This must come before the *-dec entry.          # This must come before the *-dec entry.
1299          pdp10-*)          pdp10-*)
1300                  os=-tops20                  os=-tops20
1301                  ;;                  ;;
1302          pdp11-*)          pdp11-*)
1303                  os=-none                  os=-none
1304                  ;;                  ;;
1305          *-dec | vax-*)          *-dec | vax-*)
# Line 1325  case $basic_machine in Line 1392  case $basic_machine in
1392          *-next)          *-next)
1393                  os=-nextstep3                  os=-nextstep3
1394                  ;;                  ;;
1395          *-gould)          *-gould)
1396                  os=-sysv                  os=-sysv
1397                  ;;                  ;;
1398          *-highlevel)          *-highlevel)
1399                  os=-bsd                  os=-bsd
1400                  ;;                  ;;
1401          *-encore)          *-encore)
1402                  os=-bsd                  os=-bsd
1403                  ;;                  ;;
1404          *-sgi)          *-sgi)
1405                  os=-irix                  os=-irix
1406                  ;;                  ;;
1407          *-siemens)          *-siemens)
1408                  os=-sysv4                  os=-sysv4
1409                  ;;                  ;;
1410          *-masscomp)          *-masscomp)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26