|
|
2b0edb |
diff -urN cpptest-1.1.1/config/config.guess cpptest-1.1.1-aarch64/config/config.guess
|
|
|
2b0edb |
--- cpptest-1.1.1/config/config.guess 2010-03-25 23:42:49.000000000 -0500
|
|
|
2b0edb |
+++ cpptest-1.1.1-aarch64/config/config.guess 2013-03-07 21:45:12.044410987 -0600
|
|
|
2b0edb |
@@ -1,10 +1,10 @@
|
|
|
2b0edb |
#! /bin/sh
|
|
|
2b0edb |
# Attempt to guess a canonical system name.
|
|
|
2b0edb |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
|
2b0edb |
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
|
|
2b0edb |
-# Free Software Foundation, Inc.
|
|
|
2b0edb |
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
|
2b0edb |
+# 2011, 2012 Free Software Foundation, Inc.
|
|
|
2b0edb |
|
|
|
2b0edb |
-timestamp='2009-12-30'
|
|
|
2b0edb |
+timestamp='2012-09-25'
|
|
|
2b0edb |
|
|
|
2b0edb |
# This file is free software; you can redistribute it and/or modify it
|
|
|
2b0edb |
# under the terms of the GNU General Public License as published by
|
|
|
2b0edb |
@@ -17,9 +17,7 @@
|
|
|
2b0edb |
# General Public License for more details.
|
|
|
2b0edb |
#
|
|
|
2b0edb |
# You should have received a copy of the GNU General Public License
|
|
|
2b0edb |
-# along with this program; if not, write to the Free Software
|
|
|
2b0edb |
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
2b0edb |
-# 02110-1301, USA.
|
|
|
2b0edb |
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
2b0edb |
#
|
|
|
2b0edb |
# As a special exception to the GNU General Public License, if you
|
|
|
2b0edb |
# distribute this file as part of a program that contains a
|
|
|
2b0edb |
@@ -57,8 +55,8 @@
|
|
|
2b0edb |
|
|
|
2b0edb |
Originally written by Per Bothner.
|
|
|
2b0edb |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
|
|
2b0edb |
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
|
|
2b0edb |
-Software Foundation, Inc.
|
|
|
2b0edb |
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
|
|
2b0edb |
+Free Software Foundation, Inc.
|
|
|
2b0edb |
|
|
|
2b0edb |
This is free software; see the source for copying conditions. There is NO
|
|
|
2b0edb |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
|
2b0edb |
@@ -140,35 +138,12 @@
|
|
|
2b0edb |
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
|
|
2b0edb |
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|
|
2b0edb |
|
|
|
2b0edb |
-case "${UNAME_SYSTEM}" in
|
|
|
2b0edb |
-Linux|GNU/*)
|
|
|
2b0edb |
- eval $set_cc_for_build
|
|
|
2b0edb |
- cat <<-EOF > $dummy.c
|
|
|
2b0edb |
- #include <features.h>
|
|
|
2b0edb |
- #ifdef __UCLIBC__
|
|
|
2b0edb |
- # ifdef __UCLIBC_CONFIG_VERSION__
|
|
|
2b0edb |
- LIBC=uclibc __UCLIBC_CONFIG_VERSION__
|
|
|
2b0edb |
- # else
|
|
|
2b0edb |
- LIBC=uclibc
|
|
|
2b0edb |
- # endif
|
|
|
2b0edb |
- #else
|
|
|
2b0edb |
- # ifdef __dietlibc__
|
|
|
2b0edb |
- LIBC=dietlibc
|
|
|
2b0edb |
- # else
|
|
|
2b0edb |
- LIBC=gnu
|
|
|
2b0edb |
- # endif
|
|
|
2b0edb |
- #endif
|
|
|
2b0edb |
- EOF
|
|
|
2b0edb |
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
-esac
|
|
|
2b0edb |
-
|
|
|
2b0edb |
# Note: order is significant - the case branches are not exclusive.
|
|
|
2b0edb |
|
|
|
2b0edb |
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
|
2b0edb |
*:NetBSD:*:*)
|
|
|
2b0edb |
# NetBSD (nbsd) targets should (where applicable) match one or
|
|
|
2b0edb |
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
|
|
2b0edb |
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
|
|
|
2b0edb |
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
|
|
2b0edb |
# switched to ELF, *-*-netbsd* would select the old
|
|
|
2b0edb |
# object file format. This provides both forward
|
|
|
2b0edb |
@@ -204,7 +179,7 @@
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
*)
|
|
|
2b0edb |
- os=netbsd
|
|
|
2b0edb |
+ os=netbsd
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
esac
|
|
|
2b0edb |
# The OS release
|
|
|
2b0edb |
@@ -225,6 +200,10 @@
|
|
|
2b0edb |
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
|
|
2b0edb |
echo "${machine}-${os}${release}"
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
+ *:Bitrig:*:*)
|
|
|
2b0edb |
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
*:OpenBSD:*:*)
|
|
|
2b0edb |
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
|
|
2b0edb |
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
|
|
2b0edb |
@@ -247,7 +226,7 @@
|
|
|
2b0edb |
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
*5.*)
|
|
|
2b0edb |
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
|
|
2b0edb |
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
esac
|
|
|
2b0edb |
# According to Compaq, /usr/sbin/psrinfo has been available on
|
|
|
2b0edb |
@@ -293,7 +272,10 @@
|
|
|
2b0edb |
# A Xn.n version is an unreleased experimental baselevel.
|
|
|
2b0edb |
# 1.2 uses "1.2" for uname -r.
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
|
|
|
2b0edb |
+ exitcode=$?
|
|
|
2b0edb |
+ trap '' 0
|
|
|
2b0edb |
+ exit $exitcode ;;
|
|
|
2b0edb |
Alpha\ *:Windows_NT*:*)
|
|
|
2b0edb |
# How do we know it's Interix rather than the generic POSIX subsystem?
|
|
|
2b0edb |
# Should we change UNAME_MACHINE based on the output of uname instead
|
|
|
2b0edb |
@@ -319,12 +301,12 @@
|
|
|
2b0edb |
echo s390-ibm-zvmoe
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
*:OS400:*:*)
|
|
|
2b0edb |
- echo powerpc-ibm-os400
|
|
|
2b0edb |
+ echo powerpc-ibm-os400
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
|
|
2b0edb |
echo arm-acorn-riscix${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
- arm:riscos:*:*|arm:RISCOS:*:*)
|
|
|
2b0edb |
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
|
|
|
2b0edb |
echo arm-unknown-riscos
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
|
|
2b0edb |
@@ -418,23 +400,23 @@
|
|
|
2b0edb |
# MiNT. But MiNT is downward compatible to TOS, so this should
|
|
|
2b0edb |
# be no problem.
|
|
|
2b0edb |
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
|
|
|
2b0edb |
- echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
2b0edb |
+ echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
|
|
|
2b0edb |
echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
|
|
|
2b0edb |
- echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
2b0edb |
+ echo m68k-atari-mint${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
|
|
|
2b0edb |
- echo m68k-milan-mint${UNAME_RELEASE}
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ echo m68k-milan-mint${UNAME_RELEASE}
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
|
|
|
2b0edb |
- echo m68k-hades-mint${UNAME_RELEASE}
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ echo m68k-hades-mint${UNAME_RELEASE}
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
|
|
2b0edb |
- echo m68k-unknown-mint${UNAME_RELEASE}
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ echo m68k-unknown-mint${UNAME_RELEASE}
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
m68k:machten:*:*)
|
|
|
2b0edb |
echo m68k-apple-machten${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
@@ -504,8 +486,8 @@
|
|
|
2b0edb |
echo m88k-motorola-sysv3
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
AViiON:dgux:*:*)
|
|
|
2b0edb |
- # DG/UX returns AViiON for all architectures
|
|
|
2b0edb |
- UNAME_PROCESSOR=`/usr/bin/uname -p`
|
|
|
2b0edb |
+ # DG/UX returns AViiON for all architectures
|
|
|
2b0edb |
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
|
|
|
2b0edb |
if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
|
|
|
2b0edb |
then
|
|
|
2b0edb |
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
|
|
|
2b0edb |
@@ -518,7 +500,7 @@
|
|
|
2b0edb |
else
|
|
|
2b0edb |
echo i586-dg-dgux${UNAME_RELEASE}
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
|
|
|
2b0edb |
echo m88k-dolphin-sysv3
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
@@ -575,7 +557,7 @@
|
|
|
2b0edb |
echo rs6000-ibm-aix3.2
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
- *:AIX:*:[456])
|
|
|
2b0edb |
+ *:AIX:*:[4567])
|
|
|
2b0edb |
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
|
|
2b0edb |
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
|
|
2b0edb |
IBM_ARCH=rs6000
|
|
|
2b0edb |
@@ -618,52 +600,52 @@
|
|
|
2b0edb |
9000/[678][0-9][0-9])
|
|
|
2b0edb |
if [ -x /usr/bin/getconf ]; then
|
|
|
2b0edb |
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
|
|
2b0edb |
- sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
|
|
2b0edb |
- case "${sc_cpu_version}" in
|
|
|
2b0edb |
- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
|
|
2b0edb |
- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
|
|
2b0edb |
- 532) # CPU_PA_RISC2_0
|
|
|
2b0edb |
- case "${sc_kernel_bits}" in
|
|
|
2b0edb |
- 32) HP_ARCH="hppa2.0n" ;;
|
|
|
2b0edb |
- 64) HP_ARCH="hppa2.0w" ;;
|
|
|
2b0edb |
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
|
|
2b0edb |
+ case "${sc_cpu_version}" in
|
|
|
2b0edb |
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
|
|
2b0edb |
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
|
|
2b0edb |
+ 532) # CPU_PA_RISC2_0
|
|
|
2b0edb |
+ case "${sc_kernel_bits}" in
|
|
|
2b0edb |
+ 32) HP_ARCH="hppa2.0n" ;;
|
|
|
2b0edb |
+ 64) HP_ARCH="hppa2.0w" ;;
|
|
|
2b0edb |
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
|
|
2b0edb |
- esac ;;
|
|
|
2b0edb |
- esac
|
|
|
2b0edb |
+ esac ;;
|
|
|
2b0edb |
+ esac
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
if [ "${HP_ARCH}" = "" ]; then
|
|
|
2b0edb |
eval $set_cc_for_build
|
|
|
2b0edb |
- sed 's/^ //' << EOF >$dummy.c
|
|
|
2b0edb |
+ sed 's/^ //' << EOF >$dummy.c
|
|
|
2b0edb |
+
|
|
|
2b0edb |
+ #define _HPUX_SOURCE
|
|
|
2b0edb |
+ #include <stdlib.h>
|
|
|
2b0edb |
+ #include <unistd.h>
|
|
|
2b0edb |
|
|
|
2b0edb |
- #define _HPUX_SOURCE
|
|
|
2b0edb |
- #include <stdlib.h>
|
|
|
2b0edb |
- #include <unistd.h>
|
|
|
2b0edb |
-
|
|
|
2b0edb |
- int main ()
|
|
|
2b0edb |
- {
|
|
|
2b0edb |
- #if defined(_SC_KERNEL_BITS)
|
|
|
2b0edb |
- long bits = sysconf(_SC_KERNEL_BITS);
|
|
|
2b0edb |
- #endif
|
|
|
2b0edb |
- long cpu = sysconf (_SC_CPU_VERSION);
|
|
|
2b0edb |
-
|
|
|
2b0edb |
- switch (cpu)
|
|
|
2b0edb |
- {
|
|
|
2b0edb |
- case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
|
|
2b0edb |
- case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
|
|
2b0edb |
- case CPU_PA_RISC2_0:
|
|
|
2b0edb |
- #if defined(_SC_KERNEL_BITS)
|
|
|
2b0edb |
- switch (bits)
|
|
|
2b0edb |
- {
|
|
|
2b0edb |
- case 64: puts ("hppa2.0w"); break;
|
|
|
2b0edb |
- case 32: puts ("hppa2.0n"); break;
|
|
|
2b0edb |
- default: puts ("hppa2.0"); break;
|
|
|
2b0edb |
- } break;
|
|
|
2b0edb |
- #else /* !defined(_SC_KERNEL_BITS) */
|
|
|
2b0edb |
- puts ("hppa2.0"); break;
|
|
|
2b0edb |
- #endif
|
|
|
2b0edb |
- default: puts ("hppa1.0"); break;
|
|
|
2b0edb |
- }
|
|
|
2b0edb |
- exit (0);
|
|
|
2b0edb |
- }
|
|
|
2b0edb |
+ int main ()
|
|
|
2b0edb |
+ {
|
|
|
2b0edb |
+ #if defined(_SC_KERNEL_BITS)
|
|
|
2b0edb |
+ long bits = sysconf(_SC_KERNEL_BITS);
|
|
|
2b0edb |
+ #endif
|
|
|
2b0edb |
+ long cpu = sysconf (_SC_CPU_VERSION);
|
|
|
2b0edb |
+
|
|
|
2b0edb |
+ switch (cpu)
|
|
|
2b0edb |
+ {
|
|
|
2b0edb |
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
|
|
2b0edb |
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
|
|
2b0edb |
+ case CPU_PA_RISC2_0:
|
|
|
2b0edb |
+ #if defined(_SC_KERNEL_BITS)
|
|
|
2b0edb |
+ switch (bits)
|
|
|
2b0edb |
+ {
|
|
|
2b0edb |
+ case 64: puts ("hppa2.0w"); break;
|
|
|
2b0edb |
+ case 32: puts ("hppa2.0n"); break;
|
|
|
2b0edb |
+ default: puts ("hppa2.0"); break;
|
|
|
2b0edb |
+ } break;
|
|
|
2b0edb |
+ #else /* !defined(_SC_KERNEL_BITS) */
|
|
|
2b0edb |
+ puts ("hppa2.0"); break;
|
|
|
2b0edb |
+ #endif
|
|
|
2b0edb |
+ default: puts ("hppa1.0"); break;
|
|
|
2b0edb |
+ }
|
|
|
2b0edb |
+ exit (0);
|
|
|
2b0edb |
+ }
|
|
|
2b0edb |
EOF
|
|
|
2b0edb |
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
|
|
2b0edb |
test -z "$HP_ARCH" && HP_ARCH=hppa
|
|
|
2b0edb |
@@ -754,22 +736,22 @@
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
|
|
2b0edb |
echo c1-convex-bsd
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
|
|
|
2b0edb |
if getsysinfo -f scalar_acc
|
|
|
2b0edb |
then echo c32-convex-bsd
|
|
|
2b0edb |
else echo c2-convex-bsd
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
|
|
|
2b0edb |
echo c34-convex-bsd
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
|
|
|
2b0edb |
echo c38-convex-bsd
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
|
|
2b0edb |
echo c4-convex-bsd
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
CRAY*Y-MP:*:*:*)
|
|
|
2b0edb |
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
@@ -793,14 +775,14 @@
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
|
|
2b0edb |
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
|
2b0edb |
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
|
2b0edb |
- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
|
|
2b0edb |
- echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
|
2b0edb |
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
|
|
2b0edb |
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
5000:UNIX_System_V:4.*:*)
|
|
|
2b0edb |
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
|
2b0edb |
- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
|
|
2b0edb |
- echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
|
2b0edb |
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
|
2b0edb |
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
|
|
2b0edb |
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
|
|
2b0edb |
@@ -812,30 +794,35 @@
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
*:FreeBSD:*:*)
|
|
|
2b0edb |
- case ${UNAME_MACHINE} in
|
|
|
2b0edb |
- pc98)
|
|
|
2b0edb |
- echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
|
2b0edb |
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
|
|
|
2b0edb |
+ case ${UNAME_PROCESSOR} in
|
|
|
2b0edb |
amd64)
|
|
|
2b0edb |
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
|
2b0edb |
*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
|
2b0edb |
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
|
2b0edb |
esac
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*:CYGWIN*:*)
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-pc-cygwin
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
+ *:MINGW64*:*)
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-pc-mingw64
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
*:MINGW*:*)
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-pc-mingw32
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
+ i*:MSYS*:*)
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-pc-msys
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
i*:windows32*:*)
|
|
|
2b0edb |
- # uname -m includes "-pc" on this system.
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-mingw32
|
|
|
2b0edb |
+ # uname -m includes "-pc" on this system.
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-mingw32
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*:PW*:*)
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-pc-pw32
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
*:Interix*:*)
|
|
|
2b0edb |
- case ${UNAME_MACHINE} in
|
|
|
2b0edb |
+ case ${UNAME_MACHINE} in
|
|
|
2b0edb |
x86)
|
|
|
2b0edb |
echo i586-pc-interix${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
@@ -872,15 +859,22 @@
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
*:GNU:*:*)
|
|
|
2b0edb |
# the GNU system
|
|
|
2b0edb |
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
|
|
2b0edb |
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
*:GNU/*:*:*)
|
|
|
2b0edb |
# other systems with GNU libc and userland
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*86:Minix:*:*)
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-pc-minix
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
+ aarch64:Linux:*:*)
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
+ aarch64_be:Linux:*:*)
|
|
|
2b0edb |
+ UNAME_MACHINE=aarch64_be
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
alpha:Linux:*:*)
|
|
|
2b0edb |
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
|
|
2b0edb |
EV5) UNAME_MACHINE=alphaev5 ;;
|
|
|
2b0edb |
@@ -890,44 +884,61 @@
|
|
|
2b0edb |
EV6) UNAME_MACHINE=alphaev6 ;;
|
|
|
2b0edb |
EV67) UNAME_MACHINE=alphaev67 ;;
|
|
|
2b0edb |
EV68*) UNAME_MACHINE=alphaev68 ;;
|
|
|
2b0edb |
- esac
|
|
|
2b0edb |
+ esac
|
|
|
2b0edb |
objdump --private-headers /bin/sh | grep -q ld.so.1
|
|
|
2b0edb |
- if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
arm*:Linux:*:*)
|
|
|
2b0edb |
eval $set_cc_for_build
|
|
|
2b0edb |
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
|
2b0edb |
| grep -q __ARM_EABI__
|
|
|
2b0edb |
then
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
else
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
|
|
|
2b0edb |
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
|
2b0edb |
+ | grep -q __ARM_PCS_VFP
|
|
|
2b0edb |
+ then
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
|
|
2b0edb |
+ else
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
|
|
2b0edb |
+ fi
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
avr32*:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
cris:Linux:*:*)
|
|
|
2b0edb |
- echo cris-axis-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-axis-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
crisv32:Linux:*:*)
|
|
|
2b0edb |
- echo crisv32-axis-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-axis-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
frv:Linux:*:*)
|
|
|
2b0edb |
- echo frv-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
+ hexagon:Linux:*:*)
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*86:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
|
|
2b0edb |
+ LIBC=gnu
|
|
|
2b0edb |
+ eval $set_cc_for_build
|
|
|
2b0edb |
+ sed 's/^ //' << EOF >$dummy.c
|
|
|
2b0edb |
+ #ifdef __dietlibc__
|
|
|
2b0edb |
+ LIBC=dietlibc
|
|
|
2b0edb |
+ #endif
|
|
|
2b0edb |
+EOF
|
|
|
2b0edb |
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
|
2b0edb |
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
ia64:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
m32r*:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
m68*:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
mips:Linux:*:* | mips64:Linux:*:*)
|
|
|
2b0edb |
eval $set_cc_for_build
|
|
|
2b0edb |
@@ -946,51 +957,54 @@
|
|
|
2b0edb |
#endif
|
|
|
2b0edb |
EOF
|
|
|
2b0edb |
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
|
|
2b0edb |
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
|
|
2b0edb |
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
or32:Linux:*:*)
|
|
|
2b0edb |
- echo or32-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
padre:Linux:*:*)
|
|
|
2b0edb |
- echo sparc-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo sparc-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
|
|
2b0edb |
- echo hppa64-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo hppa64-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
parisc:Linux:*:* | hppa:Linux:*:*)
|
|
|
2b0edb |
# Look for CPU level
|
|
|
2b0edb |
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
|
|
2b0edb |
- PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
|
|
|
2b0edb |
- PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
|
|
|
2b0edb |
- *) echo hppa-unknown-linux-${LIBC} ;;
|
|
|
2b0edb |
+ PA7*) echo hppa1.1-unknown-linux-gnu ;;
|
|
|
2b0edb |
+ PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
|
|
2b0edb |
+ *) echo hppa-unknown-linux-gnu ;;
|
|
|
2b0edb |
esac
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
ppc64:Linux:*:*)
|
|
|
2b0edb |
- echo powerpc64-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo powerpc64-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
ppc:Linux:*:*)
|
|
|
2b0edb |
- echo powerpc-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo powerpc-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
s390:Linux:*:* | s390x:Linux:*:*)
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-ibm-linux
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
sh64*:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
sh*:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
sparc:Linux:*:* | sparc64:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
+ tile*:Linux:*:*)
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
vax:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-dec-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
x86_64:Linux:*:*)
|
|
|
2b0edb |
- echo x86_64-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
xtensa*:Linux:*:*)
|
|
|
2b0edb |
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*86:DYNIX/ptx:4*:*)
|
|
|
2b0edb |
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
|
|
2b0edb |
@@ -999,11 +1013,11 @@
|
|
|
2b0edb |
echo i386-sequent-sysv4
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*86:UNIX_SV:4.2MP:2.*)
|
|
|
2b0edb |
- # Unixware is an offshoot of SVR4, but it has its own version
|
|
|
2b0edb |
- # number series starting with 2...
|
|
|
2b0edb |
- # I am not positive that other SVR4 systems won't match this,
|
|
|
2b0edb |
+ # Unixware is an offshoot of SVR4, but it has its own version
|
|
|
2b0edb |
+ # number series starting with 2...
|
|
|
2b0edb |
+ # I am not positive that other SVR4 systems won't match this,
|
|
|
2b0edb |
# I just have to hope. -- rms.
|
|
|
2b0edb |
- # Use sysv4.2uw... so that sysv4* matches it.
|
|
|
2b0edb |
+ # Use sysv4.2uw... so that sysv4* matches it.
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*86:OS/2:*:*)
|
|
|
2b0edb |
@@ -1035,7 +1049,7 @@
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
i*86:*:5:[678]*)
|
|
|
2b0edb |
- # UnixWare 7.x, OpenUNIX and OpenServer 6.
|
|
|
2b0edb |
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
|
|
|
2b0edb |
case `/bin/uname -X | grep "^Machine"` in
|
|
|
2b0edb |
*486*) UNAME_MACHINE=i486 ;;
|
|
|
2b0edb |
*Pentium) UNAME_MACHINE=i586 ;;
|
|
|
2b0edb |
@@ -1063,13 +1077,13 @@
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
pc:*:*:*)
|
|
|
2b0edb |
# Left here for compatibility:
|
|
|
2b0edb |
- # uname -m prints for DJGPP always 'pc', but it prints nothing about
|
|
|
2b0edb |
- # the processor, so we play safe by assuming i586.
|
|
|
2b0edb |
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
|
|
|
2b0edb |
+ # the processor, so we play safe by assuming i586.
|
|
|
2b0edb |
# Note: whatever this is, it MUST be the same as what config.sub
|
|
|
2b0edb |
# prints for the "djgpp" host, or else GDB configury will decide that
|
|
|
2b0edb |
# this is a cross-build.
|
|
|
2b0edb |
echo i586-pc-msdosdjgpp
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
Intel:Mach:3*:*)
|
|
|
2b0edb |
echo i386-pc-mach3
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
@@ -1104,8 +1118,8 @@
|
|
|
2b0edb |
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
|
|
2b0edb |
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
|
|
2b0edb |
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
|
|
2b0edb |
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
|
2b0edb |
- && { echo i486-ncr-sysv4; exit; } ;;
|
|
|
2b0edb |
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
|
2b0edb |
+ && { echo i486-ncr-sysv4; exit; } ;;
|
|
|
2b0edb |
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
|
|
|
2b0edb |
OS_REL='.3'
|
|
|
2b0edb |
test -r /etc/.relid \
|
|
|
2b0edb |
@@ -1148,10 +1162,10 @@
|
|
|
2b0edb |
echo ns32k-sni-sysv
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
|
|
2b0edb |
- # says <Richard.M.Bartel@ccMail.Census.GOV>
|
|
|
2b0edb |
- echo i586-unisys-sysv4
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
|
|
2b0edb |
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
|
|
|
2b0edb |
+ echo i586-unisys-sysv4
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
*:UNIX_System_V:4*:FTX*)
|
|
|
2b0edb |
# From Gerald Hewes <hewes@openmarket.com>.
|
|
|
2b0edb |
# How about differentiating between stratus architectures? -djm
|
|
|
2b0edb |
@@ -1177,11 +1191,11 @@
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
|
|
|
2b0edb |
if [ -d /usr/nec ]; then
|
|
|
2b0edb |
- echo mips-nec-sysv${UNAME_RELEASE}
|
|
|
2b0edb |
+ echo mips-nec-sysv${UNAME_RELEASE}
|
|
|
2b0edb |
else
|
|
|
2b0edb |
- echo mips-unknown-sysv${UNAME_RELEASE}
|
|
|
2b0edb |
+ echo mips-unknown-sysv${UNAME_RELEASE}
|
|
|
2b0edb |
fi
|
|
|
2b0edb |
- exit ;;
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
|
|
2b0edb |
echo powerpc-be-beos
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
@@ -1194,6 +1208,9 @@
|
|
|
2b0edb |
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
|
|
2b0edb |
echo i586-pc-haiku
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
+ x86_64:Haiku:*:*)
|
|
|
2b0edb |
+ echo x86_64-unknown-haiku
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
SX-4:SUPER-UX:*:*)
|
|
|
2b0edb |
echo sx4-nec-superux${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
@@ -1246,7 +1263,10 @@
|
|
|
2b0edb |
*:QNX:*:4*)
|
|
|
2b0edb |
echo i386-pc-qnx
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
- NSE-?:NONSTOP_KERNEL:*:*)
|
|
|
2b0edb |
+ NEO-?:NONSTOP_KERNEL:*:*)
|
|
|
2b0edb |
+ echo neo-tandem-nsk${UNAME_RELEASE}
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
+ NSE-*:NONSTOP_KERNEL:*:*)
|
|
|
2b0edb |
echo nse-tandem-nsk${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
NSR-?:NONSTOP_KERNEL:*:*)
|
|
|
2b0edb |
@@ -1291,13 +1311,13 @@
|
|
|
2b0edb |
echo pdp10-unknown-its
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
SEI:*:*:SEIUX)
|
|
|
2b0edb |
- echo mips-sei-seiux${UNAME_RELEASE}
|
|
|
2b0edb |
+ echo mips-sei-seiux${UNAME_RELEASE}
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
*:DragonFly:*:*)
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
*:*VMS:*:*)
|
|
|
2b0edb |
- UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
|
|
2b0edb |
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
|
|
2b0edb |
case "${UNAME_MACHINE}" in
|
|
|
2b0edb |
A*) echo alpha-dec-vms ; exit ;;
|
|
|
2b0edb |
I*) echo ia64-dec-vms ; exit ;;
|
|
|
2b0edb |
@@ -1315,11 +1335,11 @@
|
|
|
2b0edb |
i*86:AROS:*:*)
|
|
|
2b0edb |
echo ${UNAME_MACHINE}-pc-aros
|
|
|
2b0edb |
exit ;;
|
|
|
2b0edb |
+ x86_64:VMkernel:*:*)
|
|
|
2b0edb |
+ echo ${UNAME_MACHINE}-unknown-esx
|
|
|
2b0edb |
+ exit ;;
|
|
|
2b0edb |
esac
|
|
|
2b0edb |
|
|
|
2b0edb |
-#echo '(No uname command or uname output not recognized.)' 1>&2
|
|
|
2b0edb |
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
|
|
2b0edb |
-
|
|
|
2b0edb |
eval $set_cc_for_build
|
|
|
2b0edb |
cat >$dummy.c <
|
|
|
2b0edb |
#ifdef _SEQUENT_
|
|
|
2b0edb |
@@ -1337,11 +1357,11 @@
|
|
|
2b0edb |
#include <sys/param.h>
|
|
|
2b0edb |
printf ("m68k-sony-newsos%s\n",
|
|
|
2b0edb |
#ifdef NEWSOS4
|
|
|
2b0edb |
- "4"
|
|
|
2b0edb |
+ "4"
|
|
|
2b0edb |
#else
|
|
|
2b0edb |
- ""
|
|
|
2b0edb |
+ ""
|
|
|
2b0edb |
#endif
|
|
|
2b0edb |
- ); exit (0);
|
|
|
2b0edb |
+ ); exit (0);
|
|
|
2b0edb |
#endif
|
|
|
2b0edb |
#endif
|
|
|
2b0edb |
|
|
|
2b0edb |
diff -urN cpptest-1.1.1/config/config.sub cpptest-1.1.1-aarch64/config/config.sub
|
|
|
2b0edb |
--- cpptest-1.1.1/config/config.sub 2010-03-25 23:42:49.000000000 -0500
|
|
|
2b0edb |
+++ cpptest-1.1.1-aarch64/config/config.sub 2013-03-07 21:45:12.072407766 -0600
|
|
|
2b0edb |
@@ -1,10 +1,10 @@
|
|
|
2b0edb |
#! /bin/sh
|
|
|
2b0edb |
# Configuration validation subroutine script.
|
|
|
2b0edb |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
|
2b0edb |
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
|
|
2b0edb |
-# Free Software Foundation, Inc.
|
|
|
2b0edb |
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
|
2b0edb |
+# 2011, 2012 Free Software Foundation, Inc.
|
|
|
2b0edb |
|
|
|
2b0edb |
-timestamp='2010-01-22'
|
|
|
2b0edb |
+timestamp='2012-10-10'
|
|
|
2b0edb |
|
|
|
2b0edb |
# This file is (in principle) common to ALL GNU software.
|
|
|
2b0edb |
# The presence of a machine in this file suggests that SOME GNU software
|
|
|
2b0edb |
@@ -21,9 +21,7 @@
|
|
|
2b0edb |
# GNU General Public License for more details.
|
|
|
2b0edb |
#
|
|
|
2b0edb |
# You should have received a copy of the GNU General Public License
|
|
|
2b0edb |
-# along with this program; if not, write to the Free Software
|
|
|
2b0edb |
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
2b0edb |
-# 02110-1301, USA.
|
|
|
2b0edb |
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
2b0edb |
#
|
|
|
2b0edb |
# As a special exception to the GNU General Public License, if you
|
|
|
2b0edb |
# distribute this file as part of a program that contains a
|
|
|
2b0edb |
@@ -76,8 +74,8 @@
|
|
|
2b0edb |
GNU config.sub ($timestamp)
|
|
|
2b0edb |
|
|
|
2b0edb |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
|
|
2b0edb |
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
|
|
2b0edb |
-Software Foundation, Inc.
|
|
|
2b0edb |
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
|
|
2b0edb |
+Free Software Foundation, Inc.
|
|
|
2b0edb |
|
|
|
2b0edb |
This is free software; see the source for copying conditions. There is NO
|
|
|
2b0edb |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
|
2b0edb |
@@ -124,13 +122,18 @@
|
|
|
2b0edb |
# Here we must recognize all the valid KERNEL-OS combinations.
|
|
|
2b0edb |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
|
2b0edb |
case $maybe_os in
|
|
|
2b0edb |
- nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
|
|
2b0edb |
- uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
|
|
2b0edb |
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
|
|
2b0edb |
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
|
|
2b0edb |
+ knetbsd*-gnu* | netbsd*-gnu* | \
|
|
|
2b0edb |
kopensolaris*-gnu* | \
|
|
|
2b0edb |
storm-chaos* | os2-emx* | rtmk-nova*)
|
|
|
2b0edb |
os=-$maybe_os
|
|
|
2b0edb |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ android-linux)
|
|
|
2b0edb |
+ os=-linux-android
|
|
|
2b0edb |
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
*)
|
|
|
2b0edb |
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
|
|
|
2b0edb |
if [ $basic_machine != $1 ]
|
|
|
2b0edb |
@@ -153,12 +156,12 @@
|
|
|
2b0edb |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
|
|
2b0edb |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
|
|
2b0edb |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
|
|
2b0edb |
- -apple | -axis | -knuth | -cray | -microblaze)
|
|
|
2b0edb |
+ -apple | -axis | -knuth | -cray | -microblaze*)
|
|
|
2b0edb |
os=
|
|
|
2b0edb |
basic_machine=$1
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- -bluegene*)
|
|
|
2b0edb |
- os=-cnk
|
|
|
2b0edb |
+ -bluegene*)
|
|
|
2b0edb |
+ os=-cnk
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
-sim | -cisco | -oki | -wec | -winbond)
|
|
|
2b0edb |
os=
|
|
|
2b0edb |
@@ -174,10 +177,10 @@
|
|
|
2b0edb |
os=-chorusos
|
|
|
2b0edb |
basic_machine=$1
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- -chorusrdb)
|
|
|
2b0edb |
- os=-chorusrdb
|
|
|
2b0edb |
+ -chorusrdb)
|
|
|
2b0edb |
+ os=-chorusrdb
|
|
|
2b0edb |
basic_machine=$1
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
-hiux*)
|
|
|
2b0edb |
os=-hiuxwe2
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
@@ -222,6 +225,12 @@
|
|
|
2b0edb |
-isc*)
|
|
|
2b0edb |
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ -lynx*178)
|
|
|
2b0edb |
+ os=-lynxos178
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ -lynx*5)
|
|
|
2b0edb |
+ os=-lynxos5
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
-lynx*)
|
|
|
2b0edb |
os=-lynxos
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
@@ -246,20 +255,25 @@
|
|
|
2b0edb |
# Some are omitted here because they have special meanings below.
|
|
|
2b0edb |
1750a | 580 \
|
|
|
2b0edb |
| a29k \
|
|
|
2b0edb |
+ | aarch64 | aarch64_be \
|
|
|
2b0edb |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
|
|
2b0edb |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
|
|
2b0edb |
| am33_2.0 \
|
|
|
2b0edb |
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
|
|
2b0edb |
+ | be32 | be64 \
|
|
|
2b0edb |
| bfin \
|
|
|
2b0edb |
| c4x | clipper \
|
|
|
2b0edb |
- | d10v | d30v | dlx | dsp16xx | dvp \
|
|
|
2b0edb |
+ | d10v | d30v | dlx | dsp16xx \
|
|
|
2b0edb |
+ | epiphany \
|
|
|
2b0edb |
| fido | fr30 | frv \
|
|
|
2b0edb |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
|
|
2b0edb |
+ | hexagon \
|
|
|
2b0edb |
| i370 | i860 | i960 | ia64 \
|
|
|
2b0edb |
| ip2k | iq2000 \
|
|
|
2b0edb |
+ | le32 | le64 \
|
|
|
2b0edb |
| lm32 \
|
|
|
2b0edb |
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
|
|
2b0edb |
- | maxq | mb | microblaze | mcore | mep | metag \
|
|
|
2b0edb |
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
|
|
|
2b0edb |
| mips | mipsbe | mipseb | mipsel | mipsle \
|
|
|
2b0edb |
| mips16 \
|
|
|
2b0edb |
| mips64 | mips64el \
|
|
|
2b0edb |
@@ -282,29 +296,39 @@
|
|
|
2b0edb |
| moxie \
|
|
|
2b0edb |
| mt \
|
|
|
2b0edb |
| msp430 \
|
|
|
2b0edb |
+ | nds32 | nds32le | nds32be \
|
|
|
2b0edb |
| nios | nios2 \
|
|
|
2b0edb |
| ns16k | ns32k \
|
|
|
2b0edb |
+ | open8 \
|
|
|
2b0edb |
| or32 \
|
|
|
2b0edb |
| pdp10 | pdp11 | pj | pjl \
|
|
|
2b0edb |
- | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
|
|
2b0edb |
+ | powerpc | powerpc64 | powerpc64le | powerpcle \
|
|
|
2b0edb |
| pyramid \
|
|
|
2b0edb |
- | rx \
|
|
|
2b0edb |
+ | rl78 | rx \
|
|
|
2b0edb |
| score \
|
|
|
2b0edb |
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
|
|
2b0edb |
| sh64 | sh64le \
|
|
|
2b0edb |
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
|
|
2b0edb |
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
|
|
2b0edb |
- | spu | strongarm \
|
|
|
2b0edb |
- | tahoe | thumb | tic4x | tic80 | tron \
|
|
|
2b0edb |
+ | spu \
|
|
|
2b0edb |
+ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
|
|
|
2b0edb |
| ubicom32 \
|
|
|
2b0edb |
- | v850 | v850e \
|
|
|
2b0edb |
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
|
|
|
2b0edb |
| we32k \
|
|
|
2b0edb |
- | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
|
|
2b0edb |
+ | x86 | xc16x | xstormy16 | xtensa \
|
|
|
2b0edb |
| z8k | z80)
|
|
|
2b0edb |
basic_machine=$basic_machine-unknown
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- m6811 | m68hc11 | m6812 | m68hc12 | picochip)
|
|
|
2b0edb |
- # Motorola 68HC11/12.
|
|
|
2b0edb |
+ c54x)
|
|
|
2b0edb |
+ basic_machine=tic54x-unknown
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ c55x)
|
|
|
2b0edb |
+ basic_machine=tic55x-unknown
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ c6x)
|
|
|
2b0edb |
+ basic_machine=tic6x-unknown
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
|
|
2b0edb |
basic_machine=$basic_machine-unknown
|
|
|
2b0edb |
os=-none
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
@@ -314,6 +338,21 @@
|
|
|
2b0edb |
basic_machine=mt-unknown
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
|
|
|
2b0edb |
+ strongarm | thumb | xscale)
|
|
|
2b0edb |
+ basic_machine=arm-unknown
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ xgate)
|
|
|
2b0edb |
+ basic_machine=$basic_machine-unknown
|
|
|
2b0edb |
+ os=-none
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ xscaleeb)
|
|
|
2b0edb |
+ basic_machine=armeb-unknown
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+
|
|
|
2b0edb |
+ xscaleel)
|
|
|
2b0edb |
+ basic_machine=armel-unknown
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+
|
|
|
2b0edb |
# We use `pc' rather than `unknown'
|
|
|
2b0edb |
# because (1) that's what they normally are, and
|
|
|
2b0edb |
# (2) the word "unknown" tends to confuse beginning users.
|
|
|
2b0edb |
@@ -328,25 +367,30 @@
|
|
|
2b0edb |
# Recognize the basic CPU types with company name.
|
|
|
2b0edb |
580-* \
|
|
|
2b0edb |
| a29k-* \
|
|
|
2b0edb |
+ | aarch64-* | aarch64_be-* \
|
|
|
2b0edb |
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
|
|
2b0edb |
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
|
|
2b0edb |
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
|
|
2b0edb |
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
|
|
2b0edb |
| avr-* | avr32-* \
|
|
|
2b0edb |
+ | be32-* | be64-* \
|
|
|
2b0edb |
| bfin-* | bs2000-* \
|
|
|
2b0edb |
- | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
|
|
2b0edb |
+ | c[123]* | c30-* | [cjt]90-* | c4x-* \
|
|
|
2b0edb |
| clipper-* | craynv-* | cydra-* \
|
|
|
2b0edb |
| d10v-* | d30v-* | dlx-* \
|
|
|
2b0edb |
| elxsi-* \
|
|
|
2b0edb |
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
|
|
2b0edb |
| h8300-* | h8500-* \
|
|
|
2b0edb |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
|
|
2b0edb |
+ | hexagon-* \
|
|
|
2b0edb |
| i*86-* | i860-* | i960-* | ia64-* \
|
|
|
2b0edb |
| ip2k-* | iq2000-* \
|
|
|
2b0edb |
+ | le32-* | le64-* \
|
|
|
2b0edb |
| lm32-* \
|
|
|
2b0edb |
| m32c-* | m32r-* | m32rle-* \
|
|
|
2b0edb |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
|
|
2b0edb |
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
|
|
|
2b0edb |
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
|
|
2b0edb |
+ | microblaze-* | microblazeel-* \
|
|
|
2b0edb |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
|
|
2b0edb |
| mips16-* \
|
|
|
2b0edb |
| mips64-* | mips64el-* \
|
|
|
2b0edb |
@@ -368,26 +412,29 @@
|
|
|
2b0edb |
| mmix-* \
|
|
|
2b0edb |
| mt-* \
|
|
|
2b0edb |
| msp430-* \
|
|
|
2b0edb |
+ | nds32-* | nds32le-* | nds32be-* \
|
|
|
2b0edb |
| nios-* | nios2-* \
|
|
|
2b0edb |
| none-* | np1-* | ns16k-* | ns32k-* \
|
|
|
2b0edb |
+ | open8-* \
|
|
|
2b0edb |
| orion-* \
|
|
|
2b0edb |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
|
|
2b0edb |
- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
|
|
2b0edb |
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
|
|
|
2b0edb |
| pyramid-* \
|
|
|
2b0edb |
- | romp-* | rs6000-* | rx-* \
|
|
|
2b0edb |
+ | rl78-* | romp-* | rs6000-* | rx-* \
|
|
|
2b0edb |
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
|
|
2b0edb |
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
|
|
2b0edb |
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
|
|
2b0edb |
| sparclite-* \
|
|
|
2b0edb |
- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
|
|
2b0edb |
- | tahoe-* | thumb-* \
|
|
|
2b0edb |
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
|
|
|
2b0edb |
+ | tahoe-* \
|
|
|
2b0edb |
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
|
|
2b0edb |
- | tile-* | tilegx-* \
|
|
|
2b0edb |
+ | tile*-* \
|
|
|
2b0edb |
| tron-* \
|
|
|
2b0edb |
| ubicom32-* \
|
|
|
2b0edb |
- | v850-* | v850e-* | vax-* \
|
|
|
2b0edb |
+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
|
|
|
2b0edb |
+ | vax-* \
|
|
|
2b0edb |
| we32k-* \
|
|
|
2b0edb |
- | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
|
|
2b0edb |
+ | x86-* | x86_64-* | xc16x-* | xps100-* \
|
|
|
2b0edb |
| xstormy16-* | xtensa*-* \
|
|
|
2b0edb |
| ymp-* \
|
|
|
2b0edb |
| z8k-* | z80-*)
|
|
|
2b0edb |
@@ -412,7 +459,7 @@
|
|
|
2b0edb |
basic_machine=a29k-amd
|
|
|
2b0edb |
os=-udi
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- abacus)
|
|
|
2b0edb |
+ abacus)
|
|
|
2b0edb |
basic_machine=abacus-unknown
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
adobe68k)
|
|
|
2b0edb |
@@ -482,11 +529,20 @@
|
|
|
2b0edb |
basic_machine=powerpc-ibm
|
|
|
2b0edb |
os=-cnk
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ c54x-*)
|
|
|
2b0edb |
+ basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ c55x-*)
|
|
|
2b0edb |
+ basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ c6x-*)
|
|
|
2b0edb |
+ basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
c90)
|
|
|
2b0edb |
basic_machine=c90-cray
|
|
|
2b0edb |
os=-unicos
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- cegcc)
|
|
|
2b0edb |
+ cegcc)
|
|
|
2b0edb |
basic_machine=arm-unknown
|
|
|
2b0edb |
os=-cegcc
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
@@ -518,7 +574,7 @@
|
|
|
2b0edb |
basic_machine=craynv-cray
|
|
|
2b0edb |
os=-unicosmp
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- cr16)
|
|
|
2b0edb |
+ cr16 | cr16-*)
|
|
|
2b0edb |
basic_machine=cr16-unknown
|
|
|
2b0edb |
os=-elf
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
@@ -676,7 +732,6 @@
|
|
|
2b0edb |
i370-ibm* | ibm*)
|
|
|
2b0edb |
basic_machine=i370-ibm
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
|
|
2b0edb |
i*86v32)
|
|
|
2b0edb |
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
|
|
2b0edb |
os=-sysv32
|
|
|
2b0edb |
@@ -734,9 +789,13 @@
|
|
|
2b0edb |
basic_machine=ns32k-utek
|
|
|
2b0edb |
os=-sysv
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- microblaze)
|
|
|
2b0edb |
+ microblaze*)
|
|
|
2b0edb |
basic_machine=microblaze-xilinx
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ mingw64)
|
|
|
2b0edb |
+ basic_machine=x86_64-pc
|
|
|
2b0edb |
+ os=-mingw64
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
mingw32)
|
|
|
2b0edb |
basic_machine=i386-pc
|
|
|
2b0edb |
os=-mingw32
|
|
|
2b0edb |
@@ -752,24 +811,6 @@
|
|
|
2b0edb |
basic_machine=m68k-atari
|
|
|
2b0edb |
os=-mint
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- mipsEE* | ee | ps2)
|
|
|
2b0edb |
- basic_machine=mips64r5900el-scei
|
|
|
2b0edb |
- case $os in
|
|
|
2b0edb |
- -linux*)
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
- *)
|
|
|
2b0edb |
- os=-elf
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
- esac
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
- iop)
|
|
|
2b0edb |
- basic_machine=mipsel-scei
|
|
|
2b0edb |
- os=-irx
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
- dvp)
|
|
|
2b0edb |
- basic_machine=dvp-scei
|
|
|
2b0edb |
- os=-elf
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
mips3*-*)
|
|
|
2b0edb |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
@@ -791,10 +832,18 @@
|
|
|
2b0edb |
ms1-*)
|
|
|
2b0edb |
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ msys)
|
|
|
2b0edb |
+ basic_machine=i386-pc
|
|
|
2b0edb |
+ os=-msys
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
mvs)
|
|
|
2b0edb |
basic_machine=i370-ibm
|
|
|
2b0edb |
os=-mvs
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ nacl)
|
|
|
2b0edb |
+ basic_machine=le32-unknown
|
|
|
2b0edb |
+ os=-nacl
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
ncr3000)
|
|
|
2b0edb |
basic_machine=i486-ncr
|
|
|
2b0edb |
os=-sysv4
|
|
|
2b0edb |
@@ -859,6 +908,12 @@
|
|
|
2b0edb |
np1)
|
|
|
2b0edb |
basic_machine=np1-gould
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ neo-tandem)
|
|
|
2b0edb |
+ basic_machine=neo-tandem
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ nse-tandem)
|
|
|
2b0edb |
+ basic_machine=nse-tandem
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
nsr-tandem)
|
|
|
2b0edb |
basic_machine=nsr-tandem
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
@@ -941,9 +996,10 @@
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
power) basic_machine=power-ibm
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- ppc) basic_machine=powerpc-unknown
|
|
|
2b0edb |
+ ppc | ppcbe) basic_machine=powerpc-unknown
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
2b0edb |
+ ppc-* | ppcbe-*)
|
|
|
2b0edb |
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
ppcle | powerpclittle | ppc-le | powerpc-little)
|
|
|
2b0edb |
basic_machine=powerpcle-unknown
|
|
|
2b0edb |
@@ -1037,6 +1093,9 @@
|
|
|
2b0edb |
basic_machine=i860-stratus
|
|
|
2b0edb |
os=-sysv4
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ strongarm-* | thumb-*)
|
|
|
2b0edb |
+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
sun2)
|
|
|
2b0edb |
basic_machine=m68000-sun
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
@@ -1093,25 +1152,8 @@
|
|
|
2b0edb |
basic_machine=t90-cray
|
|
|
2b0edb |
os=-unicos
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- tic54x | c54x*)
|
|
|
2b0edb |
- basic_machine=tic54x-unknown
|
|
|
2b0edb |
- os=-coff
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
- tic55x | c55x*)
|
|
|
2b0edb |
- basic_machine=tic55x-unknown
|
|
|
2b0edb |
- os=-coff
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
- tic6x | c6x*)
|
|
|
2b0edb |
- basic_machine=tic6x-unknown
|
|
|
2b0edb |
- os=-coff
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
- # This must be matched before tile*.
|
|
|
2b0edb |
- tilegx*)
|
|
|
2b0edb |
- basic_machine=tilegx-unknown
|
|
|
2b0edb |
- os=-linux-gnu
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
tile*)
|
|
|
2b0edb |
- basic_machine=tile-unknown
|
|
|
2b0edb |
+ basic_machine=$basic_machine-unknown
|
|
|
2b0edb |
os=-linux-gnu
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
tx39)
|
|
|
2b0edb |
@@ -1181,6 +1223,9 @@
|
|
|
2b0edb |
xps | xps100)
|
|
|
2b0edb |
basic_machine=xps100-honeywell
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
+ xscale-* | xscalee[bl]-*)
|
|
|
2b0edb |
+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
ymp)
|
|
|
2b0edb |
basic_machine=ymp-cray
|
|
|
2b0edb |
os=-unicos
|
|
|
2b0edb |
@@ -1278,11 +1323,11 @@
|
|
|
2b0edb |
if [ x"$os" != x"" ]
|
|
|
2b0edb |
then
|
|
|
2b0edb |
case $os in
|
|
|
2b0edb |
- # First match some system type aliases
|
|
|
2b0edb |
- # that might get confused with valid system types.
|
|
|
2b0edb |
+ # First match some system type aliases
|
|
|
2b0edb |
+ # that might get confused with valid system types.
|
|
|
2b0edb |
# -solaris* is a basic system type, with this one exception.
|
|
|
2b0edb |
- -auroraux)
|
|
|
2b0edb |
- os=-auroraux
|
|
|
2b0edb |
+ -auroraux)
|
|
|
2b0edb |
+ os=-auroraux
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
-solaris1 | -solaris1.*)
|
|
|
2b0edb |
os=`echo $os | sed -e 's|solaris1|sunos4|'`
|
|
|
2b0edb |
@@ -1312,18 +1357,19 @@
|
|
|
2b0edb |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
|
2b0edb |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
|
2b0edb |
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
|
|
2b0edb |
- | -openbsd* | -solidbsd* \
|
|
|
2b0edb |
+ | -bitrig* | -openbsd* | -solidbsd* \
|
|
|
2b0edb |
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
|
|
2b0edb |
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
|
2b0edb |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
|
|
2b0edb |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
|
2b0edb |
| -chorusos* | -chorusrdb* | -cegcc* \
|
|
|
2b0edb |
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
|
2b0edb |
- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
|
|
2b0edb |
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
|
2b0edb |
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
|
|
2b0edb |
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
|
|
2b0edb |
| -uxpv* | -beos* | -mpeix* | -udk* \
|
|
|
2b0edb |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
|
|
2b0edb |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
|
|
2b0edb |
- | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -irx* \
|
|
|
2b0edb |
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
|
|
2b0edb |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
|
|
2b0edb |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
|
|
2b0edb |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
|
|
2b0edb |
@@ -1366,7 +1412,7 @@
|
|
|
2b0edb |
-opened*)
|
|
|
2b0edb |
os=-openedition
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- -os400*)
|
|
|
2b0edb |
+ -os400*)
|
|
|
2b0edb |
os=-os400
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
-wince*)
|
|
|
2b0edb |
@@ -1415,7 +1461,7 @@
|
|
|
2b0edb |
-sinix*)
|
|
|
2b0edb |
os=-sysv4
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- -tpf*)
|
|
|
2b0edb |
+ -tpf*)
|
|
|
2b0edb |
os=-tpf
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
-triton*)
|
|
|
2b0edb |
@@ -1460,8 +1506,8 @@
|
|
|
2b0edb |
-dicos*)
|
|
|
2b0edb |
os=-dicos
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- -nacl*)
|
|
|
2b0edb |
- ;;
|
|
|
2b0edb |
+ -nacl*)
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
-none)
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
*)
|
|
|
2b0edb |
@@ -1484,10 +1530,10 @@
|
|
|
2b0edb |
# system, and we'll never get to this point.
|
|
|
2b0edb |
|
|
|
2b0edb |
case $basic_machine in
|
|
|
2b0edb |
- score-*)
|
|
|
2b0edb |
+ score-*)
|
|
|
2b0edb |
os=-elf
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- spu-*)
|
|
|
2b0edb |
+ spu-*)
|
|
|
2b0edb |
os=-elf
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
*-acorn)
|
|
|
2b0edb |
@@ -1499,8 +1545,20 @@
|
|
|
2b0edb |
arm*-semi)
|
|
|
2b0edb |
os=-aout
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- c4x-* | tic4x-*)
|
|
|
2b0edb |
- os=-coff
|
|
|
2b0edb |
+ c4x-* | tic4x-*)
|
|
|
2b0edb |
+ os=-coff
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ hexagon-*)
|
|
|
2b0edb |
+ os=-elf
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ tic54x-*)
|
|
|
2b0edb |
+ os=-coff
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ tic55x-*)
|
|
|
2b0edb |
+ os=-coff
|
|
|
2b0edb |
+ ;;
|
|
|
2b0edb |
+ tic6x-*)
|
|
|
2b0edb |
+ os=-coff
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
# This must come before the *-dec entry.
|
|
|
2b0edb |
pdp10-*)
|
|
|
2b0edb |
@@ -1520,14 +1578,11 @@
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
m68000-sun)
|
|
|
2b0edb |
os=-sunos3
|
|
|
2b0edb |
- # This also exists in the configure program, but was not the
|
|
|
2b0edb |
- # default.
|
|
|
2b0edb |
- # os=-sunos4
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
m68*-cisco)
|
|
|
2b0edb |
os=-aout
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- mep-*)
|
|
|
2b0edb |
+ mep-*)
|
|
|
2b0edb |
os=-elf
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
mips*-cisco)
|
|
|
2b0edb |
@@ -1554,7 +1609,7 @@
|
|
|
2b0edb |
*-ibm)
|
|
|
2b0edb |
os=-aix
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
- *-knuth)
|
|
|
2b0edb |
+ *-knuth)
|
|
|
2b0edb |
os=-mmixware
|
|
|
2b0edb |
;;
|
|
|
2b0edb |
*-wec)
|