Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6 in downloads for config.sub


Ignore:
Timestamp:
Oct 9, 2007, 10:16:21 PM (17 years ago)
Author:
anonymous
Message:

=…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • config.sub

    r5 r6  
    22# Configuration validation subroutine script.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    5 
    6 timestamp='2005-07-08'
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
     5#   Inc.
     6
     7timestamp='2007-04-29'
    78
    89# This file is (in principle) common to ALL GNU software.
     
    120121maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    121122case $maybe_os in
    122   nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
    123   kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
     123  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
     124  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
     125  storm-chaos* | os2-emx* | rtmk-nova*)
    124126    os=-$maybe_os
    125127    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     
    172174                os=-hiuxwe2
    173175                ;;
     176        -sco6)
     177                os=-sco5v6
     178                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     179                ;;
    174180        -sco5)
    175181                os=-sco3.2v5
     
    185191                ;;
    186192        -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*)
    187197                # Don't forget version if it is 3.2v4 or newer.
    188198                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     
    232242        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
    233243        | 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 \
    235245        | bfin \
    236246        | c4x | clipper \
    237247        | d10v | d30v | dlx | dsp16xx \
    238         | fr30 | frv \
     248        | fido | fr30 | frv \
    239249        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    240250        | i370 | i860 | i960 | ia64 \
    241251        | ip2k | iq2000 \
    242         | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
     252        | m32c | m32r | m32rle | m68000 | m68k | m88k \
     253        | maxq | mb | microblaze | mcore | mep \
    243254        | mips | mipsbe | mipseb | mipsel | mipsle \
    244255        | mips16 \
     
    258269        | mipstx39 | mipstx39el \
    259270        | mn10200 | mn10300 \
    260         | ms1 \
     271        | mt \
    261272        | msp430 \
     273        | nios | nios2 \
    262274        | ns16k | ns32k \
    263275        | or32 \
     
    265277        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    266278        | pyramid \
    267         | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
     279        | score \
     280        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    268281        | sh64 | sh64le \
    269         | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
    270         | sparcv8 | sparcv9 | sparcv9b \
    271         | strongarm \
     282        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
     283        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
     284        | spu | strongarm \
    272285        | tahoe | thumb | tic4x | tic80 | tron \
    273286        | v850 | v850e \
    274287        | we32k \
    275         | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
     288        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
    276289        | z8k)
    277                 basic_machine=$basic_machine-unknown
    278                 ;;
    279         m32c)
    280290                basic_machine=$basic_machine-unknown
    281291                ;;
     
    286296                ;;
    287297        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
     298                ;;
     299        ms1)
     300                basic_machine=mt-unknown
    288301                ;;
    289302
     
    306319        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
    307320        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    308         | avr-* \
     321        | avr-* | avr32-* \
    309322        | bfin-* | bs2000-* \
    310323        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
     
    312325        | d10v-* | d30v-* | dlx-* \
    313326        | elxsi-* \
    314         | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
     327        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
    315328        | h8300-* | h8500-* \
    316329        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
    317330        | i*86-* | i860-* | i960-* | ia64-* \
    318331        | ip2k-* | iq2000-* \
    319         | m32r-* | m32rle-* \
     332        | m32c-* | m32r-* | m32rle-* \
    320333        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    321334        | m88110-* | m88k-* | maxq-* | mcore-* \
     
    337350        | mipstx39-* | mipstx39el-* \
    338351        | mmix-* \
    339         | ms1-* \
     352        | mt-* \
    340353        | msp430-* \
     354        | nios-* | nios2-* \
    341355        | none-* | np1-* | ns16k-* | ns32k-* \
    342356        | orion-* \
     
    345359        | pyramid-* \
    346360        | 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-* \
    348362        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
    349         | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
     363        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
    350364        | sparclite-* \
    351         | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
     365        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
    352366        | tahoe-* | thumb-* \
    353367        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
     
    355369        | v850-* | v850e-* | vax-* \
    356370        | we32k-* \
    357         | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
     371        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
    358372        | xstormy16-* | xtensa-* \
    359373        | ymp-* \
    360374        | z8k-*)
    361                 ;;
    362         m32c-*)
    363375                ;;
    364376        # Recognize the various machine names and aliases which stand
     
    672684                os=-mingw32
    673685                ;;
     686        mingw32ce)
     687                basic_machine=arm-unknown
     688                os=-mingw32ce
     689                ;;
    674690        miniframe)
    675691                basic_machine=m68000-convergent
     
    696712                basic_machine=i386-pc
    697713                os=-msdos
     714                ;;
     715        ms1-*)
     716                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
    698717                ;;
    699718        mvs)
     
    804823                basic_machine=ns32k-pc532
    805824                ;;
     825        pc98)
     826                basic_machine=i386-pc
     827                ;;
     828        pc98-*)
     829                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
     830                ;;
    806831        pentium | p5 | k5 | k6 | nexgen | viac3)
    807832                basic_machine=i586-pc
     
    860885                os=-pw32
    861886                ;;
     887        rdos)
     888                basic_machine=i386-pc
     889                os=-rdos
     890                ;;
    862891        rom68k)
    863892                basic_machine=m68k-rom68k
     
    886915                basic_machine=mipsisa64sb1el-unknown
    887916                ;;
     917        sde)
     918                basic_machine=mipsisa32-sde
     919                os=-elf
     920                ;;
    888921        sei)
    889922                basic_machine=mips-sei
     
    896929                basic_machine=sh-hitachi
    897930                os=-hms
     931                ;;
     932        sh5el)
     933                basic_machine=sh5le-unknown
    898934                ;;
    899935        sh64)
     
    11021138                basic_machine=sh-unknown
    11031139                ;;
    1104         sparc | sparcv8 | sparcv9 | sparcv9b)
     1140        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
    11051141                basic_machine=sparc-sun
    11061142                ;;
     
    11751211              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    11761212              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    1177               | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
     1213              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
     1214              | -openbsd* | -solidbsd* \
    11781215              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
    11791216              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
     
    11821219              | -chorusos* | -chorusrdb* \
    11831220              | -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* \
    11851223              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
    11861224              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
     
    11891227              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
    11901228              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
    1191               | -skyos* | -haiku*)
     1229              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
    11921230        # Remember, each alternative MUST END IN *, to match a version number.
    11931231                ;;
     
    13411379
    13421380case $basic_machine in
     1381        score-*)
     1382                os=-elf
     1383                ;;
     1384        spu-*)
     1385                os=-elf
     1386                ;;
    13431387        *-acorn)
    13441388                os=-riscix1.2
     
    13501394                os=-aout
    13511395                ;;
    1352     c4x-* | tic4x-*)
    1353         os=-coff
    1354         ;;
     1396        c4x-* | tic4x-*)
     1397                os=-coff
     1398                ;;
    13551399        # This must come before the *-dec entry.
    13561400        pdp10-*)
     
    13771421        m68*-cisco)
    13781422                os=-aout
     1423                ;;
     1424        mep-*)
     1425                os=-elf
    13791426                ;;
    13801427        mips*-cisco)
Note: See TracChangeset for help on using the changeset viewer.