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

Diff of /libtool/config.sub

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

revision 1.8 by gary, Wed Apr 25 00:05:38 2001 UTC revision 1.8.2.1 by gary, Mon Sep 3 01:48:29 2001 UTC
# Line 3  Line 3 
3  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4  #   Free Software Foundation, Inc.  #   Free Software Foundation, Inc.
5    
6  timestamp='2001-04-20'  timestamp='2001-08-23'
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 117  esac Line 117  esac
117  # Here we must recognize all the valid KERNEL-OS combinations.  # Here we must recognize all the valid KERNEL-OS combinations.
118  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
119  case $maybe_os in  case $maybe_os in
120    nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)    nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
121      os=-$maybe_os      os=-$maybe_os
122      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
123      ;;      ;;
# Line 157  case $os in Line 157  case $os in
157                  os=-vxworks                  os=-vxworks
158                  basic_machine=$1                  basic_machine=$1
159                  ;;                  ;;
160            -chorusos*)
161                    os=-chorusos
162                    basic_machine=$1
163                    ;;
164            -chorusrdb)
165                    os=-chorusrdb
166                    basic_machine=$1
167                    ;;
168          -hiux*)          -hiux*)
169                  os=-hiuxwe2                  os=-hiuxwe2
170                  ;;                  ;;
# Line 215  esac Line 223  esac
223  case $basic_machine in  case $basic_machine in
224          # Recognize the basic CPU types without company name.          # Recognize the basic CPU types without company name.
225          # Some are omitted here because they have special meanings below.          # Some are omitted here because they have special meanings below.
226          tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \          1750a | 580 \
227                  | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \          | a29k \
228                  | pyramid | mn10200 | mn10300 | tron | a29k \          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
229                  | 580 | i960 | h8300 \          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
230                  | x86 | ppcbe | mipsbe | mipsle | shbe | shle \          | c4x | clipper \
231                  | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \          | d10v | d30v | dsp16xx \
232                  | hppa64 \          | fr30 \
233                  | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
234                  | alphaev6[78] \          | i370 | i860 | i960 | ia64 \
235                  | we32k | ns16k | clipper | i370 | sh | sh[34] \          | m32r | m68000 | m68k | m88k | mcore \
236                  | powerpc | powerpcle \          | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
237                  | 1750a | dsp16xx | pdp10 | pdp11 \          | mips64vr4100 | mips64vr4100el | mips64vr4300 \
238                  | mips16 | mips64 | mipsel | mips64el \          | mips64vr4300el | mips64vr5000 | mips64vr5000el \
239                  | mips64orion | mips64orionel | mipstx39 | mipstx39el \          | mipsbe | mipsel | mipsle | mipstx39 | mipstx39el \
240                  | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \          | mn10200 | mn10300 \
241                  | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \          | ns16k | ns32k \
242                  | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \          | openrisc \
243                  | v850 | c4x \          | pdp10 | pdp11 | pj | pjl \
244                  | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
245                  | pj | pjl | h8500)          | pyramid \
246            | s390 | s390x \
247            | sh | sh[34] | sh[34]eb | shbe | shle \
248            | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
249            | stormy16 | strongarm \
250            | tahoe | thumb | tic80 | tron \
251            | v850 \
252            | we32k \
253            | x86 | xscale \
254            | z8k)
255                  basic_machine=$basic_machine-unknown                  basic_machine=$basic_machine-unknown
256                  ;;                  ;;
257          m6811 | m68hc11 | m6812 | m68hc12)          m6811 | m68hc11 | m6812 | m68hc12)
# Line 242  case $basic_machine in Line 259  case $basic_machine in
259                  basic_machine=$basic_machine-unknown                  basic_machine=$basic_machine-unknown
260                  os=-none                  os=-none
261                  ;;                  ;;
262          m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65)          m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
263                  ;;                  ;;
264    
265          # We use `pc' rather than `unknown'          # We use `pc' rather than `unknown'
# Line 257  case $basic_machine in Line 274  case $basic_machine in
274                  exit 1                  exit 1
275                  ;;                  ;;
276          # Recognize the basic CPU types with company name.          # Recognize the basic CPU types with company name.
277          # FIXME: clean up the formatting here.          580-* \
278          vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \          | a29k-* \
279                | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
280                | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \          | alphapca5[67]-* | arc-* \
281                | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \          | arm-*  | armbe-* | armle-* | armv*-* \
282                | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \          | bs2000-* \
283                | xmp-* | ymp-* \          | c[123]* | c30-* | [cjt]90-* | c54x-* \
284                | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \          | clipper-* | cray2-* | cydra-* \
285                | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \          | d10v-* | d30v-* \
286                | hppa2.0n-* | hppa64-* \          | elxsi-* \
287                | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \          | f30[01]-* | f700-* | fr30-* | fx80-* \
288                | alphaev6[78]-* \          | h8300-* | h8500-* \
289                | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
290                | clipper-* | orion-* \          | i*86-* | i860-* | i960-* | ia64-* \
291                | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \          | m32r-* \
292                | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \          | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
293                | mips16-* | mips64-* | mipsel-* \          | m88110-* | m88k-* | mcore-* \
294                | mips64el-* | mips64orion-* | mips64orionel-* \          | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
295                | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \          | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
296                | mipstx39-* | mipstx39el-* | mcore-* \          | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipsel-* \
297                | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \          | mipsle-* | mipstx39-* | mipstx39el-* \
298                | [cjt]90-* \          | none-* | np1-* | ns16k-* | ns32k-* \
299                | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \          | orion-* \
300                | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
301                | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
302            | pyramid-* \
303            | romp-* | rs6000-* \
304            | s390-* | s390x-* \
305            | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
306            | sparc-* | sparc64-* | sparc86x-* | sparclite-* \
307            | sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \
308            | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
309            | v850-* | vax-* \
310            | we32k-* \
311            | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \
312            | ymp-* \
313            | z8k-*)
314                  ;;                  ;;
315          # Recognize the various machine names and aliases which stand          # Recognize the various machine names and aliases which stand
316          # for a CPU type and a company and sometimes even an OS.          # for a CPU type and a company and sometimes even an OS.
# Line 727  case $basic_machine in Line 756  case $basic_machine in
756          ppcle-* | powerpclittle-*)          ppcle-* | powerpclittle-*)
757                  basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
758                  ;;                  ;;
759            ppc64)  basic_machine=powerpc64-unknown
760                    ;;
761            ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
762                    ;;
763            ppc64le | powerpc64little | ppc64-le | powerpc64-little)
764                    basic_machine=powerpc64le-unknown
765                    ;;
766            ppc64le-* | powerpc64little-*)
767                    basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
768                    ;;
769          ps2)          ps2)
770                  basic_machine=i386-ibm                  basic_machine=i386-ibm
771                  ;;                  ;;
# Line 881  case $basic_machine in Line 920  case $basic_machine in
920                  basic_machine=hppa1.1-winbond                  basic_machine=hppa1.1-winbond
921                  os=-proelf                  os=-proelf
922                  ;;                  ;;
923            windows32)
924                    basic_machine=i386-pc
925                    os=-windows32-msvcrt
926                    ;;
927          xmp)          xmp)
928                  basic_machine=xmp-cray                  basic_machine=xmp-cray
929                  os=-unicos                  os=-unicos
# Line 934  case $basic_machine in Line 977  case $basic_machine in
977          we32k)          we32k)
978                  basic_machine=we32k-att                  basic_machine=we32k-att
979                  ;;                  ;;
980          sh3 | sh4)          sh3 | sh4 | sh3eb | sh4eb)
981                  basic_machine=sh-unknown                  basic_machine=sh-unknown
982                  ;;                  ;;
983          sparc | sparcv9 | sparcv9b)          sparc | sparcv9 | sparcv9b)
# Line 1018  case $os in Line 1061  case $os in
1061                | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \                | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1062                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1063                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1064                  | -chorusos* | -chorusrdb* \
1065                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1066                | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \                | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1067                | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \                | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
1068                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1069                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1070                  | -os2* | -vos*)
1071          # Remember, each alternative MUST END IN *, to match a version number.          # Remember, each alternative MUST END IN *, to match a version number.
1072                  ;;                  ;;
1073          -qnx*)          -qnx*)
# Line 1346  case $basic_machine in Line 1391  case $basic_machine in
1391                          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)                          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1392                                  vendor=atari                                  vendor=atari
1393                                  ;;                                  ;;
1394                            -vos*)
1395                                    vendor=stratus
1396                                    ;;
1397                  esac                  esac
1398                  basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`                  basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1399                  ;;                  ;;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.8.2.1

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