|
|
1280ab |
From 77a24f7ba8023f1119454cac877285cfaef909e0 Mon Sep 17 00:00:00 2001
|
|
|
1280ab |
From: Xavier Leroy <xavier.leroy@inria.fr>
|
|
|
1280ab |
Date: Thu, 18 Jul 2013 16:07:25 +0000
|
|
|
f9602d |
Subject: [PATCH 09/18] Updated with latest versions from FSF.
|
|
|
1280ab |
|
|
|
1280ab |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13907 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
|
|
1280ab |
(cherry picked from commit 24bb4caeb35e49126aa3a4c0101a412db1091213)
|
|
|
1280ab |
---
|
|
|
1280ab |
config/gnu/config.guess | 196 ++++++++++++++++++++++++++++--------------------
|
|
|
1280ab |
config/gnu/config.sub | 117 +++++++++++++++++------------
|
|
|
1280ab |
2 files changed, 183 insertions(+), 130 deletions(-)
|
|
|
1280ab |
|
|
|
1280ab |
diff --git a/config/gnu/config.guess b/config/gnu/config.guess
|
|
|
1280ab |
index 8152efd..b79252d 100755
|
|
|
1280ab |
--- a/config/gnu/config.guess
|
|
|
1280ab |
+++ b/config/gnu/config.guess
|
|
|
1280ab |
@@ -1,14 +1,12 @@
|
|
|
1280ab |
#! /bin/sh
|
|
|
1280ab |
# Attempt to guess a canonical system name.
|
|
|
1280ab |
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
|
1280ab |
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
|
1280ab |
-# 2011 Free Software Foundation, Inc.
|
|
|
1280ab |
+# Copyright 1992-2013 Free Software Foundation, Inc.
|
|
|
1280ab |
|
|
|
1280ab |
-timestamp='2011-11-11'
|
|
|
1280ab |
+timestamp='2013-06-10'
|
|
|
1280ab |
|
|
|
1280ab |
# This file is free software; you can redistribute it and/or modify it
|
|
|
1280ab |
# under the terms of the GNU General Public License as published by
|
|
|
1280ab |
-# the Free Software Foundation; either version 2 of the License, or
|
|
|
1280ab |
+# the Free Software Foundation; either version 3 of the License, or
|
|
|
1280ab |
# (at your option) any later version.
|
|
|
1280ab |
#
|
|
|
1280ab |
# This program is distributed in the hope that it will be useful, but
|
|
|
1280ab |
@@ -17,26 +15,22 @@ timestamp='2011-11-11'
|
|
|
1280ab |
# General Public License for more details.
|
|
|
1280ab |
#
|
|
|
1280ab |
# You should have received a copy of the GNU General Public License
|
|
|
1280ab |
-# along with this program; if not, write to the Free Software
|
|
|
1280ab |
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
1280ab |
-# 02110-1301, USA.
|
|
|
1280ab |
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
1280ab |
#
|
|
|
1280ab |
# As a special exception to the GNU General Public License, if you
|
|
|
1280ab |
# distribute this file as part of a program that contains a
|
|
|
1280ab |
# configuration script generated by Autoconf, you may include it under
|
|
|
1280ab |
-# the same distribution terms that you use for the rest of that program.
|
|
|
1280ab |
-
|
|
|
1280ab |
-
|
|
|
1280ab |
-# Originally written by Per Bothner. Please send patches (context
|
|
|
1280ab |
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
|
|
1280ab |
-# entry.
|
|
|
1280ab |
+# the same distribution terms that you use for the rest of that
|
|
|
1280ab |
+# program. This Exception is an additional permission under section 7
|
|
|
1280ab |
+# of the GNU General Public License, version 3 ("GPLv3").
|
|
|
1280ab |
#
|
|
|
1280ab |
-# This script attempts to guess a canonical system name similar to
|
|
|
1280ab |
-# config.sub. If it succeeds, it prints the system name on stdout, and
|
|
|
1280ab |
-# exits with 0. Otherwise, it exits with 1.
|
|
|
1280ab |
+# Originally written by Per Bothner.
|
|
|
1280ab |
#
|
|
|
1280ab |
# You can get the latest version of this script from:
|
|
|
1280ab |
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
|
1280ab |
+#
|
|
|
1280ab |
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
|
|
1280ab |
+
|
|
|
1280ab |
|
|
|
1280ab |
me=`echo "$0" | sed -e 's,.*/,,'`
|
|
|
1280ab |
|
|
|
1280ab |
@@ -56,9 +50,7 @@ version="\
|
|
|
1280ab |
GNU config.guess ($timestamp)
|
|
|
1280ab |
|
|
|
1280ab |
Originally written by Per Bothner.
|
|
|
1280ab |
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
|
|
1280ab |
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
|
|
|
1280ab |
-Software Foundation, Inc.
|
|
|
1280ab |
+Copyright 1992-2013 Free Software Foundation, Inc.
|
|
|
1280ab |
|
|
|
1280ab |
This is free software; see the source for copying conditions. There is NO
|
|
|
1280ab |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
|
1280ab |
@@ -140,12 +132,33 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
|
|
1280ab |
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
|
|
1280ab |
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|
|
1280ab |
|
|
|
1280ab |
+case "${UNAME_SYSTEM}" in
|
|
|
1280ab |
+Linux|GNU|GNU/*)
|
|
|
1280ab |
+ # If the system lacks a compiler, then just pick glibc.
|
|
|
1280ab |
+ # We could probably try harder.
|
|
|
1280ab |
+ LIBC=gnu
|
|
|
1280ab |
+
|
|
|
1280ab |
+ eval $set_cc_for_build
|
|
|
1280ab |
+ cat <<-EOF > $dummy.c
|
|
|
1280ab |
+ #include <features.h>
|
|
|
1280ab |
+ #if defined(__UCLIBC__)
|
|
|
1280ab |
+ LIBC=uclibc
|
|
|
1280ab |
+ #elif defined(__dietlibc__)
|
|
|
1280ab |
+ LIBC=dietlibc
|
|
|
1280ab |
+ #else
|
|
|
1280ab |
+ LIBC=gnu
|
|
|
1280ab |
+ #endif
|
|
|
1280ab |
+ EOF
|
|
|
1280ab |
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
+esac
|
|
|
1280ab |
+
|
|
|
1280ab |
# Note: order is significant - the case branches are not exclusive.
|
|
|
1280ab |
|
|
|
1280ab |
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
|
1280ab |
*:NetBSD:*:*)
|
|
|
1280ab |
# NetBSD (nbsd) targets should (where applicable) match one or
|
|
|
1280ab |
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
|
|
1280ab |
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
|
|
|
1280ab |
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
|
|
1280ab |
# switched to ELF, *-*-netbsd* would select the old
|
|
|
1280ab |
# object file format. This provides both forward
|
|
|
1280ab |
@@ -202,6 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
|
1280ab |
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
|
|
1280ab |
echo "${machine}-${os}${release}"
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
+ *:Bitrig:*:*)
|
|
|
1280ab |
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
|
|
1280ab |
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
*:OpenBSD:*:*)
|
|
|
1280ab |
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
|
|
1280ab |
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
|
|
1280ab |
@@ -304,7 +321,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
|
1280ab |
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
|
|
1280ab |
echo arm-acorn-riscix${UNAME_RELEASE}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
- arm:riscos:*:*|arm:RISCOS:*:*)
|
|
|
1280ab |
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
|
|
|
1280ab |
echo arm-unknown-riscos
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
|
|
1280ab |
@@ -803,6 +820,9 @@ EOF
|
|
|
1280ab |
i*:CYGWIN*:*)
|
|
|
1280ab |
echo ${UNAME_MACHINE}-pc-cygwin
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
+ *:MINGW64*:*)
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-pc-mingw64
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
*:MINGW*:*)
|
|
|
1280ab |
echo ${UNAME_MACHINE}-pc-mingw32
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
@@ -854,15 +874,22 @@ EOF
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
*:GNU:*:*)
|
|
|
1280ab |
# the GNU system
|
|
|
1280ab |
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
|
|
1280ab |
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
*:GNU/*:*:*)
|
|
|
1280ab |
# other systems with GNU libc and userland
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
i*86:Minix:*:*)
|
|
|
1280ab |
echo ${UNAME_MACHINE}-pc-minix
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
+ aarch64:Linux:*:*)
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
+ aarch64_be:Linux:*:*)
|
|
|
1280ab |
+ UNAME_MACHINE=aarch64_be
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
alpha:Linux:*:*)
|
|
|
1280ab |
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
|
|
1280ab |
EV5) UNAME_MACHINE=alphaev5 ;;
|
|
|
1280ab |
@@ -874,59 +901,54 @@ EOF
|
|
|
1280ab |
EV68*) UNAME_MACHINE=alphaev68 ;;
|
|
|
1280ab |
esac
|
|
|
1280ab |
objdump --private-headers /bin/sh | grep -q ld.so.1
|
|
|
1280ab |
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
|
|
1280ab |
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
+ arc:Linux:*:* | arceb:Linux:*:*)
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
arm*:Linux:*:*)
|
|
|
1280ab |
eval $set_cc_for_build
|
|
|
1280ab |
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
|
1280ab |
| grep -q __ARM_EABI__
|
|
|
1280ab |
then
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
else
|
|
|
1280ab |
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
|
1280ab |
| grep -q __ARM_PCS_VFP
|
|
|
1280ab |
then
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
|
|
|
1280ab |
else
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
|
|
|
1280ab |
fi
|
|
|
1280ab |
fi
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
avr32*:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
cris:Linux:*:*)
|
|
|
1280ab |
- echo cris-axis-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
crisv32:Linux:*:*)
|
|
|
1280ab |
- echo crisv32-axis-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
frv:Linux:*:*)
|
|
|
1280ab |
- echo frv-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
hexagon:Linux:*:*)
|
|
|
1280ab |
- echo hexagon-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
i*86:Linux:*:*)
|
|
|
1280ab |
- LIBC=gnu
|
|
|
1280ab |
- eval $set_cc_for_build
|
|
|
1280ab |
- sed 's/^ //' << EOF >$dummy.c
|
|
|
1280ab |
- #ifdef __dietlibc__
|
|
|
1280ab |
- LIBC=dietlibc
|
|
|
1280ab |
- #endif
|
|
|
1280ab |
-EOF
|
|
|
1280ab |
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
|
1280ab |
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
ia64:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
m32r*:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
m68*:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
mips:Linux:*:* | mips64:Linux:*:*)
|
|
|
1280ab |
eval $set_cc_for_build
|
|
|
1280ab |
@@ -945,54 +967,63 @@ EOF
|
|
|
1280ab |
#endif
|
|
|
1280ab |
EOF
|
|
|
1280ab |
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
|
|
1280ab |
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
|
|
1280ab |
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
|
|
1280ab |
;;
|
|
|
1280ab |
+ or1k:Linux:*:*)
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
or32:Linux:*:*)
|
|
|
1280ab |
- echo or32-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
padre:Linux:*:*)
|
|
|
1280ab |
- echo sparc-unknown-linux-gnu
|
|
|
1280ab |
+ echo sparc-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
|
|
1280ab |
- echo hppa64-unknown-linux-gnu
|
|
|
1280ab |
+ echo hppa64-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
parisc:Linux:*:* | hppa:Linux:*:*)
|
|
|
1280ab |
# Look for CPU level
|
|
|
1280ab |
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
|
|
1280ab |
- PA7*) echo hppa1.1-unknown-linux-gnu ;;
|
|
|
1280ab |
- PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
|
|
1280ab |
- *) echo hppa-unknown-linux-gnu ;;
|
|
|
1280ab |
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
|
|
|
1280ab |
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
|
|
|
1280ab |
+ *) echo hppa-unknown-linux-${LIBC} ;;
|
|
|
1280ab |
esac
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
ppc64:Linux:*:*)
|
|
|
1280ab |
- echo powerpc64-unknown-linux-gnu
|
|
|
1280ab |
+ echo powerpc64-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
ppc:Linux:*:*)
|
|
|
1280ab |
- echo powerpc-unknown-linux-gnu
|
|
|
1280ab |
+ echo powerpc-unknown-linux-${LIBC}
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
+ ppc64le:Linux:*:*)
|
|
|
1280ab |
+ echo powerpc64le-unknown-linux-${LIBC}
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
+ ppcle:Linux:*:*)
|
|
|
1280ab |
+ echo powerpcle-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
s390:Linux:*:* | s390x:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-ibm-linux
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
sh64*:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
sh*:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
sparc:Linux:*:* | sparc64:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
tile*:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
vax:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-dec-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
x86_64:Linux:*:*)
|
|
|
1280ab |
- echo x86_64-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
xtensa*:Linux:*:*)
|
|
|
1280ab |
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
i*86:DYNIX/ptx:4*:*)
|
|
|
1280ab |
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
|
|
1280ab |
@@ -1196,6 +1227,9 @@ EOF
|
|
|
1280ab |
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
|
|
1280ab |
echo i586-pc-haiku
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
+ x86_64:Haiku:*:*)
|
|
|
1280ab |
+ echo x86_64-unknown-haiku
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
SX-4:SUPER-UX:*:*)
|
|
|
1280ab |
echo sx4-nec-superux${UNAME_RELEASE}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
@@ -1222,19 +1256,21 @@ EOF
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
*:Darwin:*:*)
|
|
|
1280ab |
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
|
|
1280ab |
- case $UNAME_PROCESSOR in
|
|
|
1280ab |
- i386)
|
|
|
1280ab |
- eval $set_cc_for_build
|
|
|
1280ab |
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
|
1280ab |
- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
|
1280ab |
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
|
1280ab |
- grep IS_64BIT_ARCH >/dev/null
|
|
|
1280ab |
- then
|
|
|
1280ab |
- UNAME_PROCESSOR="x86_64"
|
|
|
1280ab |
- fi
|
|
|
1280ab |
- fi ;;
|
|
|
1280ab |
- unknown) UNAME_PROCESSOR=powerpc ;;
|
|
|
1280ab |
- esac
|
|
|
1280ab |
+ eval $set_cc_for_build
|
|
|
1280ab |
+ if test "$UNAME_PROCESSOR" = unknown ; then
|
|
|
1280ab |
+ UNAME_PROCESSOR=powerpc
|
|
|
1280ab |
+ fi
|
|
|
1280ab |
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
|
1280ab |
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
|
1280ab |
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
|
1280ab |
+ grep IS_64BIT_ARCH >/dev/null
|
|
|
1280ab |
+ then
|
|
|
1280ab |
+ case $UNAME_PROCESSOR in
|
|
|
1280ab |
+ i386) UNAME_PROCESSOR=x86_64 ;;
|
|
|
1280ab |
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
|
|
|
1280ab |
+ esac
|
|
|
1280ab |
+ fi
|
|
|
1280ab |
+ fi
|
|
|
1280ab |
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
|
|
1280ab |
@@ -1251,7 +1287,7 @@ EOF
|
|
|
1280ab |
NEO-?:NONSTOP_KERNEL:*:*)
|
|
|
1280ab |
echo neo-tandem-nsk${UNAME_RELEASE}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
- NSE-?:NONSTOP_KERNEL:*:*)
|
|
|
1280ab |
+ NSE-*:NONSTOP_KERNEL:*:*)
|
|
|
1280ab |
echo nse-tandem-nsk${UNAME_RELEASE}
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
NSR-?:NONSTOP_KERNEL:*:*)
|
|
|
1280ab |
@@ -1320,11 +1356,11 @@ EOF
|
|
|
1280ab |
i*86:AROS:*:*)
|
|
|
1280ab |
echo ${UNAME_MACHINE}-pc-aros
|
|
|
1280ab |
exit ;;
|
|
|
1280ab |
+ x86_64:VMkernel:*:*)
|
|
|
1280ab |
+ echo ${UNAME_MACHINE}-unknown-esx
|
|
|
1280ab |
+ exit ;;
|
|
|
1280ab |
esac
|
|
|
1280ab |
|
|
|
1280ab |
-#echo '(No uname command or uname output not recognized.)' 1>&2
|
|
|
1280ab |
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
|
|
1280ab |
-
|
|
|
1280ab |
eval $set_cc_for_build
|
|
|
1280ab |
cat >$dummy.c <
|
|
|
1280ab |
#ifdef _SEQUENT_
|
|
|
1280ab |
diff --git a/config/gnu/config.sub b/config/gnu/config.sub
|
|
|
1280ab |
index e76eaf4..8b612ab 100755
|
|
|
1280ab |
--- a/config/gnu/config.sub
|
|
|
1280ab |
+++ b/config/gnu/config.sub
|
|
|
1280ab |
@@ -1,38 +1,31 @@
|
|
|
1280ab |
#! /bin/sh
|
|
|
1280ab |
# Configuration validation subroutine script.
|
|
|
1280ab |
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
|
1280ab |
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
|
1280ab |
-# 2011 Free Software Foundation, Inc.
|
|
|
1280ab |
+# Copyright 1992-2013 Free Software Foundation, Inc.
|
|
|
1280ab |
|
|
|
1280ab |
-timestamp='2011-11-11'
|
|
|
1280ab |
+timestamp='2013-04-24'
|
|
|
1280ab |
|
|
|
1280ab |
-# This file is (in principle) common to ALL GNU software.
|
|
|
1280ab |
-# The presence of a machine in this file suggests that SOME GNU software
|
|
|
1280ab |
-# can handle that machine. It does not imply ALL GNU software can.
|
|
|
1280ab |
-#
|
|
|
1280ab |
-# This file is free software; you can redistribute it and/or modify
|
|
|
1280ab |
-# it under the terms of the GNU General Public License as published by
|
|
|
1280ab |
-# the Free Software Foundation; either version 2 of the License, or
|
|
|
1280ab |
+# This file is free software; you can redistribute it and/or modify it
|
|
|
1280ab |
+# under the terms of the GNU General Public License as published by
|
|
|
1280ab |
+# the Free Software Foundation; either version 3 of the License, or
|
|
|
1280ab |
# (at your option) any later version.
|
|
|
1280ab |
#
|
|
|
1280ab |
-# This program is distributed in the hope that it will be useful,
|
|
|
1280ab |
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
1280ab |
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
1280ab |
-# GNU General Public License for more details.
|
|
|
1280ab |
+# This program is distributed in the hope that it will be useful, but
|
|
|
1280ab |
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
1280ab |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
1280ab |
+# General Public License for more details.
|
|
|
1280ab |
#
|
|
|
1280ab |
# You should have received a copy of the GNU General Public License
|
|
|
1280ab |
-# along with this program; if not, write to the Free Software
|
|
|
1280ab |
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
1280ab |
-# 02110-1301, USA.
|
|
|
1280ab |
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
1280ab |
#
|
|
|
1280ab |
# As a special exception to the GNU General Public License, if you
|
|
|
1280ab |
# distribute this file as part of a program that contains a
|
|
|
1280ab |
# configuration script generated by Autoconf, you may include it under
|
|
|
1280ab |
-# the same distribution terms that you use for the rest of that program.
|
|
|
1280ab |
+# the same distribution terms that you use for the rest of that
|
|
|
1280ab |
+# program. This Exception is an additional permission under section 7
|
|
|
1280ab |
+# of the GNU General Public License, version 3 ("GPLv3").
|
|
|
1280ab |
|
|
|
1280ab |
|
|
|
1280ab |
-# Please send patches to <config-patches@gnu.org>. Submit a context
|
|
|
1280ab |
-# diff and a properly formatted GNU ChangeLog entry.
|
|
|
1280ab |
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
|
|
1280ab |
#
|
|
|
1280ab |
# Configuration subroutine to validate and canonicalize a configuration type.
|
|
|
1280ab |
# Supply the specified configuration type as an argument.
|
|
|
1280ab |
@@ -75,9 +68,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
|
1280ab |
version="\
|
|
|
1280ab |
GNU config.sub ($timestamp)
|
|
|
1280ab |
|
|
|
1280ab |
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
|
|
1280ab |
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
|
|
|
1280ab |
-Software Foundation, Inc.
|
|
|
1280ab |
+Copyright 1992-2013 Free Software Foundation, Inc.
|
|
|
1280ab |
|
|
|
1280ab |
This is free software; see the source for copying conditions. There is NO
|
|
|
1280ab |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
|
1280ab |
@@ -125,13 +116,17 @@ esac
|
|
|
1280ab |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
|
1280ab |
case $maybe_os in
|
|
|
1280ab |
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
|
|
1280ab |
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
|
|
1280ab |
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
|
|
1280ab |
knetbsd*-gnu* | netbsd*-gnu* | \
|
|
|
1280ab |
kopensolaris*-gnu* | \
|
|
|
1280ab |
storm-chaos* | os2-emx* | rtmk-nova*)
|
|
|
1280ab |
os=-$maybe_os
|
|
|
1280ab |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
|
|
1280ab |
;;
|
|
|
1280ab |
+ android-linux)
|
|
|
1280ab |
+ os=-linux-android
|
|
|
1280ab |
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
*)
|
|
|
1280ab |
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
|
|
|
1280ab |
if [ $basic_machine != $1 ]
|
|
|
1280ab |
@@ -154,7 +149,7 @@ case $os in
|
|
|
1280ab |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
|
|
1280ab |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
|
|
1280ab |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
|
|
1280ab |
- -apple | -axis | -knuth | -cray | -microblaze)
|
|
|
1280ab |
+ -apple | -axis | -knuth | -cray | -microblaze*)
|
|
|
1280ab |
os=
|
|
|
1280ab |
basic_machine=$1
|
|
|
1280ab |
;;
|
|
|
1280ab |
@@ -223,6 +218,12 @@ case $os in
|
|
|
1280ab |
-isc*)
|
|
|
1280ab |
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
|
1280ab |
;;
|
|
|
1280ab |
+ -lynx*178)
|
|
|
1280ab |
+ os=-lynxos178
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
+ -lynx*5)
|
|
|
1280ab |
+ os=-lynxos5
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
-lynx*)
|
|
|
1280ab |
os=-lynxos
|
|
|
1280ab |
;;
|
|
|
1280ab |
@@ -247,11 +248,14 @@ case $basic_machine in
|
|
|
1280ab |
# Some are omitted here because they have special meanings below.
|
|
|
1280ab |
1750a | 580 \
|
|
|
1280ab |
| a29k \
|
|
|
1280ab |
+ | aarch64 | aarch64_be \
|
|
|
1280ab |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
|
|
1280ab |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
|
|
1280ab |
| am33_2.0 \
|
|
|
1280ab |
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
|
|
1280ab |
- | be32 | be64 \
|
|
|
1280ab |
+ | arc | arceb \
|
|
|
1280ab |
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
|
|
1280ab |
+ | avr | avr32 \
|
|
|
1280ab |
+ | be32 | be64 \
|
|
|
1280ab |
| bfin \
|
|
|
1280ab |
| c4x | clipper \
|
|
|
1280ab |
| d10v | d30v | dlx | dsp16xx \
|
|
|
1280ab |
@@ -264,7 +268,7 @@ case $basic_machine in
|
|
|
1280ab |
| le32 | le64 \
|
|
|
1280ab |
| lm32 \
|
|
|
1280ab |
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
|
|
1280ab |
- | maxq | mb | microblaze | mcore | mep | metag \
|
|
|
1280ab |
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
|
|
|
1280ab |
| mips | mipsbe | mipseb | mipsel | mipsle \
|
|
|
1280ab |
| mips16 \
|
|
|
1280ab |
| mips64 | mips64el \
|
|
|
1280ab |
@@ -282,16 +286,17 @@ case $basic_machine in
|
|
|
1280ab |
| mipsisa64r2 | mipsisa64r2el \
|
|
|
1280ab |
| mipsisa64sb1 | mipsisa64sb1el \
|
|
|
1280ab |
| mipsisa64sr71k | mipsisa64sr71kel \
|
|
|
1280ab |
+ | mipsr5900 | mipsr5900el \
|
|
|
1280ab |
| mipstx39 | mipstx39el \
|
|
|
1280ab |
| mn10200 | mn10300 \
|
|
|
1280ab |
| moxie \
|
|
|
1280ab |
| mt \
|
|
|
1280ab |
| msp430 \
|
|
|
1280ab |
| nds32 | nds32le | nds32be \
|
|
|
1280ab |
- | nios | nios2 \
|
|
|
1280ab |
+ | nios | nios2 | nios2eb | nios2el \
|
|
|
1280ab |
| ns16k | ns32k \
|
|
|
1280ab |
| open8 \
|
|
|
1280ab |
- | or32 \
|
|
|
1280ab |
+ | or1k | or32 \
|
|
|
1280ab |
| pdp10 | pdp11 | pj | pjl \
|
|
|
1280ab |
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
|
|
1280ab |
| pyramid \
|
|
|
1280ab |
@@ -319,8 +324,7 @@ case $basic_machine in
|
|
|
1280ab |
c6x)
|
|
|
1280ab |
basic_machine=tic6x-unknown
|
|
|
1280ab |
;;
|
|
|
1280ab |
- m6811 | m68hc11 | m6812 | m68hc12 | picochip)
|
|
|
1280ab |
- # Motorola 68HC11/12.
|
|
|
1280ab |
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
|
|
1280ab |
basic_machine=$basic_machine-unknown
|
|
|
1280ab |
os=-none
|
|
|
1280ab |
;;
|
|
|
1280ab |
@@ -333,7 +337,10 @@ case $basic_machine in
|
|
|
1280ab |
strongarm | thumb | xscale)
|
|
|
1280ab |
basic_machine=arm-unknown
|
|
|
1280ab |
;;
|
|
|
1280ab |
-
|
|
|
1280ab |
+ xgate)
|
|
|
1280ab |
+ basic_machine=$basic_machine-unknown
|
|
|
1280ab |
+ os=-none
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
xscaleeb)
|
|
|
1280ab |
basic_machine=armeb-unknown
|
|
|
1280ab |
;;
|
|
|
1280ab |
@@ -356,9 +363,10 @@ case $basic_machine in
|
|
|
1280ab |
# Recognize the basic CPU types with company name.
|
|
|
1280ab |
580-* \
|
|
|
1280ab |
| a29k-* \
|
|
|
1280ab |
+ | aarch64-* | aarch64_be-* \
|
|
|
1280ab |
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
|
|
1280ab |
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
|
|
1280ab |
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
|
|
1280ab |
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
|
|
|
1280ab |
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
|
|
1280ab |
| avr-* | avr32-* \
|
|
|
1280ab |
| be32-* | be64-* \
|
|
|
1280ab |
@@ -377,7 +385,8 @@ case $basic_machine in
|
|
|
1280ab |
| lm32-* \
|
|
|
1280ab |
| m32c-* | m32r-* | m32rle-* \
|
|
|
1280ab |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
|
|
1280ab |
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
|
|
|
1280ab |
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
|
|
1280ab |
+ | microblaze-* | microblazeel-* \
|
|
|
1280ab |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
|
|
1280ab |
| mips16-* \
|
|
|
1280ab |
| mips64-* | mips64el-* \
|
|
|
1280ab |
@@ -395,12 +404,13 @@ case $basic_machine in
|
|
|
1280ab |
| mipsisa64r2-* | mipsisa64r2el-* \
|
|
|
1280ab |
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
|
|
1280ab |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
|
|
1280ab |
+ | mipsr5900-* | mipsr5900el-* \
|
|
|
1280ab |
| mipstx39-* | mipstx39el-* \
|
|
|
1280ab |
| mmix-* \
|
|
|
1280ab |
| mt-* \
|
|
|
1280ab |
| msp430-* \
|
|
|
1280ab |
| nds32-* | nds32le-* | nds32be-* \
|
|
|
1280ab |
- | nios-* | nios2-* \
|
|
|
1280ab |
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
|
|
|
1280ab |
| none-* | np1-* | ns16k-* | ns32k-* \
|
|
|
1280ab |
| open8-* \
|
|
|
1280ab |
| orion-* \
|
|
|
1280ab |
@@ -719,7 +729,6 @@ case $basic_machine in
|
|
|
1280ab |
i370-ibm* | ibm*)
|
|
|
1280ab |
basic_machine=i370-ibm
|
|
|
1280ab |
;;
|
|
|
1280ab |
-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
|
|
1280ab |
i*86v32)
|
|
|
1280ab |
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
|
|
1280ab |
os=-sysv32
|
|
|
1280ab |
@@ -777,9 +786,13 @@ case $basic_machine in
|
|
|
1280ab |
basic_machine=ns32k-utek
|
|
|
1280ab |
os=-sysv
|
|
|
1280ab |
;;
|
|
|
1280ab |
- microblaze)
|
|
|
1280ab |
+ microblaze*)
|
|
|
1280ab |
basic_machine=microblaze-xilinx
|
|
|
1280ab |
;;
|
|
|
1280ab |
+ mingw64)
|
|
|
1280ab |
+ basic_machine=x86_64-pc
|
|
|
1280ab |
+ os=-mingw64
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
mingw32)
|
|
|
1280ab |
basic_machine=i386-pc
|
|
|
1280ab |
os=-mingw32
|
|
|
1280ab |
@@ -1008,7 +1021,11 @@ case $basic_machine in
|
|
|
1280ab |
basic_machine=i586-unknown
|
|
|
1280ab |
os=-pw32
|
|
|
1280ab |
;;
|
|
|
1280ab |
- rdos)
|
|
|
1280ab |
+ rdos | rdos64)
|
|
|
1280ab |
+ basic_machine=x86_64-pc
|
|
|
1280ab |
+ os=-rdos
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
+ rdos32)
|
|
|
1280ab |
basic_machine=i386-pc
|
|
|
1280ab |
os=-rdos
|
|
|
1280ab |
;;
|
|
|
1280ab |
@@ -1335,21 +1352,21 @@ case $os in
|
|
|
1280ab |
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
|
|
1280ab |
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
|
|
1280ab |
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
|
|
1280ab |
- | -sym* | -kopensolaris* \
|
|
|
1280ab |
+ | -sym* | -kopensolaris* | -plan9* \
|
|
|
1280ab |
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
|
|
1280ab |
| -aos* | -aros* \
|
|
|
1280ab |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
|
1280ab |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
|
1280ab |
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
|
|
1280ab |
- | -openbsd* | -solidbsd* \
|
|
|
1280ab |
+ | -bitrig* | -openbsd* | -solidbsd* \
|
|
|
1280ab |
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
|
|
1280ab |
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
|
1280ab |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
|
|
1280ab |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
|
1280ab |
| -chorusos* | -chorusrdb* | -cegcc* \
|
|
|
1280ab |
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
|
1280ab |
- | -mingw32* | -linux-gnu* | -linux-android* \
|
|
|
1280ab |
- | -linux-newlib* | -linux-uclibc* \
|
|
|
1280ab |
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
|
|
1280ab |
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
|
|
1280ab |
| -uxpv* | -beos* | -mpeix* | -udk* \
|
|
|
1280ab |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
|
|
1280ab |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
|
|
1280ab |
@@ -1481,9 +1498,6 @@ case $os in
|
|
|
1280ab |
-aros*)
|
|
|
1280ab |
os=-aros
|
|
|
1280ab |
;;
|
|
|
1280ab |
- -kaos*)
|
|
|
1280ab |
- os=-kaos
|
|
|
1280ab |
- ;;
|
|
|
1280ab |
-zvmoe)
|
|
|
1280ab |
os=-zvmoe
|
|
|
1280ab |
;;
|
|
|
1280ab |
@@ -1532,6 +1546,9 @@ case $basic_machine in
|
|
|
1280ab |
c4x-* | tic4x-*)
|
|
|
1280ab |
os=-coff
|
|
|
1280ab |
;;
|
|
|
1280ab |
+ hexagon-*)
|
|
|
1280ab |
+ os=-elf
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
tic54x-*)
|
|
|
1280ab |
os=-coff
|
|
|
1280ab |
;;
|
|
|
1280ab |
@@ -1559,9 +1576,6 @@ case $basic_machine in
|
|
|
1280ab |
;;
|
|
|
1280ab |
m68000-sun)
|
|
|
1280ab |
os=-sunos3
|
|
|
1280ab |
- # This also exists in the configure program, but was not the
|
|
|
1280ab |
- # default.
|
|
|
1280ab |
- # os=-sunos4
|
|
|
1280ab |
;;
|
|
|
1280ab |
m68*-cisco)
|
|
|
1280ab |
os=-aout
|
|
|
1280ab |
@@ -1575,6 +1589,9 @@ case $basic_machine in
|
|
|
1280ab |
mips*-*)
|
|
|
1280ab |
os=-elf
|
|
|
1280ab |
;;
|
|
|
1280ab |
+ or1k-*)
|
|
|
1280ab |
+ os=-elf
|
|
|
1280ab |
+ ;;
|
|
|
1280ab |
or32-*)
|
|
|
1280ab |
os=-coff
|
|
|
1280ab |
;;
|
|
|
1280ab |
--
|
|
|
f9602d |
2.3.1
|
|
|
1280ab |
|