OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / gcc / config.sub
index bf71bbe..a9b260b 100755 (executable)
@@ -1,6 +1,6 @@
-#!/bin/sh
+#! /bin/sh
 # Configuration validation subroutine script, version 1.1.
-#   Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+#   Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 # This file is (in principle) common to ALL 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. 
@@ -113,7 +113,7 @@ case $os in
        -isc*)
                basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
                ;;
-       -lynx)
+       -lynx*)
                os=-lynxos
                ;;
        -ptx*)
@@ -149,8 +149,7 @@ case $basic_machine in
              | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
              | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
              | pdp11-* | sh-* | powerpc-* | sparc64-* | mips64-* | mipsel-* \
-             | mips64el-* | mips64orion-* | mips64orionel-* \
-             | sparc-*)
+             | mips64el-* | mips64orion-* | mips64orionel-*)
                ;;
        # Recognize the various machine names and aliases which stand
        # for a CPU type and a company and sometimes even an OS.
@@ -473,6 +472,10 @@ case $basic_machine in
                basic_machine=sparc-sun
                os=-sunos4
                ;;
+       sun4sol2)
+               basic_machine=sparc-sun
+               os=-solaris2
+               ;;
        sun3 | sun3-*)
                basic_machine=m68k-sun
                ;;
@@ -587,6 +590,9 @@ case $os in
        -solaris)
                os=-solaris2
                ;;
+       -unixware* | svr4*)
+               os=-sysv4
+               ;;
        -gnu/linux*)
                os=`echo $os | sed -e 's|gnu/linux|linux|'`
                ;;
@@ -602,7 +608,7 @@ case $os in
              | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
-             | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi)
+             | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi | -eabi)
                ;;
        -sunos5*)
                os=`echo $os | sed -e 's|sunos5|solaris2|'`