ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/config.sub
(Generate patch)

Comparing Frodo4/Src/config.sub (file contents):
Revision 1.1 by cebix, 2003-07-01T17:42:06Z vs.
Revision 1.2 by berlac, 2008-02-29T08:05:11Z

# Line 1 | Line 1
1   #! /bin/sh
2   # Configuration validation subroutine script.
3   #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 < #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4 > #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5  
6 < timestamp='2003-01-03'
6 > timestamp='2005-04-22'
7  
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
# Line 70 | Line 70 | Report bugs and patches to <config-patch
70   version="\
71   GNU config.sub ($timestamp)
72  
73 < Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
73 > Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74   Free Software Foundation, Inc.
75  
76   This is free software; see the source for copying conditions.  There is NO
# Line 118 | Line 118 | esac
118   # Here we must recognize all the valid KERNEL-OS combinations.
119   maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120   case $maybe_os in
121 <  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
121 >  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
122 >  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
123      os=-$maybe_os
124      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125      ;;
# Line 144 | Line 145 | case $os in
145          -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
146          -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
147          -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
148 <        -apple | -axis)
148 >        -apple | -axis | -knuth | -cray)
149                  os=
150                  basic_machine=$1
151                  ;;
# Line 228 | Line 229 | case $basic_machine in
229          | a29k \
230          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
231          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
232 +        | am33_2.0 \
233          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
234 <        | clipper \
234 >        | bfin \
235 >        | c4x | clipper \
236          | d10v | d30v | dlx | dsp16xx \
237          | fr30 | frv \
238          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
239          | i370 | i860 | i960 | ia64 \
240 <        | ip2k \
241 <        | m32r | m68000 | m68k | m88k | mcore \
240 >        | ip2k | iq2000 \
241 >        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
242          | mips | mipsbe | mipseb | mipsel | mipsle \
243          | mips16 \
244          | mips64 | mips64el \
# Line 247 | Line 250 | case $basic_machine in
250          | mipsisa32 | mipsisa32el \
251          | mipsisa32r2 | mipsisa32r2el \
252          | mipsisa64 | mipsisa64el \
253 +        | mipsisa64r2 | mipsisa64r2el \
254          | mipsisa64sb1 | mipsisa64sb1el \
255          | mipsisa64sr71k | mipsisa64sr71kel \
256          | mipstx39 | mipstx39el \
# Line 257 | Line 261 | case $basic_machine in
261          | pdp10 | pdp11 | pj | pjl \
262          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
263          | pyramid \
264 <        | s390 | s390x \
261 <        | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264 >        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
265          | sh64 | sh64le \
266 <        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
266 >        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
267 >        | sparcv8 | sparcv9 | sparcv9b \
268          | strongarm \
269 <        | tahoe | thumb | tic80 | tron \
269 >        | tahoe | thumb | tic4x | tic80 | tron \
270          | v850 | v850e \
271          | we32k \
272 <        | x86 | xscale | xstormy16 | xtensa \
272 >        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
273          | z8k)
274                  basic_machine=$basic_machine-unknown
275                  ;;
# Line 296 | Line 300 | case $basic_machine in
300          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
301          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
302          | avr-* \
303 <        | bs2000-* \
304 <        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
305 <        | clipper-* | cydra-* \
303 >        | bfin-* | bs2000-* \
304 >        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
305 >        | clipper-* | craynv-* | cydra-* \
306          | d10v-* | d30v-* | dlx-* \
307          | elxsi-* \
308          | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
309          | h8300-* | h8500-* \
310          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
311          | i*86-* | i860-* | i960-* | ia64-* \
312 <        | ip2k-* \
313 <        | m32r-* \
312 >        | ip2k-* | iq2000-* \
313 >        | m32r-* | m32rle-* \
314          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
315 <        | m88110-* | m88k-* | mcore-* \
315 >        | m88110-* | m88k-* | maxq-* | mcore-* \
316          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
317          | mips16-* \
318          | mips64-* | mips64el-* \
# Line 320 | Line 324 | case $basic_machine in
324          | mipsisa32-* | mipsisa32el-* \
325          | mipsisa32r2-* | mipsisa32r2el-* \
326          | mipsisa64-* | mipsisa64el-* \
327 +        | mipsisa64r2-* | mipsisa64r2el-* \
328          | mipsisa64sb1-* | mipsisa64sb1el-* \
329          | mipsisa64sr71k-* | mipsisa64sr71kel-* \
330          | mipstx39-* | mipstx39el-* \
331 +        | mmix-* \
332          | msp430-* \
333 <        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
333 >        | none-* | np1-* | ns16k-* | ns32k-* \
334          | orion-* \
335          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
336          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
337          | pyramid-* \
338          | romp-* | rs6000-* \
339 <        | s390-* | s390x-* \
334 <        | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
339 >        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
340          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
341 <        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
342 <        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
343 <        | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
341 >        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
342 >        | sparclite-* \
343 >        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
344 >        | tahoe-* | thumb-* \
345 >        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
346 >        | tron-* \
347          | v850-* | v850e-* | vax-* \
348          | we32k-* \
349 <        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
350 <        | xtensa-* \
349 >        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
350 >        | xstormy16-* | xtensa-* \
351          | ymp-* \
352          | z8k-*)
353                  ;;
# Line 359 | Line 367 | case $basic_machine in
367                  basic_machine=a29k-amd
368                  os=-udi
369                  ;;
370 +        abacus)
371 +                basic_machine=abacus-unknown
372 +                ;;
373          adobe68k)
374                  basic_machine=m68010-adobe
375                  os=-scout
# Line 373 | Line 384 | case $basic_machine in
384                  basic_machine=a29k-none
385                  os=-bsd
386                  ;;
387 +        amd64)
388 +                basic_machine=x86_64-pc
389 +                ;;
390 +        amd64-*)
391 +                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
392 +                ;;
393          amdahl)
394                  basic_machine=580-amdahl
395                  os=-sysv
# Line 432 | Line 449 | case $basic_machine in
449                  basic_machine=j90-cray
450                  os=-unicos
451                  ;;
452 +        craynv)
453 +                basic_machine=craynv-cray
454 +                os=-unicosmp
455 +                ;;
456 +        cr16c)
457 +                basic_machine=cr16c-unknown
458 +                os=-elf
459 +                ;;
460          crds | unos)
461                  basic_machine=m68k-crds
462                  ;;
463 +        crisv32 | crisv32-* | etraxfs*)
464 +                basic_machine=crisv32-axis
465 +                ;;
466          cris | cris-* | etrax*)
467                  basic_machine=cris-axis
468                  ;;
469 +        crx)
470 +                basic_machine=crx-unknown
471 +                os=-elf
472 +                ;;
473          da30 | da30-*)
474                  basic_machine=m68k-da30
475                  ;;
# Line 460 | Line 492 | case $basic_machine in
492                  basic_machine=m88k-motorola
493                  os=-sysv3
494                  ;;
495 +        djgpp)
496 +                basic_machine=i586-pc
497 +                os=-msdosdjgpp
498 +                ;;
499          dpx20 | dpx20-*)
500                  basic_machine=rs6000-bull
501                  os=-bosx
# Line 638 | Line 674 | case $basic_machine in
674          mips3*)
675                  basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
676                  ;;
641        mmix*)
642                basic_machine=mmix-knuth
643                os=-mmixware
644                ;;
677          monitor)
678                  basic_machine=m68k-rom68k
679                  os=-coff
# Line 722 | Line 754 | case $basic_machine in
754          np1)
755                  basic_machine=np1-gould
756                  ;;
725        nv1)
726                basic_machine=nv1-cray
727                os=-unicosmp
728                ;;
757          nsr-tandem)
758                  basic_machine=nsr-tandem
759                  ;;
# Line 737 | Line 765 | case $basic_machine in
765                  basic_machine=or32-unknown
766                  os=-coff
767                  ;;
768 +        os400)
769 +                basic_machine=powerpc-ibm
770 +                os=-os400
771 +                ;;
772          OSE68000 | ose68000)
773                  basic_machine=m68000-ericsson
774                  os=-ose
# Line 768 | Line 800 | case $basic_machine in
800          pentiumpro | p6 | 6x86 | athlon | athlon_*)
801                  basic_machine=i686-pc
802                  ;;
803 <        pentiumii | pentium2)
803 >        pentiumii | pentium2 | pentiumiii | pentium3)
804                  basic_machine=i686-pc
805                  ;;
806 +        pentium4)
807 +                basic_machine=i786-pc
808 +                ;;
809          pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
810                  basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
811                  ;;
812          pentiumpro-* | p6-* | 6x86-* | athlon-*)
813                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
814                  ;;
815 <        pentiumii-* | pentium2-*)
815 >        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
816                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
817                  ;;
818 +        pentium4-*)
819 +                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
820 +                ;;
821          pn)
822                  basic_machine=pn-gould
823                  ;;
# Line 822 | Line 860 | case $basic_machine in
860          rtpc | rtpc-*)
861                  basic_machine=romp-ibm
862                  ;;
863 +        s390 | s390-*)
864 +                basic_machine=s390-ibm
865 +                ;;
866 +        s390x | s390x-*)
867 +                basic_machine=s390x-ibm
868 +                ;;
869          sa29200)
870                  basic_machine=a29k-amd
871                  os=-udi
# Line 832 | Line 876 | case $basic_machine in
876          sb1el)
877                  basic_machine=mipsisa64sb1el-unknown
878                  ;;
879 +        sei)
880 +                basic_machine=mips-sei
881 +                os=-seiux
882 +                ;;
883          sequent)
884                  basic_machine=i386-sequent
885                  ;;
# Line 839 | Line 887 | case $basic_machine in
887                  basic_machine=sh-hitachi
888                  os=-hms
889                  ;;
890 +        sh64)
891 +                basic_machine=sh64-unknown
892 +                ;;
893          sparclite-wrs | simso-wrs)
894                  basic_machine=sparclite-wrs
895                  os=-vxworks
# Line 913 | Line 964 | case $basic_machine in
964                  basic_machine=t90-cray
965                  os=-unicos
966                  ;;
916        tic4x | c4x*)
917                basic_machine=tic4x-unknown
918                os=-coff
919                ;;
967          tic54x | c54x*)
968                  basic_machine=tic54x-unknown
969                  os=-coff
970                  ;;
971 +        tic55x | c55x*)
972 +                basic_machine=tic55x-unknown
973 +                os=-coff
974 +                ;;
975 +        tic6x | c6x*)
976 +                basic_machine=tic6x-unknown
977 +                os=-coff
978 +                ;;
979          tx39)
980                  basic_machine=mipstx39-unknown
981                  ;;
# Line 934 | Line 989 | case $basic_machine in
989          tower | tower-32)
990                  basic_machine=m68k-ncr
991                  ;;
992 +        tpf)
993 +                basic_machine=s390x-ibm
994 +                os=-tpf
995 +                ;;
996          udi29k)
997                  basic_machine=a29k-amd
998                  os=-udi
# Line 977 | Line 1036 | case $basic_machine in
1036                  basic_machine=hppa1.1-winbond
1037                  os=-proelf
1038                  ;;
1039 +        xbox)
1040 +                basic_machine=i686-pc
1041 +                os=-mingw32
1042 +                ;;
1043          xps | xps100)
1044                  basic_machine=xps100-honeywell
1045                  ;;
# Line 1007 | Line 1070 | case $basic_machine in
1070          romp)
1071                  basic_machine=romp-ibm
1072                  ;;
1073 +        mmix)
1074 +                basic_machine=mmix-knuth
1075 +                ;;
1076          rs6000)
1077                  basic_machine=rs6000-ibm
1078                  ;;
# Line 1023 | Line 1089 | case $basic_machine in
1089          we32k)
1090                  basic_machine=we32k-att
1091                  ;;
1092 <        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
1092 >        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1093                  basic_machine=sh-unknown
1094                  ;;
1095          sh64)
1096                  basic_machine=sh64-unknown
1097                  ;;
1098 <        sparc | sparcv9 | sparcv9b)
1098 >        sparc | sparcv8 | sparcv9 | sparcv9b)
1099                  basic_machine=sparc-sun
1100                  ;;
1101          cydra)
# Line 1102 | Line 1168 | case $os in
1168                | -aos* \
1169                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1170                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1171 <              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1172 <              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1171 >              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1172 >              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1173 >              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1174                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1175                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1176                | -chorusos* | -chorusrdb* \
1177                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1178 <              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1178 >              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1179                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1180                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1181                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1182                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1183                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1184 <              | -powermax* | -dnix* | -microbsd*)
1184 >              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1185          # Remember, each alternative MUST END IN *, to match a version number.
1186                  ;;
1187          -qnx*)
# Line 1138 | Line 1205 | case $os in
1205          -mac*)
1206                  os=`echo $os | sed -e 's|mac|macos|'`
1207                  ;;
1208 +        -linux-dietlibc)
1209 +                os=-linux-dietlibc
1210 +                ;;
1211          -linux*)
1212                  os=`echo $os | sed -e 's|linux|linux-gnu|'`
1213                  ;;
# Line 1150 | Line 1220 | case $os in
1220          -opened*)
1221                  os=-openedition
1222                  ;;
1223 +        -os400*)
1224 +                os=-os400
1225 +                ;;
1226          -wince*)
1227                  os=-wince
1228                  ;;
# Line 1171 | Line 1244 | case $os in
1244          -atheos*)
1245                  os=-atheos
1246                  ;;
1247 +        -syllable*)
1248 +                os=-syllable
1249 +                ;;
1250          -386bsd)
1251                  os=-bsd
1252                  ;;
# Line 1193 | Line 1269 | case $os in
1269          -sinix*)
1270                  os=-sysv4
1271                  ;;
1272 +        -tpf*)
1273 +                os=-tpf
1274 +                ;;
1275          -triton*)
1276                  os=-sysv3
1277                  ;;
# Line 1223 | Line 1302 | case $os in
1302          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1303                  os=-mint
1304                  ;;
1305 +        -aros*)
1306 +                os=-aros
1307 +                ;;
1308 +        -kaos*)
1309 +                os=-kaos
1310 +                ;;
1311 +        -zvmoe)
1312 +                os=-zvmoe
1313 +                ;;
1314          -none)
1315                  ;;
1316          *)
# Line 1254 | Line 1342 | case $basic_machine in
1342          arm*-semi)
1343                  os=-aout
1344                  ;;
1345 +    c4x-* | tic4x-*)
1346 +        os=-coff
1347 +        ;;
1348          # This must come before the *-dec entry.
1349          pdp10-*)
1350                  os=-tops20
# Line 1300 | Line 1391 | case $basic_machine in
1391          *-ibm)
1392                  os=-aix
1393                  ;;
1394 +        *-knuth)
1395 +                os=-mmixware
1396 +                ;;
1397          *-wec)
1398                  os=-proelf
1399                  ;;
# Line 1432 | Line 1526 | case $basic_machine in
1526                          -mvs* | -opened*)
1527                                  vendor=ibm
1528                                  ;;
1529 +                        -os400*)
1530 +                                vendor=ibm
1531 +                                ;;
1532                          -ptx*)
1533                                  vendor=sequent
1534                                  ;;
1535 +                        -tpf*)
1536 +                                vendor=ibm
1537 +                                ;;
1538                          -vxsim* | -vxworks* | -windiss*)
1539                                  vendor=wrs
1540                                  ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines