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

Diff of /gcl/config.sub

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

revision 1.3 by camm, Tue Oct 15 18:57:12 2002 UTC revision 1.3.4.1 by camm, Wed Jul 16 02:02:46 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-03-07'  timestamp='2003-05-09'
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* | freebsd*-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 229  case $basic_machine in Line 229  case $basic_machine in
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          | 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 \
232          | c4x | clipper \          | clipper \
233          | d10v | d30v | dsp16xx \          | d10v | d30v | dlx | dsp16xx \
234          | fr30 \          | fr30 | frv \
235          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236          | i370 | i860 | i960 | ia64 \          | i370 | i860 | i960 | ia64 \
237            | ip2k \
238          | m32r | m68000 | m68k | m88k | mcore \          | m32r | m68000 | m68k | m88k | mcore \
239          | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \          | mips | mipsbe | mipseb | mipsel | mipsle \
240          | mips64vr4100 | mips64vr4100el | mips64vr4300 \          | mips16 \
241          | mips64vr4300el | mips64vr5000 | mips64vr5000el \          | mips64 | mips64el \
242          | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \          | mips64vr | mips64vrel \
243          | mipsisa32 | mipsisa64 \          | mips64orion | mips64orionel \
244            | mips64vr4100 | mips64vr4100el \
245            | mips64vr4300 | mips64vr4300el \
246            | mips64vr5000 | mips64vr5000el \
247            | mipsisa32 | mipsisa32el \
248            | mipsisa32r2 | mipsisa32r2el \
249            | mipsisa64 | mipsisa64el \
250            | mipsisa64sb1 | mipsisa64sb1el \
251            | mipsisa64sr71k | mipsisa64sr71kel \
252            | mipstx39 | mipstx39el \
253          | mn10200 | mn10300 \          | mn10200 | mn10300 \
254            | msp430 \
255          | ns16k | ns32k \          | ns16k | ns32k \
256          | openrisc | or32 \          | openrisc | or32 \
257          | pdp10 | pdp11 | pj | pjl \          | pdp10 | pdp11 | pj | pjl \
258          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
259          | pyramid \          | pyramid \
260          | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \          | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
261            | sh64 | sh64le \
262          | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \          | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
263          | strongarm \          | strongarm \
264          | tahoe | thumb | tic80 | tron \          | tahoe | thumb | tic80 | tron \
# Line 281  case $basic_machine in Line 293  case $basic_machine in
293          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
294          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
295          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
296          | arm-*  | armbe-* | armle-* | armv*-* \          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
297          | avr-* \          | avr-* \
298          | bs2000-* \          | bs2000-* \
299          | c[123]* | c30-* | [cjt]90-* | c54x-* \          | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
300          | clipper-* | cydra-* \          | clipper-* | cydra-* \
301          | d10v-* | d30v-* \          | d10v-* | d30v-* | dlx-* \
302          | elxsi-* \          | elxsi-* \
303          | f30[01]-* | f700-* | fr30-* | fx80-* \          | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
304          | h8300-* | h8500-* \          | h8300-* | h8500-* \
305          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
306          | i*86-* | i860-* | i960-* | ia64-* \          | i*86-* | i860-* | i960-* | ia64-* \
307            | ip2k-* \
308          | m32r-* \          | m32r-* \
309          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
310          | m88110-* | m88k-* | mcore-* \          | m88110-* | m88k-* | mcore-* \
311          | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
312          | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \          | mips16-* \
313          | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \          | mips64-* | mips64el-* \
314          | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \          | mips64vr-* | mips64vrel-* \
315          | none-* | np1-* | ns16k-* | ns32k-* \          | mips64orion-* | mips64orionel-* \
316            | mips64vr4100-* | mips64vr4100el-* \
317            | mips64vr4300-* | mips64vr4300el-* \
318            | mips64vr5000-* | mips64vr5000el-* \
319            | mipsisa32-* | mipsisa32el-* \
320            | mipsisa32r2-* | mipsisa32r2el-* \
321            | mipsisa64-* | mipsisa64el-* \
322            | mipsisa64sb1-* | mipsisa64sb1el-* \
323            | mipsisa64sr71k-* | mipsisa64sr71kel-* \
324            | mipstx39-* | mipstx39el-* \
325            | msp430-* \
326            | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
327          | orion-* \          | orion-* \
328          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
329          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
330          | pyramid-* \          | pyramid-* \
331          | romp-* | rs6000-* \          | romp-* | rs6000-* \
332          | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \          | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
333            | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
334          | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \          | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
335          | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \          | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
336          | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \          | tahoe-* | thumb-* \
337            | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
338            | tron-* \
339          | v850-* | v850e-* | vax-* \          | v850-* | v850e-* | vax-* \
340          | we32k-* \          | we32k-* \
341          | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \          | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
# Line 346  case $basic_machine in Line 373  case $basic_machine in
373                  basic_machine=a29k-none                  basic_machine=a29k-none
374                  os=-bsd                  os=-bsd
375                  ;;                  ;;
376            amd64)
377                    basic_machine=x86_64-pc
378                    ;;
379          amdahl)          amdahl)
380                  basic_machine=580-amdahl                  basic_machine=580-amdahl
381                  os=-sysv                  os=-sysv
# Line 695  case $basic_machine in Line 725  case $basic_machine in
725          np1)          np1)
726                  basic_machine=np1-gould                  basic_machine=np1-gould
727                  ;;                  ;;
728            nv1)
729                    basic_machine=nv1-cray
730                    os=-unicosmp
731                    ;;
732          nsr-tandem)          nsr-tandem)
733                  basic_machine=nsr-tandem                  basic_machine=nsr-tandem
734                  ;;                  ;;
# Line 728  case $basic_machine in Line 762  case $basic_machine in
762          pbb)          pbb)
763                  basic_machine=m68k-tti                  basic_machine=m68k-tti
764                  ;;                  ;;
765          pc532 | pc532-*)          pc532 | pc532-*)
766                  basic_machine=ns32k-pc532                  basic_machine=ns32k-pc532
767                  ;;                  ;;
768          pentium | p5 | k5 | k6 | nexgen | viac3)          pentium | p5 | k5 | k6 | nexgen | viac3)
769                  basic_machine=i586-pc                  basic_machine=i586-pc
770                  ;;                  ;;
771          pentiumpro | p6 | 6x86 | athlon)          pentiumpro | p6 | 6x86 | athlon | athlon_*)
772                  basic_machine=i686-pc                  basic_machine=i686-pc
773                  ;;                  ;;
774          pentiumii | pentium2)          pentiumii | pentium2)
# Line 755  case $basic_machine in Line 789  case $basic_machine in
789          power)  basic_machine=power-ibm          power)  basic_machine=power-ibm
790                  ;;                  ;;
791          ppc)    basic_machine=powerpc-unknown          ppc)    basic_machine=powerpc-unknown
792                  ;;                  ;;
793          ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`          ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
794                  ;;                  ;;
795          ppcle | powerpclittle | ppc-le | powerpc-little)          ppcle | powerpclittle | ppc-le | powerpc-little)
796                  basic_machine=powerpcle-unknown                  basic_machine=powerpcle-unknown
797                  ;;                  ;;
798          ppcle-* | powerpclittle-*)          ppcle-* | powerpclittle-*)
799                  basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
800                  ;;                  ;;
801          ppc64)  basic_machine=powerpc64-unknown          ppc64)  basic_machine=powerpc64-unknown
802                  ;;                  ;;
803          ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`          ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
804                  ;;                  ;;
805          ppc64le | powerpc64little | ppc64-le | powerpc64-little)          ppc64le | powerpc64little | ppc64-le | powerpc64-little)
806                  basic_machine=powerpc64le-unknown                  basic_machine=powerpc64le-unknown
807                  ;;                  ;;
808          ppc64le-* | powerpc64little-*)          ppc64le-* | powerpc64little-*)
809                  basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
810                  ;;                  ;;
# Line 801  case $basic_machine in Line 835  case $basic_machine in
835                  basic_machine=a29k-amd                  basic_machine=a29k-amd
836                  os=-udi                  os=-udi
837                  ;;                  ;;
838            sb1)
839                    basic_machine=mipsisa64sb1-unknown
840                    ;;
841            sb1el)
842                    basic_machine=mipsisa64sb1el-unknown
843                    ;;
844          sequent)          sequent)
845                  basic_machine=i386-sequent                  basic_machine=i386-sequent
846                  ;;                  ;;
# Line 866  case $basic_machine in Line 906  case $basic_machine in
906          sun386 | sun386i | roadrunner)          sun386 | sun386i | roadrunner)
907                  basic_machine=i386-sun                  basic_machine=i386-sun
908                  ;;                  ;;
909          sv1)          sv1)
910                  basic_machine=sv1-cray                  basic_machine=sv1-cray
911                  os=-unicos                  os=-unicos
912                  ;;                  ;;
# Line 874  case $basic_machine in Line 914  case $basic_machine in
914                  basic_machine=i386-sequent                  basic_machine=i386-sequent
915                  os=-dynix                  os=-dynix
916                  ;;                  ;;
         t3d)  
                 basic_machine=alpha-cray  
                 os=-unicos  
                 ;;  
917          t3e)          t3e)
918                  basic_machine=alphaev5-cray                  basic_machine=alphaev5-cray
919                  os=-unicos                  os=-unicos
# Line 886  case $basic_machine in Line 922  case $basic_machine in
922                  basic_machine=t90-cray                  basic_machine=t90-cray
923                  os=-unicos                  os=-unicos
924                  ;;                  ;;
925            tic4x | c4x*)
926                    basic_machine=tic4x-unknown
927                    os=-coff
928                    ;;
929          tic54x | c54x*)          tic54x | c54x*)
930                  basic_machine=tic54x-unknown                  basic_machine=tic54x-unknown
931                  os=-coff                  os=-coff
932                  ;;                  ;;
933            tic55x | c55x*)
934                    basic_machine=tic55x-unknown
935                    os=-coff
936                    ;;
937            tic6x | c6x*)
938                    basic_machine=tic6x-unknown
939                    os=-coff
940                    ;;
941          tx39)          tx39)
942                  basic_machine=mipstx39-unknown                  basic_machine=mipstx39-unknown
943                  ;;                  ;;
# Line 924  case $basic_machine in Line 972  case $basic_machine in
972                  os=-vms                  os=-vms
973                  ;;                  ;;
974          vpp*|vx|vx-*)          vpp*|vx|vx-*)
975                 basic_machine=f301-fujitsu                  basic_machine=f301-fujitsu
976                 ;;                  ;;
977          vxworks960)          vxworks960)
978                  basic_machine=i960-wrs                  basic_machine=i960-wrs
979                  os=-vxworks                  os=-vxworks
# Line 946  case $basic_machine in Line 994  case $basic_machine in
994                  basic_machine=hppa1.1-winbond                  basic_machine=hppa1.1-winbond
995                  os=-proelf                  os=-proelf
996                  ;;                  ;;
997          windows32)          xps | xps100)
                 basic_machine=i386-pc  
                 os=-windows32-msvcrt  
                 ;;  
         xps | xps100)  
998                  basic_machine=xps100-honeywell                  basic_machine=xps100-honeywell
999                  ;;                  ;;
1000          ymp)          ymp)
# Line 996  case $basic_machine in Line 1040  case $basic_machine in
1040          we32k)          we32k)
1041                  basic_machine=we32k-att                  basic_machine=we32k-att
1042                  ;;                  ;;
1043          sh3 | sh4 | sh3eb | sh4eb)          sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1044                  basic_machine=sh-unknown                  basic_machine=sh-unknown
1045                  ;;                  ;;
1046          sh64)          sh64)
# Line 1005  case $basic_machine in Line 1049  case $basic_machine in
1049          sparc | sparcv9 | sparcv9b)          sparc | sparcv9 | sparcv9b)
1050                  basic_machine=sparc-sun                  basic_machine=sparc-sun
1051                  ;;                  ;;
1052          cydra)          cydra)
1053                  basic_machine=cydra-cydrome                  basic_machine=cydra-cydrome
1054                  ;;                  ;;
1055          orion)          orion)
# Line 1020  case $basic_machine in Line 1064  case $basic_machine in
1064          pmac | pmac-mpw)          pmac | pmac-mpw)
1065                  basic_machine=powerpc-apple                  basic_machine=powerpc-apple
1066                  ;;                  ;;
         c4x*)  
                 basic_machine=c4x-none  
                 os=-coff  
                 ;;  
1067          *-unknown)          *-unknown)
1068                  # Make sure to match an already-canonicalized machine name.                  # Make sure to match an already-canonicalized machine name.
1069                  ;;                  ;;
# Line 1086  case $os in Line 1126  case $os in
1126                | -chorusos* | -chorusrdb* \                | -chorusos* | -chorusrdb* \
1127                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1128                | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \                | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1129                | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1130                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1131                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1132                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1133                | -morphos* | -superux* | -rtmk* | -rtmk-nova*)                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1134                  | -powermax* | -dnix*)
1135          # Remember, each alternative MUST END IN *, to match a version number.          # Remember, each alternative MUST END IN *, to match a version number.
1136                  ;;                  ;;
1137          -qnx*)          -qnx*)
# Line 1102  case $os in Line 1143  case $os in
1143                          ;;                          ;;
1144                  esac                  esac
1145                  ;;                  ;;
1146            -nto-qnx*)
1147                    ;;
1148          -nto*)          -nto*)
1149                  os=-nto-qnx                  os=`echo $os | sed -e 's|nto|nto-qnx|'`
1150                  ;;                  ;;
1151          -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \          -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1152                | -windows* | -osx | -abug | -netware* | -os9* | -beos* \                | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
# Line 1155  case $os in Line 1198  case $os in
1198                  os=-rtmk-nova                  os=-rtmk-nova
1199                  ;;                  ;;
1200          -ns2 )          -ns2 )
1201                  os=-nextstep2                  os=-nextstep2
1202                  ;;                  ;;
1203          -nsk*)          -nsk*)
1204                  os=-nsk                  os=-nsk
# Line 1194  case $os in Line 1237  case $os in
1237          -xenix)          -xenix)
1238                  os=-xenix                  os=-xenix
1239                  ;;                  ;;
1240          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1241                  os=-mint                  os=-mint
1242                    ;;
1243            -aros*)
1244                    os=-aros
1245                    ;;
1246            -kaos*)
1247                    os=-kaos
1248                  ;;                  ;;
1249          -none)          -none)
1250                  ;;                  ;;
# Line 1232  case $basic_machine in Line 1281  case $basic_machine in
1281          pdp10-*)          pdp10-*)
1282                  os=-tops20                  os=-tops20
1283                  ;;                  ;;
1284          pdp11-*)          pdp11-*)
1285                  os=-none                  os=-none
1286                  ;;                  ;;
1287          *-dec | vax-*)          *-dec | vax-*)
# Line 1325  case $basic_machine in Line 1374  case $basic_machine in
1374          *-next)          *-next)
1375                  os=-nextstep3                  os=-nextstep3
1376                  ;;                  ;;
1377          *-gould)          *-gould)
1378                  os=-sysv                  os=-sysv
1379                  ;;                  ;;
1380          *-highlevel)          *-highlevel)
1381                  os=-bsd                  os=-bsd
1382                  ;;                  ;;
1383          *-encore)          *-encore)
1384                  os=-bsd                  os=-bsd
1385                  ;;                  ;;
1386          *-sgi)          *-sgi)
1387                  os=-irix                  os=-irix
1388                  ;;                  ;;
1389          *-siemens)          *-siemens)
1390                  os=-sysv4                  os=-sysv4
1391                  ;;                  ;;
1392          *-masscomp)          *-masscomp)
# Line 1409  case $basic_machine in Line 1458  case $basic_machine in
1458                          -ptx*)                          -ptx*)
1459                                  vendor=sequent                                  vendor=sequent
1460                                  ;;                                  ;;
1461                          -vxsim* | -vxworks*)                          -vxsim* | -vxworks* | -windiss*)
1462                                  vendor=wrs                                  vendor=wrs
1463                                  ;;                                  ;;
1464                          -aux*)                          -aux*)

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

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