|
|
8f1c6e |
diff -up a2ps-4.14/auxdir/config.guess.aarch64 a2ps-4.14/auxdir/config.guess
|
|
|
8f1c6e |
--- a2ps-4.14/auxdir/config.guess.aarch64 2007-12-29 03:28:06.000000000 +0000
|
|
|
8f1c6e |
+++ a2ps-4.14/auxdir/config.guess 2013-04-29 13:13:51.035686658 +0100
|
|
|
8f1c6e |
@@ -1,10 +1,10 @@
|
|
|
8f1c6e |
#! /bin/sh
|
|
|
8f1c6e |
# Attempt to guess a canonical system name.
|
|
|
8f1c6e |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
|
8f1c6e |
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
|
|
8f1c6e |
-# Inc.
|
|
|
8f1c6e |
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
|
8f1c6e |
+# 2011, 2012 Free Software Foundation, Inc.
|
|
|
8f1c6e |
|
|
|
8f1c6e |
-timestamp='2007-07-22'
|
|
|
8f1c6e |
+timestamp='2012-09-25'
|
|
|
8f1c6e |
|
|
|
8f1c6e |
# This file is free software; you can redistribute it and/or modify it
|
|
|
8f1c6e |
# under the terms of the GNU General Public License as published by
|
|
|
8f1c6e |
@@ -17,9 +17,7 @@ timestamp='2007-07-22'
|
|
|
8f1c6e |
# General Public License for more details.
|
|
|
8f1c6e |
#
|
|
|
8f1c6e |
# You should have received a copy of the GNU General Public License
|
|
|
8f1c6e |
-# along with this program; if not, write to the Free Software
|
|
|
8f1c6e |
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
8f1c6e |
-# 02110-1301, USA.
|
|
|
8f1c6e |
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
8f1c6e |
#
|
|
|
8f1c6e |
# As a special exception to the GNU General Public License, if you
|
|
|
8f1c6e |
# distribute this file as part of a program that contains a
|
|
|
8f1c6e |
@@ -27,16 +25,16 @@ timestamp='2007-07-22'
|
|
|
8f1c6e |
# the same distribution terms that you use for the rest of that program.
|
|
|
8f1c6e |
|
|
|
8f1c6e |
|
|
|
8f1c6e |
-# Originally written by Per Bothner <per@bothner.com>.
|
|
|
8f1c6e |
-# Please send patches to <config-patches@gnu.org>. Submit a context
|
|
|
8f1c6e |
-# diff and a properly formatted ChangeLog entry.
|
|
|
8f1c6e |
+# Originally written by Per Bothner. Please send patches (context
|
|
|
8f1c6e |
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
|
|
8f1c6e |
+# entry.
|
|
|
8f1c6e |
#
|
|
|
8f1c6e |
# This script attempts to guess a canonical system name similar to
|
|
|
8f1c6e |
# config.sub. If it succeeds, it prints the system name on stdout, and
|
|
|
8f1c6e |
# exits with 0. Otherwise, it exits with 1.
|
|
|
8f1c6e |
#
|
|
|
8f1c6e |
-# The plan is that this can be called by configure scripts if you
|
|
|
8f1c6e |
-# don't specify an explicit build system type.
|
|
|
8f1c6e |
+# You can get the latest version of this script from:
|
|
|
8f1c6e |
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
|
8f1c6e |
|
|
|
8f1c6e |
me=`echo "$0" | sed -e 's,.*/,,'`
|
|
|
8f1c6e |
|
|
|
8f1c6e |
@@ -56,7 +54,8 @@ version="\
|
|
|
8f1c6e |
GNU config.guess ($timestamp)
|
|
|
8f1c6e |
|
|
|
8f1c6e |
Originally written by Per Bothner.
|
|
|
8f1c6e |
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
|
|
8f1c6e |
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
|
|
8f1c6e |
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
|
|
8f1c6e |
Free Software Foundation, Inc.
|
|
|
8f1c6e |
|
|
|
8f1c6e |
This is free software; see the source for copying conditions. There is NO
|
|
|
8f1c6e |
@@ -144,7 +143,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` |
|
|
|
8f1c6e |
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
|
8f1c6e |
*:NetBSD:*:*)
|
|
|
8f1c6e |
# NetBSD (nbsd) targets should (where applicable) match one or
|
|
|
8f1c6e |
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
|
|
8f1c6e |
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
|
|
|
8f1c6e |
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
|
|
8f1c6e |
# switched to ELF, *-*-netbsd* would select the old
|
|
|
8f1c6e |
# object file format. This provides both forward
|
|
|
8f1c6e |
@@ -170,7 +169,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
|
8f1c6e |
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
|
|
8f1c6e |
eval $set_cc_for_build
|
|
|
8f1c6e |
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
|
8f1c6e |
- | grep __ELF__ >/dev/null
|
|
|
8f1c6e |
+ | grep -q __ELF__
|
|
|
8f1c6e |
then
|
|
|
8f1c6e |
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
|
|
|
8f1c6e |
# Return netbsd for either. FIX?
|
|
|
8f1c6e |
@@ -180,7 +179,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
|
8f1c6e |
fi
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
*)
|
|
|
8f1c6e |
- os=netbsd
|
|
|
8f1c6e |
+ os=netbsd
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
esac
|
|
|
8f1c6e |
# The OS release
|
|
|
8f1c6e |
@@ -201,6 +200,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
|
8f1c6e |
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
|
|
8f1c6e |
echo "${machine}-${os}${release}"
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ *:Bitrig:*:*)
|
|
|
8f1c6e |
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
*:OpenBSD:*:*)
|
|
|
8f1c6e |
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
|
|
8f1c6e |
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
|
|
8f1c6e |
@@ -223,7 +226,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
|
8f1c6e |
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
*5.*)
|
|
|
8f1c6e |
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
|
|
8f1c6e |
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
esac
|
|
|
8f1c6e |
# According to Compaq, /usr/sbin/psrinfo has been available on
|
|
|
8f1c6e |
@@ -269,7 +272,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
|
8f1c6e |
# A Xn.n version is an unreleased experimental baselevel.
|
|
|
8f1c6e |
# 1.2 uses "1.2" for uname -r.
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
|
|
|
8f1c6e |
+ exitcode=$?
|
|
|
8f1c6e |
+ trap '' 0
|
|
|
8f1c6e |
+ exit $exitcode ;;
|
|
|
8f1c6e |
Alpha\ *:Windows_NT*:*)
|
|
|
8f1c6e |
# How do we know it's Interix rather than the generic POSIX subsystem?
|
|
|
8f1c6e |
# Should we change UNAME_MACHINE based on the output of uname instead
|
|
|
8f1c6e |
@@ -295,12 +301,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
|
8f1c6e |
echo s390-ibm-zvmoe
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
*:OS400:*:*)
|
|
|
8f1c6e |
- echo powerpc-ibm-os400
|
|
|
8f1c6e |
+ echo powerpc-ibm-os400
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
|
|
8f1c6e |
echo arm-acorn-riscix${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- arm:riscos:*:*|arm:RISCOS:*:*)
|
|
|
8f1c6e |
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
|
|
|
8f1c6e |
echo arm-unknown-riscos
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
|
|
8f1c6e |
@@ -324,14 +330,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
|
8f1c6e |
case `/usr/bin/uname -p` in
|
|
|
8f1c6e |
sparc) echo sparc-icl-nx7; exit ;;
|
|
|
8f1c6e |
esac ;;
|
|
|
8f1c6e |
+ s390x:SunOS:*:*)
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
sun4H:SunOS:5.*:*)
|
|
|
8f1c6e |
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
|
|
|
8f1c6e |
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
|
|
|
8f1c6e |
+ echo i386-pc-auroraux${UNAME_RELEASE}
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
|
|
8f1c6e |
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
|
8f1c6e |
+ eval $set_cc_for_build
|
|
|
8f1c6e |
+ SUN_ARCH="i386"
|
|
|
8f1c6e |
+ # If there is a compiler, see if it is configured for 64-bit objects.
|
|
|
8f1c6e |
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
|
|
|
8f1c6e |
+ # This test works for both compilers.
|
|
|
8f1c6e |
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
|
8f1c6e |
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
|
8f1c6e |
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
|
8f1c6e |
+ grep IS_64BIT_ARCH >/dev/null
|
|
|
8f1c6e |
+ then
|
|
|
8f1c6e |
+ SUN_ARCH="x86_64"
|
|
|
8f1c6e |
+ fi
|
|
|
8f1c6e |
+ fi
|
|
|
8f1c6e |
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
sun4*:SunOS:6*:*)
|
|
|
8f1c6e |
# According to config.sub, this is the proper way to canonicalize
|
|
|
8f1c6e |
@@ -375,23 +400,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
|
8f1c6e |
# MiNT. But MiNT is downward compatible to TOS, so this should
|
|
|
8f1c6e |
# be no problem.
|
|
|
8f1c6e |
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
|
|
|
8f1c6e |
- echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
+ echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
|
|
|
8f1c6e |
echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
|
|
|
8f1c6e |
- echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
+ echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
|
|
|
8f1c6e |
- echo m68k-milan-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ echo m68k-milan-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
|
|
|
8f1c6e |
- echo m68k-hades-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ echo m68k-hades-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
|
|
8f1c6e |
- echo m68k-unknown-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ echo m68k-unknown-mint${UNAME_RELEASE}
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
m68k:machten:*:*)
|
|
|
8f1c6e |
echo m68k-apple-machten${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
@@ -461,8 +486,8 @@ EOF
|
|
|
8f1c6e |
echo m88k-motorola-sysv3
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
AViiON:dgux:*:*)
|
|
|
8f1c6e |
- # DG/UX returns AViiON for all architectures
|
|
|
8f1c6e |
- UNAME_PROCESSOR=`/usr/bin/uname -p`
|
|
|
8f1c6e |
+ # DG/UX returns AViiON for all architectures
|
|
|
8f1c6e |
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
|
|
|
8f1c6e |
if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
|
|
|
8f1c6e |
then
|
|
|
8f1c6e |
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
|
|
|
8f1c6e |
@@ -475,7 +500,7 @@ EOF
|
|
|
8f1c6e |
else
|
|
|
8f1c6e |
echo i586-dg-dgux${UNAME_RELEASE}
|
|
|
8f1c6e |
fi
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
|
|
|
8f1c6e |
echo m88k-dolphin-sysv3
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
@@ -532,7 +557,7 @@ EOF
|
|
|
8f1c6e |
echo rs6000-ibm-aix3.2
|
|
|
8f1c6e |
fi
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- *:AIX:*:[45])
|
|
|
8f1c6e |
+ *:AIX:*:[4567])
|
|
|
8f1c6e |
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
|
|
8f1c6e |
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
|
|
8f1c6e |
IBM_ARCH=rs6000
|
|
|
8f1c6e |
@@ -575,52 +600,52 @@ EOF
|
|
|
8f1c6e |
9000/[678][0-9][0-9])
|
|
|
8f1c6e |
if [ -x /usr/bin/getconf ]; then
|
|
|
8f1c6e |
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
|
|
8f1c6e |
- sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
|
|
8f1c6e |
- case "${sc_cpu_version}" in
|
|
|
8f1c6e |
- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
|
|
8f1c6e |
- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
|
|
8f1c6e |
- 532) # CPU_PA_RISC2_0
|
|
|
8f1c6e |
- case "${sc_kernel_bits}" in
|
|
|
8f1c6e |
- 32) HP_ARCH="hppa2.0n" ;;
|
|
|
8f1c6e |
- 64) HP_ARCH="hppa2.0w" ;;
|
|
|
8f1c6e |
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
|
|
8f1c6e |
+ case "${sc_cpu_version}" in
|
|
|
8f1c6e |
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
|
|
8f1c6e |
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
|
|
8f1c6e |
+ 532) # CPU_PA_RISC2_0
|
|
|
8f1c6e |
+ case "${sc_kernel_bits}" in
|
|
|
8f1c6e |
+ 32) HP_ARCH="hppa2.0n" ;;
|
|
|
8f1c6e |
+ 64) HP_ARCH="hppa2.0w" ;;
|
|
|
8f1c6e |
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
|
|
8f1c6e |
- esac ;;
|
|
|
8f1c6e |
- esac
|
|
|
8f1c6e |
+ esac ;;
|
|
|
8f1c6e |
+ esac
|
|
|
8f1c6e |
fi
|
|
|
8f1c6e |
if [ "${HP_ARCH}" = "" ]; then
|
|
|
8f1c6e |
eval $set_cc_for_build
|
|
|
8f1c6e |
- sed 's/^ //' << EOF >$dummy.c
|
|
|
8f1c6e |
+ sed 's/^ //' << EOF >$dummy.c
|
|
|
8f1c6e |
|
|
|
8f1c6e |
- #define _HPUX_SOURCE
|
|
|
8f1c6e |
- #include <stdlib.h>
|
|
|
8f1c6e |
- #include <unistd.h>
|
|
|
8f1c6e |
-
|
|
|
8f1c6e |
- int main ()
|
|
|
8f1c6e |
- {
|
|
|
8f1c6e |
- #if defined(_SC_KERNEL_BITS)
|
|
|
8f1c6e |
- long bits = sysconf(_SC_KERNEL_BITS);
|
|
|
8f1c6e |
- #endif
|
|
|
8f1c6e |
- long cpu = sysconf (_SC_CPU_VERSION);
|
|
|
8f1c6e |
-
|
|
|
8f1c6e |
- switch (cpu)
|
|
|
8f1c6e |
- {
|
|
|
8f1c6e |
- case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
|
|
8f1c6e |
- case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
|
|
8f1c6e |
- case CPU_PA_RISC2_0:
|
|
|
8f1c6e |
- #if defined(_SC_KERNEL_BITS)
|
|
|
8f1c6e |
- switch (bits)
|
|
|
8f1c6e |
- {
|
|
|
8f1c6e |
- case 64: puts ("hppa2.0w"); break;
|
|
|
8f1c6e |
- case 32: puts ("hppa2.0n"); break;
|
|
|
8f1c6e |
- default: puts ("hppa2.0"); break;
|
|
|
8f1c6e |
- } break;
|
|
|
8f1c6e |
- #else /* !defined(_SC_KERNEL_BITS) */
|
|
|
8f1c6e |
- puts ("hppa2.0"); break;
|
|
|
8f1c6e |
- #endif
|
|
|
8f1c6e |
- default: puts ("hppa1.0"); break;
|
|
|
8f1c6e |
- }
|
|
|
8f1c6e |
- exit (0);
|
|
|
8f1c6e |
- }
|
|
|
8f1c6e |
+ #define _HPUX_SOURCE
|
|
|
8f1c6e |
+ #include <stdlib.h>
|
|
|
8f1c6e |
+ #include <unistd.h>
|
|
|
8f1c6e |
+
|
|
|
8f1c6e |
+ int main ()
|
|
|
8f1c6e |
+ {
|
|
|
8f1c6e |
+ #if defined(_SC_KERNEL_BITS)
|
|
|
8f1c6e |
+ long bits = sysconf(_SC_KERNEL_BITS);
|
|
|
8f1c6e |
+ #endif
|
|
|
8f1c6e |
+ long cpu = sysconf (_SC_CPU_VERSION);
|
|
|
8f1c6e |
+
|
|
|
8f1c6e |
+ switch (cpu)
|
|
|
8f1c6e |
+ {
|
|
|
8f1c6e |
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
|
|
8f1c6e |
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
|
|
8f1c6e |
+ case CPU_PA_RISC2_0:
|
|
|
8f1c6e |
+ #if defined(_SC_KERNEL_BITS)
|
|
|
8f1c6e |
+ switch (bits)
|
|
|
8f1c6e |
+ {
|
|
|
8f1c6e |
+ case 64: puts ("hppa2.0w"); break;
|
|
|
8f1c6e |
+ case 32: puts ("hppa2.0n"); break;
|
|
|
8f1c6e |
+ default: puts ("hppa2.0"); break;
|
|
|
8f1c6e |
+ } break;
|
|
|
8f1c6e |
+ #else /* !defined(_SC_KERNEL_BITS) */
|
|
|
8f1c6e |
+ puts ("hppa2.0"); break;
|
|
|
8f1c6e |
+ #endif
|
|
|
8f1c6e |
+ default: puts ("hppa1.0"); break;
|
|
|
8f1c6e |
+ }
|
|
|
8f1c6e |
+ exit (0);
|
|
|
8f1c6e |
+ }
|
|
|
8f1c6e |
EOF
|
|
|
8f1c6e |
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
|
|
8f1c6e |
test -z "$HP_ARCH" && HP_ARCH=hppa
|
|
|
8f1c6e |
@@ -640,7 +665,7 @@ EOF
|
|
|
8f1c6e |
# => hppa64-hp-hpux11.23
|
|
|
8f1c6e |
|
|
|
8f1c6e |
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
|
|
|
8f1c6e |
- grep __LP64__ >/dev/null
|
|
|
8f1c6e |
+ grep -q __LP64__
|
|
|
8f1c6e |
then
|
|
|
8f1c6e |
HP_ARCH="hppa2.0w"
|
|
|
8f1c6e |
else
|
|
|
8f1c6e |
@@ -711,22 +736,22 @@ EOF
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
|
|
8f1c6e |
echo c1-convex-bsd
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
|
|
|
8f1c6e |
if getsysinfo -f scalar_acc
|
|
|
8f1c6e |
then echo c32-convex-bsd
|
|
|
8f1c6e |
else echo c2-convex-bsd
|
|
|
8f1c6e |
fi
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
|
|
|
8f1c6e |
echo c34-convex-bsd
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
|
|
|
8f1c6e |
echo c38-convex-bsd
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
|
|
8f1c6e |
echo c4-convex-bsd
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
CRAY*Y-MP:*:*:*)
|
|
|
8f1c6e |
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
@@ -750,14 +775,14 @@ EOF
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
|
|
8f1c6e |
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
|
8f1c6e |
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
|
8f1c6e |
- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
|
|
8f1c6e |
- echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
|
8f1c6e |
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
|
|
8f1c6e |
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
5000:UNIX_System_V:4.*:*)
|
|
|
8f1c6e |
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
|
8f1c6e |
- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
|
|
8f1c6e |
- echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
|
8f1c6e |
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
|
8f1c6e |
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
|
|
8f1c6e |
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
|
|
8f1c6e |
@@ -769,40 +794,51 @@ EOF
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
*:FreeBSD:*:*)
|
|
|
8f1c6e |
- case ${UNAME_MACHINE} in
|
|
|
8f1c6e |
- pc98)
|
|
|
8f1c6e |
- echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
|
8f1c6e |
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
|
|
|
8f1c6e |
+ case ${UNAME_PROCESSOR} in
|
|
|
8f1c6e |
amd64)
|
|
|
8f1c6e |
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
|
8f1c6e |
*)
|
|
|
8f1c6e |
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
|
8f1c6e |
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
|
8f1c6e |
esac
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
i*:CYGWIN*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-pc-cygwin
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ *:MINGW64*:*)
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-pc-mingw64
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
*:MINGW*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-pc-mingw32
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ i*:MSYS*:*)
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-pc-msys
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
i*:windows32*:*)
|
|
|
8f1c6e |
- # uname -m includes "-pc" on this system.
|
|
|
8f1c6e |
- echo ${UNAME_MACHINE}-mingw32
|
|
|
8f1c6e |
+ # uname -m includes "-pc" on this system.
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-mingw32
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
i*:PW*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-pc-pw32
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- *:Interix*:[3456]*)
|
|
|
8f1c6e |
- case ${UNAME_MACHINE} in
|
|
|
8f1c6e |
+ *:Interix*:*)
|
|
|
8f1c6e |
+ case ${UNAME_MACHINE} in
|
|
|
8f1c6e |
x86)
|
|
|
8f1c6e |
echo i586-pc-interix${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- EM64T | authenticamd)
|
|
|
8f1c6e |
+ authenticamd | genuineintel | EM64T)
|
|
|
8f1c6e |
echo x86_64-unknown-interix${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ IA64)
|
|
|
8f1c6e |
+ echo ia64-unknown-interix${UNAME_RELEASE}
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
esac ;;
|
|
|
8f1c6e |
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
|
|
8f1c6e |
echo i${UNAME_MACHINE}-pc-mks
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ 8664:Windows_NT:*)
|
|
|
8f1c6e |
+ echo x86_64-pc-mks
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
|
|
8f1c6e |
# How do we know it's Interix rather than the generic POSIX subsystem?
|
|
|
8f1c6e |
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
|
|
8f1c6e |
@@ -832,20 +868,68 @@ EOF
|
|
|
8f1c6e |
i*86:Minix:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-pc-minix
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- arm*:Linux:*:*)
|
|
|
8f1c6e |
+ aarch64:Linux:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ aarch64_be:Linux:*:*)
|
|
|
8f1c6e |
+ UNAME_MACHINE=aarch64_be
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
+ alpha:Linux:*:*)
|
|
|
8f1c6e |
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
|
|
8f1c6e |
+ EV5) UNAME_MACHINE=alphaev5 ;;
|
|
|
8f1c6e |
+ EV56) UNAME_MACHINE=alphaev56 ;;
|
|
|
8f1c6e |
+ PCA56) UNAME_MACHINE=alphapca56 ;;
|
|
|
8f1c6e |
+ PCA57) UNAME_MACHINE=alphapca56 ;;
|
|
|
8f1c6e |
+ EV6) UNAME_MACHINE=alphaev6 ;;
|
|
|
8f1c6e |
+ EV67) UNAME_MACHINE=alphaev67 ;;
|
|
|
8f1c6e |
+ EV68*) UNAME_MACHINE=alphaev68 ;;
|
|
|
8f1c6e |
+ esac
|
|
|
8f1c6e |
+ objdump --private-headers /bin/sh | grep -q ld.so.1
|
|
|
8f1c6e |
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
+ arm*:Linux:*:*)
|
|
|
8f1c6e |
+ eval $set_cc_for_build
|
|
|
8f1c6e |
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
|
8f1c6e |
+ | grep -q __ARM_EABI__
|
|
|
8f1c6e |
+ then
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
+ else
|
|
|
8f1c6e |
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
|
8f1c6e |
+ | grep -q __ARM_PCS_VFP
|
|
|
8f1c6e |
+ then
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
|
|
8f1c6e |
+ else
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
|
|
8f1c6e |
+ fi
|
|
|
8f1c6e |
+ fi
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
avr32*:Linux:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
cris:Linux:*:*)
|
|
|
8f1c6e |
- echo cris-axis-linux-gnu
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-axis-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
crisv32:Linux:*:*)
|
|
|
8f1c6e |
- echo crisv32-axis-linux-gnu
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-axis-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
frv:Linux:*:*)
|
|
|
8f1c6e |
- echo frv-unknown-linux-gnu
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
+ hexagon:Linux:*:*)
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
+ i*86:Linux:*:*)
|
|
|
8f1c6e |
+ LIBC=gnu
|
|
|
8f1c6e |
+ eval $set_cc_for_build
|
|
|
8f1c6e |
+ sed 's/^ //' << EOF >$dummy.c
|
|
|
8f1c6e |
+ #ifdef __dietlibc__
|
|
|
8f1c6e |
+ LIBC=dietlibc
|
|
|
8f1c6e |
+ #endif
|
|
|
8f1c6e |
+EOF
|
|
|
8f1c6e |
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
|
8f1c6e |
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
ia64:Linux:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
@@ -856,74 +940,33 @@ EOF
|
|
|
8f1c6e |
m68*:Linux:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- mips:Linux:*:*)
|
|
|
8f1c6e |
+ mips:Linux:*:* | mips64:Linux:*:*)
|
|
|
8f1c6e |
eval $set_cc_for_build
|
|
|
8f1c6e |
sed 's/^ //' << EOF >$dummy.c
|
|
|
8f1c6e |
#undef CPU
|
|
|
8f1c6e |
- #undef mips
|
|
|
8f1c6e |
- #undef mipsel
|
|
|
8f1c6e |
+ #undef ${UNAME_MACHINE}
|
|
|
8f1c6e |
+ #undef ${UNAME_MACHINE}el
|
|
|
8f1c6e |
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
|
|
8f1c6e |
- CPU=mipsel
|
|
|
8f1c6e |
+ CPU=${UNAME_MACHINE}el
|
|
|
8f1c6e |
#else
|
|
|
8f1c6e |
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
|
|
8f1c6e |
- CPU=mips
|
|
|
8f1c6e |
+ CPU=${UNAME_MACHINE}
|
|
|
8f1c6e |
#else
|
|
|
8f1c6e |
CPU=
|
|
|
8f1c6e |
#endif
|
|
|
8f1c6e |
#endif
|
|
|
8f1c6e |
EOF
|
|
|
8f1c6e |
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
|
|
8f1c6e |
- /^CPU/{
|
|
|
8f1c6e |
- s: ::g
|
|
|
8f1c6e |
- p
|
|
|
8f1c6e |
- }'`"
|
|
|
8f1c6e |
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
|
|
8f1c6e |
- ;;
|
|
|
8f1c6e |
- mips64:Linux:*:*)
|
|
|
8f1c6e |
- eval $set_cc_for_build
|
|
|
8f1c6e |
- sed 's/^ //' << EOF >$dummy.c
|
|
|
8f1c6e |
- #undef CPU
|
|
|
8f1c6e |
- #undef mips64
|
|
|
8f1c6e |
- #undef mips64el
|
|
|
8f1c6e |
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
|
|
8f1c6e |
- CPU=mips64el
|
|
|
8f1c6e |
- #else
|
|
|
8f1c6e |
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
|
|
8f1c6e |
- CPU=mips64
|
|
|
8f1c6e |
- #else
|
|
|
8f1c6e |
- CPU=
|
|
|
8f1c6e |
- #endif
|
|
|
8f1c6e |
- #endif
|
|
|
8f1c6e |
-EOF
|
|
|
8f1c6e |
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
|
|
8f1c6e |
- /^CPU/{
|
|
|
8f1c6e |
- s: ::g
|
|
|
8f1c6e |
- p
|
|
|
8f1c6e |
- }'`"
|
|
|
8f1c6e |
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
|
|
8f1c6e |
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
or32:Linux:*:*)
|
|
|
8f1c6e |
- echo or32-unknown-linux-gnu
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
- ppc:Linux:*:*)
|
|
|
8f1c6e |
- echo powerpc-unknown-linux-gnu
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- ppc64:Linux:*:*)
|
|
|
8f1c6e |
- echo powerpc64-unknown-linux-gnu
|
|
|
8f1c6e |
+ padre:Linux:*:*)
|
|
|
8f1c6e |
+ echo sparc-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- alpha:Linux:*:*)
|
|
|
8f1c6e |
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
|
|
8f1c6e |
- EV5) UNAME_MACHINE=alphaev5 ;;
|
|
|
8f1c6e |
- EV56) UNAME_MACHINE=alphaev56 ;;
|
|
|
8f1c6e |
- PCA56) UNAME_MACHINE=alphapca56 ;;
|
|
|
8f1c6e |
- PCA57) UNAME_MACHINE=alphapca56 ;;
|
|
|
8f1c6e |
- EV6) UNAME_MACHINE=alphaev6 ;;
|
|
|
8f1c6e |
- EV67) UNAME_MACHINE=alphaev67 ;;
|
|
|
8f1c6e |
- EV68*) UNAME_MACHINE=alphaev68 ;;
|
|
|
8f1c6e |
- esac
|
|
|
8f1c6e |
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
|
|
|
8f1c6e |
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
|
|
8f1c6e |
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
|
|
8f1c6e |
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
|
|
|
8f1c6e |
+ echo hppa64-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
parisc:Linux:*:* | hppa:Linux:*:*)
|
|
|
8f1c6e |
# Look for CPU level
|
|
|
8f1c6e |
@@ -933,14 +976,17 @@ EOF
|
|
|
8f1c6e |
*) echo hppa-unknown-linux-gnu ;;
|
|
|
8f1c6e |
esac
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- parisc64:Linux:*:* | hppa64:Linux:*:*)
|
|
|
8f1c6e |
- echo hppa64-unknown-linux-gnu
|
|
|
8f1c6e |
+ ppc64:Linux:*:*)
|
|
|
8f1c6e |
+ echo powerpc64-unknown-linux-gnu
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
+ ppc:Linux:*:*)
|
|
|
8f1c6e |
+ echo powerpc-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
s390:Linux:*:* | s390x:Linux:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-ibm-linux
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
sh64*:Linux:*:*)
|
|
|
8f1c6e |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
sh*:Linux:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
@@ -948,78 +994,18 @@ EOF
|
|
|
8f1c6e |
sparc:Linux:*:* | sparc64:Linux:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ tile*:Linux:*:*)
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
vax:Linux:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-dec-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
x86_64:Linux:*:*)
|
|
|
8f1c6e |
- echo x86_64-unknown-linux-gnu
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- xtensa:Linux:*:*)
|
|
|
8f1c6e |
- echo xtensa-unknown-linux-gnu
|
|
|
8f1c6e |
+ xtensa*:Linux:*:*)
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- i*86:Linux:*:*)
|
|
|
8f1c6e |
- # The BFD linker knows what the default object file format is, so
|
|
|
8f1c6e |
- # first see if it will tell us. cd to the root directory to prevent
|
|
|
8f1c6e |
- # problems with other programs or directories called `ld' in the path.
|
|
|
8f1c6e |
- # Set LC_ALL=C to ensure ld outputs messages in English.
|
|
|
8f1c6e |
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
|
|
|
8f1c6e |
- | sed -ne '/supported targets:/!d
|
|
|
8f1c6e |
- s/[ ][ ]*/ /g
|
|
|
8f1c6e |
- s/.*supported targets: *//
|
|
|
8f1c6e |
- s/ .*//
|
|
|
8f1c6e |
- p'`
|
|
|
8f1c6e |
- case "$ld_supported_targets" in
|
|
|
8f1c6e |
- elf32-i386)
|
|
|
8f1c6e |
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
|
|
8f1c6e |
- ;;
|
|
|
8f1c6e |
- a.out-i386-linux)
|
|
|
8f1c6e |
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
- coff-i386)
|
|
|
8f1c6e |
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
- "")
|
|
|
8f1c6e |
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
|
|
|
8f1c6e |
- # one that does not give us useful --help.
|
|
|
8f1c6e |
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
- esac
|
|
|
8f1c6e |
- # Determine whether the default compiler is a.out or elf
|
|
|
8f1c6e |
- eval $set_cc_for_build
|
|
|
8f1c6e |
- sed 's/^ //' << EOF >$dummy.c
|
|
|
8f1c6e |
- #include <features.h>
|
|
|
8f1c6e |
- #ifdef __ELF__
|
|
|
8f1c6e |
- # ifdef __GLIBC__
|
|
|
8f1c6e |
- # if __GLIBC__ >= 2
|
|
|
8f1c6e |
- LIBC=gnu
|
|
|
8f1c6e |
- # else
|
|
|
8f1c6e |
- LIBC=gnulibc1
|
|
|
8f1c6e |
- # endif
|
|
|
8f1c6e |
- # else
|
|
|
8f1c6e |
- LIBC=gnulibc1
|
|
|
8f1c6e |
- # endif
|
|
|
8f1c6e |
- #else
|
|
|
8f1c6e |
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
|
|
8f1c6e |
- LIBC=gnu
|
|
|
8f1c6e |
- #else
|
|
|
8f1c6e |
- LIBC=gnuaout
|
|
|
8f1c6e |
- #endif
|
|
|
8f1c6e |
- #endif
|
|
|
8f1c6e |
- #ifdef __dietlibc__
|
|
|
8f1c6e |
- LIBC=dietlibc
|
|
|
8f1c6e |
- #endif
|
|
|
8f1c6e |
-EOF
|
|
|
8f1c6e |
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
|
|
8f1c6e |
- /^LIBC/{
|
|
|
8f1c6e |
- s: ::g
|
|
|
8f1c6e |
- p
|
|
|
8f1c6e |
- }'`"
|
|
|
8f1c6e |
- test x"${LIBC}" != x && {
|
|
|
8f1c6e |
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
|
|
8f1c6e |
- exit
|
|
|
8f1c6e |
- }
|
|
|
8f1c6e |
- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
|
|
|
8f1c6e |
- ;;
|
|
|
8f1c6e |
i*86:DYNIX/ptx:4*:*)
|
|
|
8f1c6e |
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
|
|
8f1c6e |
# earlier versions are messed up and put the nodename in both
|
|
|
8f1c6e |
@@ -1027,11 +1013,11 @@ EOF
|
|
|
8f1c6e |
echo i386-sequent-sysv4
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
i*86:UNIX_SV:4.2MP:2.*)
|
|
|
8f1c6e |
- # Unixware is an offshoot of SVR4, but it has its own version
|
|
|
8f1c6e |
- # number series starting with 2...
|
|
|
8f1c6e |
- # I am not positive that other SVR4 systems won't match this,
|
|
|
8f1c6e |
+ # Unixware is an offshoot of SVR4, but it has its own version
|
|
|
8f1c6e |
+ # number series starting with 2...
|
|
|
8f1c6e |
+ # I am not positive that other SVR4 systems won't match this,
|
|
|
8f1c6e |
# I just have to hope. -- rms.
|
|
|
8f1c6e |
- # Use sysv4.2uw... so that sysv4* matches it.
|
|
|
8f1c6e |
+ # Use sysv4.2uw... so that sysv4* matches it.
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
i*86:OS/2:*:*)
|
|
|
8f1c6e |
@@ -1048,7 +1034,7 @@ EOF
|
|
|
8f1c6e |
i*86:syllable:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-pc-syllable
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
|
|
8f1c6e |
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
|
|
|
8f1c6e |
echo i386-unknown-lynxos${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
i*86:*DOS:*:*)
|
|
|
8f1c6e |
@@ -1063,7 +1049,7 @@ EOF
|
|
|
8f1c6e |
fi
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
i*86:*:5:[678]*)
|
|
|
8f1c6e |
- # UnixWare 7.x, OpenUNIX and OpenServer 6.
|
|
|
8f1c6e |
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
|
|
|
8f1c6e |
case `/bin/uname -X | grep "^Machine"` in
|
|
|
8f1c6e |
*486*) UNAME_MACHINE=i486 ;;
|
|
|
8f1c6e |
*Pentium) UNAME_MACHINE=i586 ;;
|
|
|
8f1c6e |
@@ -1091,10 +1077,13 @@ EOF
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
pc:*:*:*)
|
|
|
8f1c6e |
# Left here for compatibility:
|
|
|
8f1c6e |
- # uname -m prints for DJGPP always 'pc', but it prints nothing about
|
|
|
8f1c6e |
- # the processor, so we play safe by assuming i386.
|
|
|
8f1c6e |
- echo i386-pc-msdosdjgpp
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
|
|
|
8f1c6e |
+ # the processor, so we play safe by assuming i586.
|
|
|
8f1c6e |
+ # Note: whatever this is, it MUST be the same as what config.sub
|
|
|
8f1c6e |
+ # prints for the "djgpp" host, or else GDB configury will decide that
|
|
|
8f1c6e |
+ # this is a cross-build.
|
|
|
8f1c6e |
+ echo i586-pc-msdosdjgpp
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
Intel:Mach:3*:*)
|
|
|
8f1c6e |
echo i386-pc-mach3
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
@@ -1129,8 +1118,18 @@ EOF
|
|
|
8f1c6e |
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
|
|
8f1c6e |
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
|
|
8f1c6e |
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
|
|
8f1c6e |
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
|
8f1c6e |
- && { echo i486-ncr-sysv4; exit; } ;;
|
|
|
8f1c6e |
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
|
8f1c6e |
+ && { echo i486-ncr-sysv4; exit; } ;;
|
|
|
8f1c6e |
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
|
|
|
8f1c6e |
+ OS_REL='.3'
|
|
|
8f1c6e |
+ test -r /etc/.relid \
|
|
|
8f1c6e |
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
|
|
8f1c6e |
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
|
8f1c6e |
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
|
|
|
8f1c6e |
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
|
|
8f1c6e |
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
|
|
|
8f1c6e |
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
|
|
|
8f1c6e |
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
|
|
8f1c6e |
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
|
|
8f1c6e |
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
@@ -1143,7 +1142,7 @@ EOF
|
|
|
8f1c6e |
rs6000:LynxOS:2.*:*)
|
|
|
8f1c6e |
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
|
|
|
8f1c6e |
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
|
|
|
8f1c6e |
echo powerpc-unknown-lynxos${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
SM[BE]S:UNIX_SV:*:*)
|
|
|
8f1c6e |
@@ -1163,10 +1162,10 @@ EOF
|
|
|
8f1c6e |
echo ns32k-sni-sysv
|
|
|
8f1c6e |
fi
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
|
|
8f1c6e |
- # says <Richard.M.Bartel@ccMail.Census.GOV>
|
|
|
8f1c6e |
- echo i586-unisys-sysv4
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
|
|
8f1c6e |
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
|
|
|
8f1c6e |
+ echo i586-unisys-sysv4
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
*:UNIX_System_V:4*:FTX*)
|
|
|
8f1c6e |
# From Gerald Hewes <hewes@openmarket.com>.
|
|
|
8f1c6e |
# How about differentiating between stratus architectures? -djm
|
|
|
8f1c6e |
@@ -1192,11 +1191,11 @@ EOF
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
|
|
|
8f1c6e |
if [ -d /usr/nec ]; then
|
|
|
8f1c6e |
- echo mips-nec-sysv${UNAME_RELEASE}
|
|
|
8f1c6e |
+ echo mips-nec-sysv${UNAME_RELEASE}
|
|
|
8f1c6e |
else
|
|
|
8f1c6e |
- echo mips-unknown-sysv${UNAME_RELEASE}
|
|
|
8f1c6e |
+ echo mips-unknown-sysv${UNAME_RELEASE}
|
|
|
8f1c6e |
fi
|
|
|
8f1c6e |
- exit ;;
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
|
|
8f1c6e |
echo powerpc-be-beos
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
@@ -1206,6 +1205,12 @@ EOF
|
|
|
8f1c6e |
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
|
|
8f1c6e |
echo i586-pc-beos
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
|
|
8f1c6e |
+ echo i586-pc-haiku
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
+ x86_64:Haiku:*:*)
|
|
|
8f1c6e |
+ echo x86_64-unknown-haiku
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
SX-4:SUPER-UX:*:*)
|
|
|
8f1c6e |
echo sx4-nec-superux${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
@@ -1233,6 +1238,16 @@ EOF
|
|
|
8f1c6e |
*:Darwin:*:*)
|
|
|
8f1c6e |
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
|
|
8f1c6e |
case $UNAME_PROCESSOR in
|
|
|
8f1c6e |
+ i386)
|
|
|
8f1c6e |
+ eval $set_cc_for_build
|
|
|
8f1c6e |
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
|
8f1c6e |
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
|
8f1c6e |
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
|
8f1c6e |
+ grep IS_64BIT_ARCH >/dev/null
|
|
|
8f1c6e |
+ then
|
|
|
8f1c6e |
+ UNAME_PROCESSOR="x86_64"
|
|
|
8f1c6e |
+ fi
|
|
|
8f1c6e |
+ fi ;;
|
|
|
8f1c6e |
unknown) UNAME_PROCESSOR=powerpc ;;
|
|
|
8f1c6e |
esac
|
|
|
8f1c6e |
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
|
|
8f1c6e |
@@ -1248,7 +1263,10 @@ EOF
|
|
|
8f1c6e |
*:QNX:*:4*)
|
|
|
8f1c6e |
echo i386-pc-qnx
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
- NSE-?:NONSTOP_KERNEL:*:*)
|
|
|
8f1c6e |
+ NEO-?:NONSTOP_KERNEL:*:*)
|
|
|
8f1c6e |
+ echo neo-tandem-nsk${UNAME_RELEASE}
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
+ NSE-*:NONSTOP_KERNEL:*:*)
|
|
|
8f1c6e |
echo nse-tandem-nsk${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
NSR-?:NONSTOP_KERNEL:*:*)
|
|
|
8f1c6e |
@@ -1293,13 +1311,13 @@ EOF
|
|
|
8f1c6e |
echo pdp10-unknown-its
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
SEI:*:*:SEIUX)
|
|
|
8f1c6e |
- echo mips-sei-seiux${UNAME_RELEASE}
|
|
|
8f1c6e |
+ echo mips-sei-seiux${UNAME_RELEASE}
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
*:DragonFly:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
*:*VMS:*:*)
|
|
|
8f1c6e |
- UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
|
|
8f1c6e |
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
|
|
8f1c6e |
case "${UNAME_MACHINE}" in
|
|
|
8f1c6e |
A*) echo alpha-dec-vms ; exit ;;
|
|
|
8f1c6e |
I*) echo ia64-dec-vms ; exit ;;
|
|
|
8f1c6e |
@@ -1314,11 +1332,14 @@ EOF
|
|
|
8f1c6e |
i*86:rdos:*:*)
|
|
|
8f1c6e |
echo ${UNAME_MACHINE}-pc-rdos
|
|
|
8f1c6e |
exit ;;
|
|
|
8f1c6e |
+ i*86:AROS:*:*)
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-pc-aros
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
+ x86_64:VMkernel:*:*)
|
|
|
8f1c6e |
+ echo ${UNAME_MACHINE}-unknown-esx
|
|
|
8f1c6e |
+ exit ;;
|
|
|
8f1c6e |
esac
|
|
|
8f1c6e |
|
|
|
8f1c6e |
-#echo '(No uname command or uname output not recognized.)' 1>&2
|
|
|
8f1c6e |
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
|
|
8f1c6e |
-
|
|
|
8f1c6e |
eval $set_cc_for_build
|
|
|
8f1c6e |
cat >$dummy.c <
|
|
|
8f1c6e |
#ifdef _SEQUENT_
|
|
|
8f1c6e |
@@ -1336,11 +1357,11 @@ main ()
|
|
|
8f1c6e |
#include <sys/param.h>
|
|
|
8f1c6e |
printf ("m68k-sony-newsos%s\n",
|
|
|
8f1c6e |
#ifdef NEWSOS4
|
|
|
8f1c6e |
- "4"
|
|
|
8f1c6e |
+ "4"
|
|
|
8f1c6e |
#else
|
|
|
8f1c6e |
- ""
|
|
|
8f1c6e |
+ ""
|
|
|
8f1c6e |
#endif
|
|
|
8f1c6e |
- ); exit (0);
|
|
|
8f1c6e |
+ ); exit (0);
|
|
|
8f1c6e |
#endif
|
|
|
8f1c6e |
#endif
|
|
|
8f1c6e |
|
|
|
8f1c6e |
@@ -1474,9 +1495,9 @@ This script, last modified $timestamp, h
|
|
|
8f1c6e |
the operating system you are using. It is advised that you
|
|
|
8f1c6e |
download the most up to date version of the config scripts from
|
|
|
8f1c6e |
|
|
|
8f1c6e |
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
|
|
|
8f1c6e |
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
|
8f1c6e |
and
|
|
|
8f1c6e |
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
|
|
|
8f1c6e |
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
|
|
8f1c6e |
|
|
|
8f1c6e |
If the version you run ($0) is already up to date, please
|
|
|
8f1c6e |
send the following data and any information you think might be
|
|
|
8f1c6e |
diff -up a2ps-4.14/auxdir/config.sub.aarch64 a2ps-4.14/auxdir/config.sub
|
|
|
8f1c6e |
--- a2ps-4.14/auxdir/config.sub.aarch64 2007-12-29 03:28:06.000000000 +0000
|
|
|
8f1c6e |
+++ a2ps-4.14/auxdir/config.sub 2013-04-29 13:13:51.037686671 +0100
|
|
|
8f1c6e |
@@ -1,10 +1,10 @@
|
|
|
8f1c6e |
#! /bin/sh
|
|
|
8f1c6e |
# Configuration validation subroutine script.
|
|
|
8f1c6e |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
|
8f1c6e |
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
|
|
8f1c6e |
-# Inc.
|
|
|
8f1c6e |
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
|
8f1c6e |
+# 2011, 2012 Free Software Foundation, Inc.
|
|
|
8f1c6e |
|
|
|
8f1c6e |
-timestamp='2007-06-28'
|
|
|
8f1c6e |
+timestamp='2012-10-10'
|
|
|
8f1c6e |
|
|
|
8f1c6e |
# This file is (in principle) common to ALL GNU software.
|
|
|
8f1c6e |
# The presence of a machine in this file suggests that SOME GNU software
|
|
|
8f1c6e |
@@ -21,9 +21,7 @@ timestamp='2007-06-28'
|
|
|
8f1c6e |
# GNU General Public License for more details.
|
|
|
8f1c6e |
#
|
|
|
8f1c6e |
# You should have received a copy of the GNU General Public License
|
|
|
8f1c6e |
-# along with this program; if not, write to the Free Software
|
|
|
8f1c6e |
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
8f1c6e |
-# 02110-1301, USA.
|
|
|
8f1c6e |
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
8f1c6e |
#
|
|
|
8f1c6e |
# As a special exception to the GNU General Public License, if you
|
|
|
8f1c6e |
# distribute this file as part of a program that contains a
|
|
|
8f1c6e |
@@ -32,13 +30,16 @@ timestamp='2007-06-28'
|
|
|
8f1c6e |
|
|
|
8f1c6e |
|
|
|
8f1c6e |
# Please send patches to <config-patches@gnu.org>. Submit a context
|
|
|
8f1c6e |
-# diff and a properly formatted ChangeLog entry.
|
|
|
8f1c6e |
+# diff and a properly formatted GNU ChangeLog entry.
|
|
|
8f1c6e |
#
|
|
|
8f1c6e |
# Configuration subroutine to validate and canonicalize a configuration type.
|
|
|
8f1c6e |
# Supply the specified configuration type as an argument.
|
|
|
8f1c6e |
# If it is invalid, we print an error message on stderr and exit with code 1.
|
|
|
8f1c6e |
# Otherwise, we print the canonical config type on stdout and succeed.
|
|
|
8f1c6e |
|
|
|
8f1c6e |
+# You can get the latest version of this script from:
|
|
|
8f1c6e |
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
|
|
8f1c6e |
+
|
|
|
8f1c6e |
# This file is supposed to be the same for all GNU packages
|
|
|
8f1c6e |
# and recognize all the CPU types, system types and aliases
|
|
|
8f1c6e |
# that are meaningful with *any* GNU software.
|
|
|
8f1c6e |
@@ -72,7 +73,8 @@ Report bugs and patches to
|
|
|
8f1c6e |
version="\
|
|
|
8f1c6e |
GNU config.sub ($timestamp)
|
|
|
8f1c6e |
|
|
|
8f1c6e |
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
|
|
8f1c6e |
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
|
|
8f1c6e |
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
|
|
8f1c6e |
Free Software Foundation, Inc.
|
|
|
8f1c6e |
|
|
|
8f1c6e |
This is free software; see the source for copying conditions. There is NO
|
|
|
8f1c6e |
@@ -120,12 +122,18 @@ esac
|
|
|
8f1c6e |
# Here we must recognize all the valid KERNEL-OS combinations.
|
|
|
8f1c6e |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
|
8f1c6e |
case $maybe_os in
|
|
|
8f1c6e |
- nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
|
|
8f1c6e |
- uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
|
|
8f1c6e |
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
|
|
8f1c6e |
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
|
|
8f1c6e |
+ knetbsd*-gnu* | netbsd*-gnu* | \
|
|
|
8f1c6e |
+ kopensolaris*-gnu* | \
|
|
|
8f1c6e |
storm-chaos* | os2-emx* | rtmk-nova*)
|
|
|
8f1c6e |
os=-$maybe_os
|
|
|
8f1c6e |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ android-linux)
|
|
|
8f1c6e |
+ os=-linux-android
|
|
|
8f1c6e |
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
*)
|
|
|
8f1c6e |
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
|
|
|
8f1c6e |
if [ $basic_machine != $1 ]
|
|
|
8f1c6e |
@@ -148,10 +156,13 @@ case $os in
|
|
|
8f1c6e |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
|
|
8f1c6e |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
|
|
8f1c6e |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
|
|
8f1c6e |
- -apple | -axis | -knuth | -cray)
|
|
|
8f1c6e |
+ -apple | -axis | -knuth | -cray | -microblaze*)
|
|
|
8f1c6e |
os=
|
|
|
8f1c6e |
basic_machine=$1
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ -bluegene*)
|
|
|
8f1c6e |
+ os=-cnk
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
-sim | -cisco | -oki | -wec | -winbond)
|
|
|
8f1c6e |
os=
|
|
|
8f1c6e |
basic_machine=$1
|
|
|
8f1c6e |
@@ -166,10 +177,10 @@ case $os in
|
|
|
8f1c6e |
os=-chorusos
|
|
|
8f1c6e |
basic_machine=$1
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- -chorusrdb)
|
|
|
8f1c6e |
- os=-chorusrdb
|
|
|
8f1c6e |
+ -chorusrdb)
|
|
|
8f1c6e |
+ os=-chorusrdb
|
|
|
8f1c6e |
basic_machine=$1
|
|
|
8f1c6e |
- ;;
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
-hiux*)
|
|
|
8f1c6e |
os=-hiuxwe2
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -214,6 +225,12 @@ case $os in
|
|
|
8f1c6e |
-isc*)
|
|
|
8f1c6e |
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ -lynx*178)
|
|
|
8f1c6e |
+ os=-lynxos178
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ -lynx*5)
|
|
|
8f1c6e |
+ os=-lynxos5
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
-lynx*)
|
|
|
8f1c6e |
os=-lynxos
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -238,24 +255,32 @@ case $basic_machine in
|
|
|
8f1c6e |
# Some are omitted here because they have special meanings below.
|
|
|
8f1c6e |
1750a | 580 \
|
|
|
8f1c6e |
| a29k \
|
|
|
8f1c6e |
+ | aarch64 | aarch64_be \
|
|
|
8f1c6e |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
|
|
8f1c6e |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
|
|
8f1c6e |
| am33_2.0 \
|
|
|
8f1c6e |
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
|
|
8f1c6e |
+ | be32 | be64 \
|
|
|
8f1c6e |
| bfin \
|
|
|
8f1c6e |
| c4x | clipper \
|
|
|
8f1c6e |
| d10v | d30v | dlx | dsp16xx \
|
|
|
8f1c6e |
+ | epiphany \
|
|
|
8f1c6e |
| fido | fr30 | frv \
|
|
|
8f1c6e |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
|
|
8f1c6e |
+ | hexagon \
|
|
|
8f1c6e |
| i370 | i860 | i960 | ia64 \
|
|
|
8f1c6e |
| ip2k | iq2000 \
|
|
|
8f1c6e |
+ | le32 | le64 \
|
|
|
8f1c6e |
+ | lm32 \
|
|
|
8f1c6e |
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
|
|
8f1c6e |
- | maxq | mb | microblaze | mcore | mep \
|
|
|
8f1c6e |
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
|
|
|
8f1c6e |
| mips | mipsbe | mipseb | mipsel | mipsle \
|
|
|
8f1c6e |
| mips16 \
|
|
|
8f1c6e |
| mips64 | mips64el \
|
|
|
8f1c6e |
- | mips64vr | mips64vrel \
|
|
|
8f1c6e |
+ | mips64octeon | mips64octeonel \
|
|
|
8f1c6e |
| mips64orion | mips64orionel \
|
|
|
8f1c6e |
+ | mips64r5900 | mips64r5900el \
|
|
|
8f1c6e |
+ | mips64vr | mips64vrel \
|
|
|
8f1c6e |
| mips64vr4100 | mips64vr4100el \
|
|
|
8f1c6e |
| mips64vr4300 | mips64vr4300el \
|
|
|
8f1c6e |
| mips64vr5000 | mips64vr5000el \
|
|
|
8f1c6e |
@@ -268,29 +293,42 @@ case $basic_machine in
|
|
|
8f1c6e |
| mipsisa64sr71k | mipsisa64sr71kel \
|
|
|
8f1c6e |
| mipstx39 | mipstx39el \
|
|
|
8f1c6e |
| mn10200 | mn10300 \
|
|
|
8f1c6e |
+ | moxie \
|
|
|
8f1c6e |
| mt \
|
|
|
8f1c6e |
| msp430 \
|
|
|
8f1c6e |
+ | nds32 | nds32le | nds32be \
|
|
|
8f1c6e |
| nios | nios2 \
|
|
|
8f1c6e |
| ns16k | ns32k \
|
|
|
8f1c6e |
+ | open8 \
|
|
|
8f1c6e |
| or32 \
|
|
|
8f1c6e |
| pdp10 | pdp11 | pj | pjl \
|
|
|
8f1c6e |
- | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
|
|
8f1c6e |
+ | powerpc | powerpc64 | powerpc64le | powerpcle \
|
|
|
8f1c6e |
| pyramid \
|
|
|
8f1c6e |
+ | rl78 | rx \
|
|
|
8f1c6e |
| score \
|
|
|
8f1c6e |
- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
|
|
8f1c6e |
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
|
|
8f1c6e |
| sh64 | sh64le \
|
|
|
8f1c6e |
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
|
|
8f1c6e |
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
|
|
8f1c6e |
- | spu | strongarm \
|
|
|
8f1c6e |
- | tahoe | thumb | tic4x | tic80 | tron \
|
|
|
8f1c6e |
- | v850 | v850e \
|
|
|
8f1c6e |
+ | spu \
|
|
|
8f1c6e |
+ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
|
|
|
8f1c6e |
+ | ubicom32 \
|
|
|
8f1c6e |
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
|
|
|
8f1c6e |
| we32k \
|
|
|
8f1c6e |
- | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
|
|
8f1c6e |
- | z8k)
|
|
|
8f1c6e |
+ | x86 | xc16x | xstormy16 | xtensa \
|
|
|
8f1c6e |
+ | z8k | z80)
|
|
|
8f1c6e |
basic_machine=$basic_machine-unknown
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- m6811 | m68hc11 | m6812 | m68hc12)
|
|
|
8f1c6e |
- # Motorola 68HC11/12.
|
|
|
8f1c6e |
+ c54x)
|
|
|
8f1c6e |
+ basic_machine=tic54x-unknown
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ c55x)
|
|
|
8f1c6e |
+ basic_machine=tic55x-unknown
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ c6x)
|
|
|
8f1c6e |
+ basic_machine=tic6x-unknown
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
|
|
8f1c6e |
basic_machine=$basic_machine-unknown
|
|
|
8f1c6e |
os=-none
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -300,6 +338,21 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=mt-unknown
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
|
|
|
8f1c6e |
+ strongarm | thumb | xscale)
|
|
|
8f1c6e |
+ basic_machine=arm-unknown
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ xgate)
|
|
|
8f1c6e |
+ basic_machine=$basic_machine-unknown
|
|
|
8f1c6e |
+ os=-none
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ xscaleeb)
|
|
|
8f1c6e |
+ basic_machine=armeb-unknown
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+
|
|
|
8f1c6e |
+ xscaleel)
|
|
|
8f1c6e |
+ basic_machine=armel-unknown
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+
|
|
|
8f1c6e |
# We use `pc' rather than `unknown'
|
|
|
8f1c6e |
# because (1) that's what they normally are, and
|
|
|
8f1c6e |
# (2) the word "unknown" tends to confuse beginning users.
|
|
|
8f1c6e |
@@ -314,29 +367,37 @@ case $basic_machine in
|
|
|
8f1c6e |
# Recognize the basic CPU types with company name.
|
|
|
8f1c6e |
580-* \
|
|
|
8f1c6e |
| a29k-* \
|
|
|
8f1c6e |
+ | aarch64-* | aarch64_be-* \
|
|
|
8f1c6e |
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
|
|
8f1c6e |
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
|
|
8f1c6e |
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
|
|
8f1c6e |
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
|
|
8f1c6e |
| avr-* | avr32-* \
|
|
|
8f1c6e |
+ | be32-* | be64-* \
|
|
|
8f1c6e |
| bfin-* | bs2000-* \
|
|
|
8f1c6e |
- | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
|
|
8f1c6e |
+ | c[123]* | c30-* | [cjt]90-* | c4x-* \
|
|
|
8f1c6e |
| clipper-* | craynv-* | cydra-* \
|
|
|
8f1c6e |
| d10v-* | d30v-* | dlx-* \
|
|
|
8f1c6e |
| elxsi-* \
|
|
|
8f1c6e |
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
|
|
8f1c6e |
| h8300-* | h8500-* \
|
|
|
8f1c6e |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
|
|
8f1c6e |
+ | hexagon-* \
|
|
|
8f1c6e |
| i*86-* | i860-* | i960-* | ia64-* \
|
|
|
8f1c6e |
| ip2k-* | iq2000-* \
|
|
|
8f1c6e |
+ | le32-* | le64-* \
|
|
|
8f1c6e |
+ | lm32-* \
|
|
|
8f1c6e |
| m32c-* | m32r-* | m32rle-* \
|
|
|
8f1c6e |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
|
|
8f1c6e |
- | m88110-* | m88k-* | maxq-* | mcore-* \
|
|
|
8f1c6e |
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
|
|
8f1c6e |
+ | microblaze-* | microblazeel-* \
|
|
|
8f1c6e |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
|
|
8f1c6e |
| mips16-* \
|
|
|
8f1c6e |
| mips64-* | mips64el-* \
|
|
|
8f1c6e |
- | mips64vr-* | mips64vrel-* \
|
|
|
8f1c6e |
+ | mips64octeon-* | mips64octeonel-* \
|
|
|
8f1c6e |
| mips64orion-* | mips64orionel-* \
|
|
|
8f1c6e |
+ | mips64r5900-* | mips64r5900el-* \
|
|
|
8f1c6e |
+ | mips64vr-* | mips64vrel-* \
|
|
|
8f1c6e |
| mips64vr4100-* | mips64vr4100el-* \
|
|
|
8f1c6e |
| mips64vr4300-* | mips64vr4300el-* \
|
|
|
8f1c6e |
| mips64vr5000-* | mips64vr5000el-* \
|
|
|
8f1c6e |
@@ -351,27 +412,36 @@ case $basic_machine in
|
|
|
8f1c6e |
| mmix-* \
|
|
|
8f1c6e |
| mt-* \
|
|
|
8f1c6e |
| msp430-* \
|
|
|
8f1c6e |
+ | nds32-* | nds32le-* | nds32be-* \
|
|
|
8f1c6e |
| nios-* | nios2-* \
|
|
|
8f1c6e |
| none-* | np1-* | ns16k-* | ns32k-* \
|
|
|
8f1c6e |
+ | open8-* \
|
|
|
8f1c6e |
| orion-* \
|
|
|
8f1c6e |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
|
|
8f1c6e |
- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
|
|
8f1c6e |
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
|
|
|
8f1c6e |
| pyramid-* \
|
|
|
8f1c6e |
- | romp-* | rs6000-* \
|
|
|
8f1c6e |
- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
|
|
8f1c6e |
+ | rl78-* | romp-* | rs6000-* | rx-* \
|
|
|
8f1c6e |
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
|
|
8f1c6e |
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
|
|
8f1c6e |
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
|
|
8f1c6e |
| sparclite-* \
|
|
|
8f1c6e |
- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
|
|
8f1c6e |
- | tahoe-* | thumb-* \
|
|
|
8f1c6e |
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
|
|
|
8f1c6e |
+ | tahoe-* \
|
|
|
8f1c6e |
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
|
|
8f1c6e |
+ | tile*-* \
|
|
|
8f1c6e |
| tron-* \
|
|
|
8f1c6e |
- | v850-* | v850e-* | vax-* \
|
|
|
8f1c6e |
+ | ubicom32-* \
|
|
|
8f1c6e |
+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
|
|
|
8f1c6e |
+ | vax-* \
|
|
|
8f1c6e |
| we32k-* \
|
|
|
8f1c6e |
- | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
|
|
8f1c6e |
- | xstormy16-* | xtensa-* \
|
|
|
8f1c6e |
+ | x86-* | x86_64-* | xc16x-* | xps100-* \
|
|
|
8f1c6e |
+ | xstormy16-* | xtensa*-* \
|
|
|
8f1c6e |
| ymp-* \
|
|
|
8f1c6e |
- | z8k-*)
|
|
|
8f1c6e |
+ | z8k-* | z80-*)
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ # Recognize the basic CPU types without company name, with glob match.
|
|
|
8f1c6e |
+ xtensa*)
|
|
|
8f1c6e |
+ basic_machine=$basic_machine-unknown
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
# Recognize the various machine names and aliases which stand
|
|
|
8f1c6e |
# for a CPU type and a company and sometimes even an OS.
|
|
|
8f1c6e |
@@ -389,7 +459,7 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=a29k-amd
|
|
|
8f1c6e |
os=-udi
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- abacus)
|
|
|
8f1c6e |
+ abacus)
|
|
|
8f1c6e |
basic_machine=abacus-unknown
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
adobe68k)
|
|
|
8f1c6e |
@@ -435,6 +505,10 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=m68k-apollo
|
|
|
8f1c6e |
os=-bsd
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ aros)
|
|
|
8f1c6e |
+ basic_machine=i386-pc
|
|
|
8f1c6e |
+ os=-aros
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
aux)
|
|
|
8f1c6e |
basic_machine=m68k-apple
|
|
|
8f1c6e |
os=-aux
|
|
|
8f1c6e |
@@ -443,10 +517,35 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=ns32k-sequent
|
|
|
8f1c6e |
os=-dynix
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ blackfin)
|
|
|
8f1c6e |
+ basic_machine=bfin-unknown
|
|
|
8f1c6e |
+ os=-linux
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ blackfin-*)
|
|
|
8f1c6e |
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
+ os=-linux
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ bluegene*)
|
|
|
8f1c6e |
+ basic_machine=powerpc-ibm
|
|
|
8f1c6e |
+ os=-cnk
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ c54x-*)
|
|
|
8f1c6e |
+ basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ c55x-*)
|
|
|
8f1c6e |
+ basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ c6x-*)
|
|
|
8f1c6e |
+ basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
c90)
|
|
|
8f1c6e |
basic_machine=c90-cray
|
|
|
8f1c6e |
os=-unicos
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ cegcc)
|
|
|
8f1c6e |
+ basic_machine=arm-unknown
|
|
|
8f1c6e |
+ os=-cegcc
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
convex-c1)
|
|
|
8f1c6e |
basic_machine=c1-convex
|
|
|
8f1c6e |
os=-bsd
|
|
|
8f1c6e |
@@ -475,7 +574,7 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=craynv-cray
|
|
|
8f1c6e |
os=-unicosmp
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- cr16)
|
|
|
8f1c6e |
+ cr16 | cr16-*)
|
|
|
8f1c6e |
basic_machine=cr16-unknown
|
|
|
8f1c6e |
os=-elf
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -514,6 +613,10 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=m88k-motorola
|
|
|
8f1c6e |
os=-sysv3
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ dicos)
|
|
|
8f1c6e |
+ basic_machine=i686-pc
|
|
|
8f1c6e |
+ os=-dicos
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
djgpp)
|
|
|
8f1c6e |
basic_machine=i586-pc
|
|
|
8f1c6e |
os=-msdosdjgpp
|
|
|
8f1c6e |
@@ -629,7 +732,6 @@ case $basic_machine in
|
|
|
8f1c6e |
i370-ibm* | ibm*)
|
|
|
8f1c6e |
basic_machine=i370-ibm
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
|
|
8f1c6e |
i*86v32)
|
|
|
8f1c6e |
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
|
|
8f1c6e |
os=-sysv32
|
|
|
8f1c6e |
@@ -668,6 +770,14 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=m68k-isi
|
|
|
8f1c6e |
os=-sysv
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ m68knommu)
|
|
|
8f1c6e |
+ basic_machine=m68k-unknown
|
|
|
8f1c6e |
+ os=-linux
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ m68knommu-*)
|
|
|
8f1c6e |
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
+ os=-linux
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
m88k-omron*)
|
|
|
8f1c6e |
basic_machine=m88k-omron
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -679,6 +789,13 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=ns32k-utek
|
|
|
8f1c6e |
os=-sysv
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ microblaze*)
|
|
|
8f1c6e |
+ basic_machine=microblaze-xilinx
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ mingw64)
|
|
|
8f1c6e |
+ basic_machine=x86_64-pc
|
|
|
8f1c6e |
+ os=-mingw64
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
mingw32)
|
|
|
8f1c6e |
basic_machine=i386-pc
|
|
|
8f1c6e |
os=-mingw32
|
|
|
8f1c6e |
@@ -715,10 +832,18 @@ case $basic_machine in
|
|
|
8f1c6e |
ms1-*)
|
|
|
8f1c6e |
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ msys)
|
|
|
8f1c6e |
+ basic_machine=i386-pc
|
|
|
8f1c6e |
+ os=-msys
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
mvs)
|
|
|
8f1c6e |
basic_machine=i370-ibm
|
|
|
8f1c6e |
os=-mvs
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ nacl)
|
|
|
8f1c6e |
+ basic_machine=le32-unknown
|
|
|
8f1c6e |
+ os=-nacl
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
ncr3000)
|
|
|
8f1c6e |
basic_machine=i486-ncr
|
|
|
8f1c6e |
os=-sysv4
|
|
|
8f1c6e |
@@ -783,6 +908,12 @@ case $basic_machine in
|
|
|
8f1c6e |
np1)
|
|
|
8f1c6e |
basic_machine=np1-gould
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ neo-tandem)
|
|
|
8f1c6e |
+ basic_machine=neo-tandem
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ nse-tandem)
|
|
|
8f1c6e |
+ basic_machine=nse-tandem
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
nsr-tandem)
|
|
|
8f1c6e |
basic_machine=nsr-tandem
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -813,6 +944,14 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=i860-intel
|
|
|
8f1c6e |
os=-osf
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ parisc)
|
|
|
8f1c6e |
+ basic_machine=hppa-unknown
|
|
|
8f1c6e |
+ os=-linux
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ parisc-*)
|
|
|
8f1c6e |
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
+ os=-linux
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
pbd)
|
|
|
8f1c6e |
basic_machine=sparc-tti
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -857,9 +996,10 @@ case $basic_machine in
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
power) basic_machine=power-ibm
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- ppc) basic_machine=powerpc-unknown
|
|
|
8f1c6e |
+ ppc | ppcbe) basic_machine=powerpc-unknown
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
+ ppc-* | ppcbe-*)
|
|
|
8f1c6e |
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
ppcle | powerpclittle | ppc-le | powerpc-little)
|
|
|
8f1c6e |
basic_machine=powerpcle-unknown
|
|
|
8f1c6e |
@@ -953,6 +1093,9 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=i860-stratus
|
|
|
8f1c6e |
os=-sysv4
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ strongarm-* | thumb-*)
|
|
|
8f1c6e |
+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
sun2)
|
|
|
8f1c6e |
basic_machine=m68000-sun
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -1009,17 +1152,9 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=t90-cray
|
|
|
8f1c6e |
os=-unicos
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- tic54x | c54x*)
|
|
|
8f1c6e |
- basic_machine=tic54x-unknown
|
|
|
8f1c6e |
- os=-coff
|
|
|
8f1c6e |
- ;;
|
|
|
8f1c6e |
- tic55x | c55x*)
|
|
|
8f1c6e |
- basic_machine=tic55x-unknown
|
|
|
8f1c6e |
- os=-coff
|
|
|
8f1c6e |
- ;;
|
|
|
8f1c6e |
- tic6x | c6x*)
|
|
|
8f1c6e |
- basic_machine=tic6x-unknown
|
|
|
8f1c6e |
- os=-coff
|
|
|
8f1c6e |
+ tile*)
|
|
|
8f1c6e |
+ basic_machine=$basic_machine-unknown
|
|
|
8f1c6e |
+ os=-linux-gnu
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
tx39)
|
|
|
8f1c6e |
basic_machine=mipstx39-unknown
|
|
|
8f1c6e |
@@ -1088,6 +1223,9 @@ case $basic_machine in
|
|
|
8f1c6e |
xps | xps100)
|
|
|
8f1c6e |
basic_machine=xps100-honeywell
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ xscale-* | xscalee[bl]-*)
|
|
|
8f1c6e |
+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
ymp)
|
|
|
8f1c6e |
basic_machine=ymp-cray
|
|
|
8f1c6e |
os=-unicos
|
|
|
8f1c6e |
@@ -1096,6 +1234,10 @@ case $basic_machine in
|
|
|
8f1c6e |
basic_machine=z8k-unknown
|
|
|
8f1c6e |
os=-sim
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ z80-*-coff)
|
|
|
8f1c6e |
+ basic_machine=z80-unknown
|
|
|
8f1c6e |
+ os=-sim
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
none)
|
|
|
8f1c6e |
basic_machine=none-none
|
|
|
8f1c6e |
os=-none
|
|
|
8f1c6e |
@@ -1134,7 +1276,7 @@ case $basic_machine in
|
|
|
8f1c6e |
we32k)
|
|
|
8f1c6e |
basic_machine=we32k-att
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
|
|
8f1c6e |
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
|
|
|
8f1c6e |
basic_machine=sh-unknown
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
|
|
8f1c6e |
@@ -1181,9 +1323,12 @@ esac
|
|
|
8f1c6e |
if [ x"$os" != x"" ]
|
|
|
8f1c6e |
then
|
|
|
8f1c6e |
case $os in
|
|
|
8f1c6e |
- # First match some system type aliases
|
|
|
8f1c6e |
- # that might get confused with valid system types.
|
|
|
8f1c6e |
+ # First match some system type aliases
|
|
|
8f1c6e |
+ # that might get confused with valid system types.
|
|
|
8f1c6e |
# -solaris* is a basic system type, with this one exception.
|
|
|
8f1c6e |
+ -auroraux)
|
|
|
8f1c6e |
+ os=-auroraux
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
-solaris1 | -solaris1.*)
|
|
|
8f1c6e |
os=`echo $os | sed -e 's|solaris1|sunos4|'`
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
@@ -1204,21 +1349,23 @@ case $os in
|
|
|
8f1c6e |
# Each alternative MUST END IN A *, to match a version number.
|
|
|
8f1c6e |
# -sysv* is not here because it comes later, after sysvr4.
|
|
|
8f1c6e |
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
|
|
8f1c6e |
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
|
|
8f1c6e |
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
|
|
8f1c6e |
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
|
|
8f1c6e |
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
|
|
8f1c6e |
+ | -sym* | -kopensolaris* \
|
|
|
8f1c6e |
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
|
|
8f1c6e |
- | -aos* \
|
|
|
8f1c6e |
+ | -aos* | -aros* \
|
|
|
8f1c6e |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
|
8f1c6e |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
|
8f1c6e |
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
|
|
8f1c6e |
- | -openbsd* | -solidbsd* \
|
|
|
8f1c6e |
+ | -bitrig* | -openbsd* | -solidbsd* \
|
|
|
8f1c6e |
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
|
|
8f1c6e |
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
|
8f1c6e |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
|
|
8f1c6e |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
|
8f1c6e |
- | -chorusos* | -chorusrdb* \
|
|
|
8f1c6e |
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
|
8f1c6e |
- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
|
|
8f1c6e |
+ | -chorusos* | -chorusrdb* | -cegcc* \
|
|
|
8f1c6e |
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
|
8f1c6e |
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
|
|
8f1c6e |
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
|
|
8f1c6e |
| -uxpv* | -beos* | -mpeix* | -udk* \
|
|
|
8f1c6e |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
|
|
8f1c6e |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
|
|
8f1c6e |
@@ -1226,7 +1373,7 @@ case $os in
|
|
|
8f1c6e |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
|
|
8f1c6e |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
|
|
8f1c6e |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
|
|
8f1c6e |
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
|
|
|
8f1c6e |
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
|
|
|
8f1c6e |
# Remember, each alternative MUST END IN *, to match a version number.
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
-qnx*)
|
|
|
8f1c6e |
@@ -1265,7 +1412,7 @@ case $os in
|
|
|
8f1c6e |
-opened*)
|
|
|
8f1c6e |
os=-openedition
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- -os400*)
|
|
|
8f1c6e |
+ -os400*)
|
|
|
8f1c6e |
os=-os400
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
-wince*)
|
|
|
8f1c6e |
@@ -1314,7 +1461,7 @@ case $os in
|
|
|
8f1c6e |
-sinix*)
|
|
|
8f1c6e |
os=-sysv4
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- -tpf*)
|
|
|
8f1c6e |
+ -tpf*)
|
|
|
8f1c6e |
os=-tpf
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
-triton*)
|
|
|
8f1c6e |
@@ -1356,6 +1503,11 @@ case $os in
|
|
|
8f1c6e |
-zvmoe)
|
|
|
8f1c6e |
os=-zvmoe
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
+ -dicos*)
|
|
|
8f1c6e |
+ os=-dicos
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ -nacl*)
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
-none)
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
*)
|
|
|
8f1c6e |
@@ -1378,10 +1530,10 @@ else
|
|
|
8f1c6e |
# system, and we'll never get to this point.
|
|
|
8f1c6e |
|
|
|
8f1c6e |
case $basic_machine in
|
|
|
8f1c6e |
- score-*)
|
|
|
8f1c6e |
+ score-*)
|
|
|
8f1c6e |
os=-elf
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- spu-*)
|
|
|
8f1c6e |
+ spu-*)
|
|
|
8f1c6e |
os=-elf
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
*-acorn)
|
|
|
8f1c6e |
@@ -1393,8 +1545,20 @@ case $basic_machine in
|
|
|
8f1c6e |
arm*-semi)
|
|
|
8f1c6e |
os=-aout
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- c4x-* | tic4x-*)
|
|
|
8f1c6e |
- os=-coff
|
|
|
8f1c6e |
+ c4x-* | tic4x-*)
|
|
|
8f1c6e |
+ os=-coff
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ hexagon-*)
|
|
|
8f1c6e |
+ os=-elf
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ tic54x-*)
|
|
|
8f1c6e |
+ os=-coff
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ tic55x-*)
|
|
|
8f1c6e |
+ os=-coff
|
|
|
8f1c6e |
+ ;;
|
|
|
8f1c6e |
+ tic6x-*)
|
|
|
8f1c6e |
+ os=-coff
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
# This must come before the *-dec entry.
|
|
|
8f1c6e |
pdp10-*)
|
|
|
8f1c6e |
@@ -1414,14 +1578,11 @@ case $basic_machine in
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
m68000-sun)
|
|
|
8f1c6e |
os=-sunos3
|
|
|
8f1c6e |
- # This also exists in the configure program, but was not the
|
|
|
8f1c6e |
- # default.
|
|
|
8f1c6e |
- # os=-sunos4
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
m68*-cisco)
|
|
|
8f1c6e |
os=-aout
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- mep-*)
|
|
|
8f1c6e |
+ mep-*)
|
|
|
8f1c6e |
os=-elf
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
mips*-cisco)
|
|
|
8f1c6e |
@@ -1448,7 +1609,7 @@ case $basic_machine in
|
|
|
8f1c6e |
*-ibm)
|
|
|
8f1c6e |
os=-aix
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- *-knuth)
|
|
|
8f1c6e |
+ *-knuth)
|
|
|
8f1c6e |
os=-mmixware
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
*-wec)
|
|
|
8f1c6e |
@@ -1553,7 +1714,7 @@ case $basic_machine in
|
|
|
8f1c6e |
-sunos*)
|
|
|
8f1c6e |
vendor=sun
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
- -aix*)
|
|
|
8f1c6e |
+ -cnk*|-aix*)
|
|
|
8f1c6e |
vendor=ibm
|
|
|
8f1c6e |
;;
|
|
|
8f1c6e |
-beos*)
|