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