OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [config.sub] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
#! /bin/sh
#! /bin/sh
# Configuration validation subroutine script.
# Configuration validation subroutine script.
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
#   Free Software Foundation, Inc.
#   Free Software Foundation, Inc.
 
 
timestamp='2008-01-16'
timestamp='2009-08-17'
 
 
# This file is (in principle) common to ALL GNU software.
# This file is (in principle) common to ALL GNU software.
# 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
# can handle that machine.  It does not imply ALL GNU software can.
# can handle that machine.  It does not imply ALL GNU software can.
#
#
Line 120... Line 120...
# Here we must recognize all the valid KERNEL-OS combinations.
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
case $maybe_os in
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
  kopensolaris*-gnu* | \
  storm-chaos* | os2-emx* | rtmk-nova*)
  storm-chaos* | os2-emx* | rtmk-nova*)
    os=-$maybe_os
    os=-$maybe_os
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    ;;
    ;;
  *)
  *)
Line 146... Line 147...
        -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
        -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
        -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
        -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
        -apple | -axis | -knuth | -cray)
        -apple | -axis | -knuth | -cray | -microblaze)
                os=
                os=
                basic_machine=$1
                basic_machine=$1
                ;;
                ;;
 
        -bluegene*)
 
                os=-cnk
 
                ;;
        -sim | -cisco | -oki | -wec | -winbond)
        -sim | -cisco | -oki | -wec | -winbond)
                os=
                os=
                basic_machine=$1
                basic_machine=$1
                ;;
                ;;
        -scout)
        -scout)
Line 247... Line 251...
        | d10v | d30v | dlx | dsp16xx \
        | d10v | d30v | dlx | dsp16xx \
        | fido | fr30 | frv \
        | fido | fr30 | frv \
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
        | i370 | i860 | i960 | ia64 \
        | i370 | i860 | i960 | ia64 \
        | ip2k | iq2000 \
        | ip2k | iq2000 \
 
        | lm32 \
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
        | maxq | mb | microblaze | mcore | mep \
        | maxq | mb | microblaze | mcore | mep | metag \
        | mips | mipsbe | mipseb | mipsel | mipsle \
        | mips | mipsbe | mipseb | mipsel | mipsle \
        | mips16 \
        | mips16 \
        | mips64 | mips64el \
        | mips64 | mips64el \
        | mips64vr | mips64vrel \
        | mips64octeon | mips64octeonel \
        | mips64orion | mips64orionel \
        | mips64orion | mips64orionel \
 
        | mips64r5900 | mips64r5900el \
 
        | mips64vr | mips64vrel \
        | mips64vr4100 | mips64vr4100el \
        | mips64vr4100 | mips64vr4100el \
        | mips64vr4300 | mips64vr4300el \
        | mips64vr4300 | mips64vr4300el \
        | mips64vr5000 | mips64vr5000el \
        | mips64vr5000 | mips64vr5000el \
        | mips64vr5900 | mips64vr5900el \
        | mips64vr5900 | mips64vr5900el \
        | mipsisa32 | mipsisa32el \
        | mipsisa32 | mipsisa32el \
Line 266... Line 273...
        | mipsisa64r2 | mipsisa64r2el \
        | mipsisa64r2 | mipsisa64r2el \
        | mipsisa64sb1 | mipsisa64sb1el \
        | mipsisa64sb1 | mipsisa64sb1el \
        | mipsisa64sr71k | mipsisa64sr71kel \
        | mipsisa64sr71k | mipsisa64sr71kel \
        | mipstx39 | mipstx39el \
        | mipstx39 | mipstx39el \
        | mn10200 | mn10300 \
        | mn10200 | mn10300 \
 
        | moxie \
        | mt \
        | mt \
        | msp430 \
        | msp430 \
        | nios | nios2 \
        | nios | nios2 \
        | ns16k | ns32k \
        | ns16k | ns32k \
        | or32 \
        | or32 \
        | pdp10 | pdp11 | pj | pjl \
        | pdp10 | pdp11 | pj | pjl \
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
        | pyramid \
        | pyramid \
        | score \
        | score \
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
        | sh64 | sh64le \
        | sh64 | sh64le \
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
        | spu | strongarm \
        | spu | strongarm \
        | tahoe | thumb | tic4x | tic80 | tron \
        | tahoe | thumb | tic4x | tic80 | tron \
        | v850 | v850e \
        | v850 | v850e \
        | we32k \
        | we32k \
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
        | z8k)
        | z8k | z80)
                basic_machine=$basic_machine-unknown
                basic_machine=$basic_machine-unknown
                ;;
                ;;
        m6811 | m68hc11 | m6812 | m68hc12)
        m6811 | m68hc11 | m6812 | m68hc12)
                # Motorola 68HC11/12.
                # Motorola 68HC11/12.
                basic_machine=$basic_machine-unknown
                basic_machine=$basic_machine-unknown
Line 327... Line 335...
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
        | h8300-* | h8500-* \
        | h8300-* | h8500-* \
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
        | i*86-* | i860-* | i960-* | ia64-* \
        | i*86-* | i860-* | i960-* | ia64-* \
        | ip2k-* | iq2000-* \
        | ip2k-* | iq2000-* \
 
        | lm32-* \
        | m32c-* | m32r-* | m32rle-* \
        | m32c-* | m32r-* | m32rle-* \
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
        | m88110-* | m88k-* | maxq-* | mcore-* \
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
        | mips16-* \
        | mips16-* \
        | mips64-* | mips64el-* \
        | mips64-* | mips64el-* \
        | mips64vr-* | mips64vrel-* \
        | mips64octeon-* | mips64octeonel-* \
        | mips64orion-* | mips64orionel-* \
        | mips64orion-* | mips64orionel-* \
 
        | mips64r5900-* | mips64r5900el-* \
 
        | mips64vr-* | mips64vrel-* \
        | mips64vr4100-* | mips64vr4100el-* \
        | mips64vr4100-* | mips64vr4100el-* \
        | mips64vr4300-* | mips64vr4300el-* \
        | mips64vr4300-* | mips64vr4300el-* \
        | mips64vr5000-* | mips64vr5000el-* \
        | mips64vr5000-* | mips64vr5000el-* \
        | mips64vr5900-* | mips64vr5900el-* \
        | mips64vr5900-* | mips64vr5900el-* \
        | mipsisa32-* | mipsisa32el-* \
        | mipsisa32-* | mipsisa32el-* \
Line 356... Line 367...
        | orion-* \
        | orion-* \
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
        | pyramid-* \
        | pyramid-* \
        | romp-* | rs6000-* \
        | romp-* | rs6000-* \
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
        | sparclite-* \
        | sparclite-* \
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
        | tahoe-* | thumb-* \
        | tahoe-* | thumb-* \
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
        | tron-* \
        | tron-* \
        | v850-* | v850e-* | vax-* \
        | v850-* | v850e-* | vax-* \
        | we32k-* \
        | we32k-* \
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
        | xstormy16-* | xtensa*-* \
        | xstormy16-* | xtensa*-* \
        | ymp-* \
        | ymp-* \
        | z8k-*)
        | z8k-* | z80-*)
                ;;
                ;;
        # Recognize the basic CPU types without company name, with glob match.
        # Recognize the basic CPU types without company name, with glob match.
        xtensa*)
        xtensa*)
                basic_machine=$basic_machine-unknown
                basic_machine=$basic_machine-unknown
                ;;
                ;;
Line 437... Line 448...
                ;;
                ;;
        apollo68bsd)
        apollo68bsd)
                basic_machine=m68k-apollo
                basic_machine=m68k-apollo
                os=-bsd
                os=-bsd
                ;;
                ;;
 
        aros)
 
                basic_machine=i386-pc
 
                os=-aros
 
                ;;
        aux)
        aux)
                basic_machine=m68k-apple
                basic_machine=m68k-apple
                os=-aux
                os=-aux
                ;;
                ;;
        balance)
        balance)
Line 453... Line 468...
                ;;
                ;;
        blackfin-*)
        blackfin-*)
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
                os=-linux
                os=-linux
                ;;
                ;;
 
        bluegene*)
 
                basic_machine=powerpc-ibm
 
                os=-cnk
 
                ;;
        c90)
        c90)
                basic_machine=c90-cray
                basic_machine=c90-cray
                os=-unicos
                os=-unicos
                ;;
                ;;
 
        cegcc)
 
                basic_machine=arm-unknown
 
                os=-cegcc
 
                ;;
        convex-c1)
        convex-c1)
                basic_machine=c1-convex
                basic_machine=c1-convex
                os=-bsd
                os=-bsd
                ;;
                ;;
        convex-c2)
        convex-c2)
Line 524... Line 547...
                ;;
                ;;
        delta88)
        delta88)
                basic_machine=m88k-motorola
                basic_machine=m88k-motorola
                os=-sysv3
                os=-sysv3
                ;;
                ;;
 
        dicos)
 
                basic_machine=i686-pc
 
                os=-dicos
 
                ;;
        djgpp)
        djgpp)
                basic_machine=i586-pc
                basic_machine=i586-pc
                os=-msdosdjgpp
                os=-msdosdjgpp
                ;;
                ;;
        dpx20 | dpx20-*)
        dpx20 | dpx20-*)
Line 697... Line 724...
                ;;
                ;;
        merlin)
        merlin)
                basic_machine=ns32k-utek
                basic_machine=ns32k-utek
                os=-sysv
                os=-sysv
                ;;
                ;;
 
        microblaze)
 
                basic_machine=microblaze-xilinx
 
                ;;
        mingw32)
        mingw32)
                basic_machine=i386-pc
                basic_machine=i386-pc
                os=-mingw32
                os=-mingw32
                ;;
                ;;
        mingw32ce)
        mingw32ce)
Line 808... Line 838...
                ;;
                ;;
        op50n-* | op60c-*)
        op50n-* | op60c-*)
                basic_machine=hppa1.1-oki
                basic_machine=hppa1.1-oki
                os=-proelf
                os=-proelf
                ;;
                ;;
        openrisc | openrisc-*)
 
                basic_machine=or32-unknown
 
                ;;
 
        os400)
        os400)
                basic_machine=powerpc-ibm
                basic_machine=powerpc-ibm
                os=-os400
                os=-os400
                ;;
                ;;
        OSE68000 | ose68000)
        OSE68000 | ose68000)
Line 1126... Line 1153...
                ;;
                ;;
        z8k-*-coff)
        z8k-*-coff)
                basic_machine=z8k-unknown
                basic_machine=z8k-unknown
                os=-sim
                os=-sim
                ;;
                ;;
 
        z80-*-coff)
 
                basic_machine=z80-unknown
 
                os=-sim
 
                ;;
        none)
        none)
                basic_machine=none-none
                basic_machine=none-none
                os=-none
                os=-none
                ;;
                ;;
 
 
Line 1164... Line 1195...
                basic_machine=pdp11-dec
                basic_machine=pdp11-dec
                ;;
                ;;
        we32k)
        we32k)
                basic_machine=we32k-att
                basic_machine=we32k-att
                ;;
                ;;
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
                basic_machine=sh-unknown
                basic_machine=sh-unknown
                ;;
                ;;
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
                basic_machine=sparc-sun
                basic_machine=sparc-sun
                ;;
                ;;
Line 1234... Line 1265...
        # First accept the basic system types.
        # First accept the basic system types.
        # The portable systems comes first.
        # The portable systems comes first.
        # Each alternative MUST END IN A *, to match a version number.
        # Each alternative MUST END IN A *, to match a version number.
        # -sysv* is not here because it comes later, after sysvr4.
        # -sysv* is not here because it comes later, after sysvr4.
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
              | -kopensolaris* \
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
              | -aos* \
              | -aos* | -aros* \
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
              | -openbsd* | -solidbsd* \
              | -openbsd* | -solidbsd* \
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -chorusos* | -chorusrdb* \
              | -chorusos* | -chorusrdb* | -cegcc* \
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
              | -uxpv* | -beos* | -mpeix* | -udk* \
              | -uxpv* | -beos* | -mpeix* | -udk* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
Line 1386... Line 1418...
                os=-kaos
                os=-kaos
                ;;
                ;;
        -zvmoe)
        -zvmoe)
                os=-zvmoe
                os=-zvmoe
                ;;
                ;;
 
        -dicos*)
 
                os=-dicos
 
                ;;
        -none)
        -none)
                ;;
                ;;
        *)
        *)
                # Get rid of the `-' at the beginning of $os.
                # Get rid of the `-' at the beginning of $os.
                os=`echo $os | sed 's/[^-]*-//'`
                os=`echo $os | sed 's/[^-]*-//'`
Line 1583... Line 1618...
                                vendor=acorn
                                vendor=acorn
                                ;;
                                ;;
                        -sunos*)
                        -sunos*)
                                vendor=sun
                                vendor=sun
                                ;;
                                ;;
                        -aix*)
                        -cnk*|-aix*)
                                vendor=ibm
                                vendor=ibm
                                ;;
                                ;;
                        -beos*)
                        -beos*)
                                vendor=be
                                vendor=be
                                ;;
                                ;;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.