libusb 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +3 -3
- data/History.md +8 -0
- data/README.md +1 -0
- data/Rakefile +14 -14
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/AUTHORS +6 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/COPYING +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/ChangeLog +9 -2
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/INSTALL +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Makefile.am +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Makefile.in +188 -156
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/NEWS +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/PORTING +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/README +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/TODO +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/common.xcconfig +10 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/config.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/debug.xcconfig +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb.xcconfig +1 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb.xcodeproj/project.pbxproj +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb_debug.xcconfig +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb_release.xcconfig +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/release.xcconfig +1 -0
- data/ext/libusb-1.0.19/aclocal.m4 +1190 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/README +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/config.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/Android.mk +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/Application.mk +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/examples.mk +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/libusb.mk +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/tests.mk +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/compile +7 -3
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.guess +116 -78
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.h.in +0 -3
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.sub +66 -46
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/configure +265 -208
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/configure.ac +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/depcomp +269 -186
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/Makefile.am +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/Makefile.in +72 -35
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/doxygen.cfg.in +1 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/Makefile.am +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/Makefile.in +134 -70
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/dpfp.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/dpfp_threaded.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/ezusb.c +9 -5
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/ezusb.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/fxload.c +1 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt1.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/hotplugtest.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/listdevs.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/sam3u_benchmark.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/xusb.c +22 -2
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/install-sh +7 -7
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb-1.0.pc.in +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/Makefile.am +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/Makefile.in +133 -93
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/core.c +86 -15
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/descriptor.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/hotplug.c +6 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/hotplug.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/io.c +54 -17
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb-1.0.def +8 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb-1.0.rc +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb.h +42 -2
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusbi.h +10 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/darwin_usb.c +156 -53
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/darwin_usb.h +1 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_netlink.c +26 -2
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_udev.c +2 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_usbfs.c +93 -6
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_usbfs.h +12 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/netbsd_usb.c +6 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/openbsd_usb.c +6 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_posix.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_posix.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_windows.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_windows.h +12 -6
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_posix.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_posix.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_windows.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_windows.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/wince_usb.c +8 -1
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/wince_usb.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_common.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_usb.c +175 -42
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_usb.h +35 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/strerror.c +17 -2
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/sync.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/version.h +1 -1
- data/ext/libusb-1.0.19/libusb/version_nano.h +1 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/ltmain.sh +3 -3
- data/ext/{libusb-1.0.18/aclocal.m4 → libusb-1.0.19/m4/libtool.m4} +36 -1734
- data/ext/libusb-1.0.19/m4/ltoptions.m4 +384 -0
- data/ext/libusb-1.0.19/m4/ltsugar.m4 +123 -0
- data/ext/libusb-1.0.19/m4/ltversion.m4 +23 -0
- data/ext/libusb-1.0.19/m4/lt~obsolete.m4 +98 -0
- data/ext/libusb-1.0.19/missing +215 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/Makefile.am +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/Makefile.in +128 -70
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/libusb_testlib.h +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/stress.c +0 -0
- data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/testlib.c +0 -0
- data/lib/libusb.rb +3 -1
- data/lib/libusb/bos.rb +306 -0
- data/lib/libusb/call.rb +84 -0
- data/lib/libusb/constants.rb +4 -0
- data/lib/libusb/dev_handle.rb +77 -0
- data/lib/libusb/endpoint.rb +20 -0
- data/lib/libusb/ss_companion.rb +69 -0
- data/lib/libusb/transfer.rb +34 -0
- data/lib/libusb/version_gem.rb +1 -1
- data/libusb.gemspec +1 -0
- data/test/test_libusb_bos.rb +118 -0
- data/test/test_libusb_bulk_stream_transfer.rb +50 -0
- data/test/test_libusb_descriptors.rb +29 -0
- data/test/test_libusb_hotplug.rb +1 -1
- data/test/test_libusb_threads.rb +1 -1
- metadata +146 -124
- metadata.gz.sig +0 -0
- data/ext/libusb-1.0.18/libusb/version_nano.h +0 -1
- data/ext/libusb-1.0.18/missing +0 -331
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# Wrapper for compilers which do not understand '-c -o'.
|
|
3
3
|
|
|
4
|
-
scriptversion=2012-
|
|
4
|
+
scriptversion=2012-10-14.11; # UTC
|
|
5
5
|
|
|
6
|
-
# Copyright (C) 1999
|
|
7
|
-
# Software Foundation, Inc.
|
|
6
|
+
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
|
|
8
7
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
|
9
8
|
#
|
|
10
9
|
# This program is free software; you can redistribute it and/or modify
|
|
@@ -113,6 +112,11 @@ func_cl_dashl ()
|
|
|
113
112
|
lib=$dir/$lib.lib
|
|
114
113
|
break
|
|
115
114
|
fi
|
|
115
|
+
if test -f "$dir/lib$lib.a"; then
|
|
116
|
+
found=yes
|
|
117
|
+
lib=$dir/lib$lib.a
|
|
118
|
+
break
|
|
119
|
+
fi
|
|
116
120
|
done
|
|
117
121
|
IFS=$save_IFS
|
|
118
122
|
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# Attempt to guess a canonical system name.
|
|
3
|
-
# Copyright
|
|
4
|
-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
5
|
-
# 2011, 2012 Free Software Foundation, Inc.
|
|
3
|
+
# Copyright 1992-2013 Free Software Foundation, Inc.
|
|
6
4
|
|
|
7
|
-
timestamp='
|
|
5
|
+
timestamp='2013-11-29'
|
|
8
6
|
|
|
9
7
|
# This file is free software; you can redistribute it and/or modify it
|
|
10
8
|
# under the terms of the GNU General Public License as published by
|
|
11
|
-
# the Free Software Foundation; either version
|
|
9
|
+
# the Free Software Foundation; either version 3 of the License, or
|
|
12
10
|
# (at your option) any later version.
|
|
13
11
|
#
|
|
14
12
|
# This program is distributed in the hope that it will be useful, but
|
|
@@ -22,19 +20,17 @@ timestamp='2012-02-10'
|
|
|
22
20
|
# As a special exception to the GNU General Public License, if you
|
|
23
21
|
# distribute this file as part of a program that contains a
|
|
24
22
|
# configuration script generated by Autoconf, you may include it under
|
|
25
|
-
# the same distribution terms that you use for the rest of that
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
# Originally written by Per Bothner. Please send patches (context
|
|
29
|
-
# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
|
30
|
-
# entry.
|
|
23
|
+
# the same distribution terms that you use for the rest of that
|
|
24
|
+
# program. This Exception is an additional permission under section 7
|
|
25
|
+
# of the GNU General Public License, version 3 ("GPLv3").
|
|
31
26
|
#
|
|
32
|
-
#
|
|
33
|
-
# config.sub. If it succeeds, it prints the system name on stdout, and
|
|
34
|
-
# exits with 0. Otherwise, it exits with 1.
|
|
27
|
+
# Originally written by Per Bothner.
|
|
35
28
|
#
|
|
36
29
|
# You can get the latest version of this script from:
|
|
37
30
|
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
31
|
+
#
|
|
32
|
+
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
|
33
|
+
|
|
38
34
|
|
|
39
35
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
|
40
36
|
|
|
@@ -54,9 +50,7 @@ version="\
|
|
|
54
50
|
GNU config.guess ($timestamp)
|
|
55
51
|
|
|
56
52
|
Originally written by Per Bothner.
|
|
57
|
-
Copyright
|
|
58
|
-
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
|
59
|
-
Free Software Foundation, Inc.
|
|
53
|
+
Copyright 1992-2013 Free Software Foundation, Inc.
|
|
60
54
|
|
|
61
55
|
This is free software; see the source for copying conditions. There is NO
|
|
62
56
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
@@ -138,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
|
|
138
132
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
|
139
133
|
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|
140
134
|
|
|
135
|
+
case "${UNAME_SYSTEM}" in
|
|
136
|
+
Linux|GNU|GNU/*)
|
|
137
|
+
# If the system lacks a compiler, then just pick glibc.
|
|
138
|
+
# We could probably try harder.
|
|
139
|
+
LIBC=gnu
|
|
140
|
+
|
|
141
|
+
eval $set_cc_for_build
|
|
142
|
+
cat <<-EOF > $dummy.c
|
|
143
|
+
#include <features.h>
|
|
144
|
+
#if defined(__UCLIBC__)
|
|
145
|
+
LIBC=uclibc
|
|
146
|
+
#elif defined(__dietlibc__)
|
|
147
|
+
LIBC=dietlibc
|
|
148
|
+
#else
|
|
149
|
+
LIBC=gnu
|
|
150
|
+
#endif
|
|
151
|
+
EOF
|
|
152
|
+
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
153
|
+
;;
|
|
154
|
+
esac
|
|
155
|
+
|
|
141
156
|
# Note: order is significant - the case branches are not exclusive.
|
|
142
157
|
|
|
143
158
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
@@ -200,6 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
|
200
215
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
|
201
216
|
echo "${machine}-${os}${release}"
|
|
202
217
|
exit ;;
|
|
218
|
+
*:Bitrig:*:*)
|
|
219
|
+
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
|
220
|
+
echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
|
221
|
+
exit ;;
|
|
203
222
|
*:OpenBSD:*:*)
|
|
204
223
|
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
|
205
224
|
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
|
@@ -302,7 +321,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
|
302
321
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
|
303
322
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
|
304
323
|
exit ;;
|
|
305
|
-
arm
|
|
324
|
+
arm*:riscos:*:*|arm*:RISCOS:*:*)
|
|
306
325
|
echo arm-unknown-riscos
|
|
307
326
|
exit ;;
|
|
308
327
|
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
|
@@ -801,6 +820,9 @@ EOF
|
|
|
801
820
|
i*:CYGWIN*:*)
|
|
802
821
|
echo ${UNAME_MACHINE}-pc-cygwin
|
|
803
822
|
exit ;;
|
|
823
|
+
*:MINGW64*:*)
|
|
824
|
+
echo ${UNAME_MACHINE}-pc-mingw64
|
|
825
|
+
exit ;;
|
|
804
826
|
*:MINGW*:*)
|
|
805
827
|
echo ${UNAME_MACHINE}-pc-mingw32
|
|
806
828
|
exit ;;
|
|
@@ -852,21 +874,21 @@ EOF
|
|
|
852
874
|
exit ;;
|
|
853
875
|
*:GNU:*:*)
|
|
854
876
|
# the GNU system
|
|
855
|
-
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown
|
|
877
|
+
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
|
856
878
|
exit ;;
|
|
857
879
|
*:GNU/*:*:*)
|
|
858
880
|
# other systems with GNU libc and userland
|
|
859
|
-
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'
|
|
881
|
+
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
|
|
860
882
|
exit ;;
|
|
861
883
|
i*86:Minix:*:*)
|
|
862
884
|
echo ${UNAME_MACHINE}-pc-minix
|
|
863
885
|
exit ;;
|
|
864
886
|
aarch64:Linux:*:*)
|
|
865
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
887
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
866
888
|
exit ;;
|
|
867
889
|
aarch64_be:Linux:*:*)
|
|
868
890
|
UNAME_MACHINE=aarch64_be
|
|
869
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
891
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
870
892
|
exit ;;
|
|
871
893
|
alpha:Linux:*:*)
|
|
872
894
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
|
@@ -879,59 +901,54 @@ EOF
|
|
|
879
901
|
EV68*) UNAME_MACHINE=alphaev68 ;;
|
|
880
902
|
esac
|
|
881
903
|
objdump --private-headers /bin/sh | grep -q ld.so.1
|
|
882
|
-
if test "$?" = 0 ; then LIBC="
|
|
883
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
904
|
+
if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
|
905
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
906
|
+
exit ;;
|
|
907
|
+
arc:Linux:*:* | arceb:Linux:*:*)
|
|
908
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
884
909
|
exit ;;
|
|
885
910
|
arm*:Linux:*:*)
|
|
886
911
|
eval $set_cc_for_build
|
|
887
912
|
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
888
913
|
| grep -q __ARM_EABI__
|
|
889
914
|
then
|
|
890
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
915
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
891
916
|
else
|
|
892
917
|
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
893
918
|
| grep -q __ARM_PCS_VFP
|
|
894
919
|
then
|
|
895
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
920
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
|
|
896
921
|
else
|
|
897
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
922
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
|
|
898
923
|
fi
|
|
899
924
|
fi
|
|
900
925
|
exit ;;
|
|
901
926
|
avr32*:Linux:*:*)
|
|
902
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
927
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
903
928
|
exit ;;
|
|
904
929
|
cris:Linux:*:*)
|
|
905
|
-
echo ${UNAME_MACHINE}-axis-linux
|
|
930
|
+
echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
|
906
931
|
exit ;;
|
|
907
932
|
crisv32:Linux:*:*)
|
|
908
|
-
echo ${UNAME_MACHINE}-axis-linux
|
|
933
|
+
echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
|
909
934
|
exit ;;
|
|
910
935
|
frv:Linux:*:*)
|
|
911
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
936
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
912
937
|
exit ;;
|
|
913
938
|
hexagon:Linux:*:*)
|
|
914
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
939
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
915
940
|
exit ;;
|
|
916
941
|
i*86:Linux:*:*)
|
|
917
|
-
LIBC
|
|
918
|
-
eval $set_cc_for_build
|
|
919
|
-
sed 's/^ //' << EOF >$dummy.c
|
|
920
|
-
#ifdef __dietlibc__
|
|
921
|
-
LIBC=dietlibc
|
|
922
|
-
#endif
|
|
923
|
-
EOF
|
|
924
|
-
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
925
|
-
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
|
942
|
+
echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
|
926
943
|
exit ;;
|
|
927
944
|
ia64:Linux:*:*)
|
|
928
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
945
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
929
946
|
exit ;;
|
|
930
947
|
m32r*:Linux:*:*)
|
|
931
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
948
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
932
949
|
exit ;;
|
|
933
950
|
m68*:Linux:*:*)
|
|
934
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
951
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
935
952
|
exit ;;
|
|
936
953
|
mips:Linux:*:* | mips64:Linux:*:*)
|
|
937
954
|
eval $set_cc_for_build
|
|
@@ -950,54 +967,63 @@ EOF
|
|
|
950
967
|
#endif
|
|
951
968
|
EOF
|
|
952
969
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
|
953
|
-
test x"${CPU}" != x && { echo "${CPU}-unknown-linux
|
|
970
|
+
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
|
954
971
|
;;
|
|
972
|
+
or1k:Linux:*:*)
|
|
973
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
974
|
+
exit ;;
|
|
955
975
|
or32:Linux:*:*)
|
|
956
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
976
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
957
977
|
exit ;;
|
|
958
978
|
padre:Linux:*:*)
|
|
959
|
-
echo sparc-unknown-linux
|
|
979
|
+
echo sparc-unknown-linux-${LIBC}
|
|
960
980
|
exit ;;
|
|
961
981
|
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
|
962
|
-
echo hppa64-unknown-linux
|
|
982
|
+
echo hppa64-unknown-linux-${LIBC}
|
|
963
983
|
exit ;;
|
|
964
984
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
|
965
985
|
# Look for CPU level
|
|
966
986
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
|
967
|
-
PA7*) echo hppa1.1-unknown-linux
|
|
968
|
-
PA8*) echo hppa2.0-unknown-linux
|
|
969
|
-
*) echo hppa-unknown-linux
|
|
987
|
+
PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
|
|
988
|
+
PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
|
|
989
|
+
*) echo hppa-unknown-linux-${LIBC} ;;
|
|
970
990
|
esac
|
|
971
991
|
exit ;;
|
|
972
992
|
ppc64:Linux:*:*)
|
|
973
|
-
echo powerpc64-unknown-linux
|
|
993
|
+
echo powerpc64-unknown-linux-${LIBC}
|
|
974
994
|
exit ;;
|
|
975
995
|
ppc:Linux:*:*)
|
|
976
|
-
echo powerpc-unknown-linux
|
|
996
|
+
echo powerpc-unknown-linux-${LIBC}
|
|
997
|
+
exit ;;
|
|
998
|
+
ppc64le:Linux:*:*)
|
|
999
|
+
echo powerpc64le-unknown-linux-${LIBC}
|
|
1000
|
+
exit ;;
|
|
1001
|
+
ppcle:Linux:*:*)
|
|
1002
|
+
echo powerpcle-unknown-linux-${LIBC}
|
|
977
1003
|
exit ;;
|
|
978
1004
|
s390:Linux:*:* | s390x:Linux:*:*)
|
|
979
|
-
echo ${UNAME_MACHINE}-ibm-linux
|
|
1005
|
+
echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
|
|
980
1006
|
exit ;;
|
|
981
1007
|
sh64*:Linux:*:*)
|
|
982
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
1008
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
983
1009
|
exit ;;
|
|
984
1010
|
sh*:Linux:*:*)
|
|
985
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
1011
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
986
1012
|
exit ;;
|
|
987
1013
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
|
988
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
1014
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
989
1015
|
exit ;;
|
|
990
1016
|
tile*:Linux:*:*)
|
|
991
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
1017
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
992
1018
|
exit ;;
|
|
993
1019
|
vax:Linux:*:*)
|
|
994
|
-
echo ${UNAME_MACHINE}-dec-linux
|
|
1020
|
+
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
|
995
1021
|
exit ;;
|
|
996
1022
|
x86_64:Linux:*:*)
|
|
997
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
1023
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
998
1024
|
exit ;;
|
|
999
1025
|
xtensa*:Linux:*:*)
|
|
1000
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
|
1026
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
1001
1027
|
exit ;;
|
|
1002
1028
|
i*86:DYNIX/ptx:4*:*)
|
|
1003
1029
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
|
@@ -1201,6 +1227,9 @@ EOF
|
|
|
1201
1227
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
|
1202
1228
|
echo i586-pc-haiku
|
|
1203
1229
|
exit ;;
|
|
1230
|
+
x86_64:Haiku:*:*)
|
|
1231
|
+
echo x86_64-unknown-haiku
|
|
1232
|
+
exit ;;
|
|
1204
1233
|
SX-4:SUPER-UX:*:*)
|
|
1205
1234
|
echo sx4-nec-superux${UNAME_RELEASE}
|
|
1206
1235
|
exit ;;
|
|
@@ -1227,19 +1256,31 @@ EOF
|
|
|
1227
1256
|
exit ;;
|
|
1228
1257
|
*:Darwin:*:*)
|
|
1229
1258
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1259
|
+
eval $set_cc_for_build
|
|
1260
|
+
if test "$UNAME_PROCESSOR" = unknown ; then
|
|
1261
|
+
UNAME_PROCESSOR=powerpc
|
|
1262
|
+
fi
|
|
1263
|
+
if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
|
|
1264
|
+
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
1265
|
+
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
1266
|
+
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
1267
|
+
grep IS_64BIT_ARCH >/dev/null
|
|
1268
|
+
then
|
|
1269
|
+
case $UNAME_PROCESSOR in
|
|
1270
|
+
i386) UNAME_PROCESSOR=x86_64 ;;
|
|
1271
|
+
powerpc) UNAME_PROCESSOR=powerpc64 ;;
|
|
1272
|
+
esac
|
|
1273
|
+
fi
|
|
1274
|
+
fi
|
|
1275
|
+
elif test "$UNAME_PROCESSOR" = i386 ; then
|
|
1276
|
+
# Avoid executing cc on OS X 10.9, as it ships with a stub
|
|
1277
|
+
# that puts up a graphical alert prompting to install
|
|
1278
|
+
# developer tools. Any system running Mac OS X 10.7 or
|
|
1279
|
+
# later (Darwin 11 and later) is required to have a 64-bit
|
|
1280
|
+
# processor. This is not true of the ARM version of Darwin
|
|
1281
|
+
# that Apple uses in portable devices.
|
|
1282
|
+
UNAME_PROCESSOR=x86_64
|
|
1283
|
+
fi
|
|
1243
1284
|
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
|
1244
1285
|
exit ;;
|
|
1245
1286
|
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
|
@@ -1256,7 +1297,7 @@ EOF
|
|
|
1256
1297
|
NEO-?:NONSTOP_KERNEL:*:*)
|
|
1257
1298
|
echo neo-tandem-nsk${UNAME_RELEASE}
|
|
1258
1299
|
exit ;;
|
|
1259
|
-
NSE
|
|
1300
|
+
NSE-*:NONSTOP_KERNEL:*:*)
|
|
1260
1301
|
echo nse-tandem-nsk${UNAME_RELEASE}
|
|
1261
1302
|
exit ;;
|
|
1262
1303
|
NSR-?:NONSTOP_KERNEL:*:*)
|
|
@@ -1330,9 +1371,6 @@ EOF
|
|
|
1330
1371
|
exit ;;
|
|
1331
1372
|
esac
|
|
1332
1373
|
|
|
1333
|
-
#echo '(No uname command or uname output not recognized.)' 1>&2
|
|
1334
|
-
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
|
1335
|
-
|
|
1336
1374
|
eval $set_cc_for_build
|
|
1337
1375
|
cat >$dummy.c <<EOF
|
|
1338
1376
|
#ifdef _SEQUENT_
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# Configuration validation subroutine script.
|
|
3
|
-
# Copyright
|
|
4
|
-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
5
|
-
# 2011, 2012 Free Software Foundation, Inc.
|
|
3
|
+
# Copyright 1992-2013 Free Software Foundation, Inc.
|
|
6
4
|
|
|
7
|
-
timestamp='
|
|
5
|
+
timestamp='2013-10-01'
|
|
8
6
|
|
|
9
|
-
# This file is
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
# This file is free software; you can redistribute it and/or modify
|
|
14
|
-
# it under the terms of the GNU General Public License as published by
|
|
15
|
-
# the Free Software Foundation; either version 2 of the License, or
|
|
7
|
+
# This file is free software; you can redistribute it and/or modify it
|
|
8
|
+
# under the terms of the GNU General Public License as published by
|
|
9
|
+
# the Free Software Foundation; either version 3 of the License, or
|
|
16
10
|
# (at your option) any later version.
|
|
17
11
|
#
|
|
18
|
-
# This program is distributed in the hope that it will be useful,
|
|
19
|
-
#
|
|
20
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
21
|
-
#
|
|
12
|
+
# This program is distributed in the hope that it will be useful, but
|
|
13
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
15
|
+
# General Public License for more details.
|
|
22
16
|
#
|
|
23
17
|
# You should have received a copy of the GNU General Public License
|
|
24
18
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
@@ -26,11 +20,12 @@ timestamp='2012-02-10'
|
|
|
26
20
|
# As a special exception to the GNU General Public License, if you
|
|
27
21
|
# distribute this file as part of a program that contains a
|
|
28
22
|
# configuration script generated by Autoconf, you may include it under
|
|
29
|
-
# the same distribution terms that you use for the rest of that
|
|
23
|
+
# the same distribution terms that you use for the rest of that
|
|
24
|
+
# program. This Exception is an additional permission under section 7
|
|
25
|
+
# of the GNU General Public License, version 3 ("GPLv3").
|
|
30
26
|
|
|
31
27
|
|
|
32
|
-
# Please send patches to
|
|
33
|
-
# diff and a properly formatted GNU ChangeLog entry.
|
|
28
|
+
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
|
34
29
|
#
|
|
35
30
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
|
36
31
|
# Supply the specified configuration type as an argument.
|
|
@@ -73,9 +68,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
|
73
68
|
version="\
|
|
74
69
|
GNU config.sub ($timestamp)
|
|
75
70
|
|
|
76
|
-
Copyright
|
|
77
|
-
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
|
78
|
-
Free Software Foundation, Inc.
|
|
71
|
+
Copyright 1992-2013 Free Software Foundation, Inc.
|
|
79
72
|
|
|
80
73
|
This is free software; see the source for copying conditions. There is NO
|
|
81
74
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
@@ -123,7 +116,7 @@ esac
|
|
|
123
116
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
124
117
|
case $maybe_os in
|
|
125
118
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
|
126
|
-
linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
|
119
|
+
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
|
127
120
|
knetbsd*-gnu* | netbsd*-gnu* | \
|
|
128
121
|
kopensolaris*-gnu* | \
|
|
129
122
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
|
@@ -156,7 +149,7 @@ case $os in
|
|
|
156
149
|
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
|
157
150
|
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
|
158
151
|
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
|
159
|
-
-apple | -axis | -knuth | -cray | -microblaze)
|
|
152
|
+
-apple | -axis | -knuth | -cray | -microblaze*)
|
|
160
153
|
os=
|
|
161
154
|
basic_machine=$1
|
|
162
155
|
;;
|
|
@@ -225,6 +218,12 @@ case $os in
|
|
|
225
218
|
-isc*)
|
|
226
219
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
227
220
|
;;
|
|
221
|
+
-lynx*178)
|
|
222
|
+
os=-lynxos178
|
|
223
|
+
;;
|
|
224
|
+
-lynx*5)
|
|
225
|
+
os=-lynxos5
|
|
226
|
+
;;
|
|
228
227
|
-lynx*)
|
|
229
228
|
os=-lynxos
|
|
230
229
|
;;
|
|
@@ -253,10 +252,12 @@ case $basic_machine in
|
|
|
253
252
|
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
|
254
253
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
|
255
254
|
| am33_2.0 \
|
|
256
|
-
| arc |
|
|
257
|
-
|
|
255
|
+
| arc | arceb \
|
|
256
|
+
| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
|
257
|
+
| avr | avr32 \
|
|
258
|
+
| be32 | be64 \
|
|
258
259
|
| bfin \
|
|
259
|
-
| c4x | clipper \
|
|
260
|
+
| c4x | c8051 | clipper \
|
|
260
261
|
| d10v | d30v | dlx | dsp16xx \
|
|
261
262
|
| epiphany \
|
|
262
263
|
| fido | fr30 | frv \
|
|
@@ -264,10 +265,11 @@ case $basic_machine in
|
|
|
264
265
|
| hexagon \
|
|
265
266
|
| i370 | i860 | i960 | ia64 \
|
|
266
267
|
| ip2k | iq2000 \
|
|
268
|
+
| k1om \
|
|
267
269
|
| le32 | le64 \
|
|
268
270
|
| lm32 \
|
|
269
271
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
|
270
|
-
| maxq | mb | microblaze | mcore | mep | metag \
|
|
272
|
+
| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
|
|
271
273
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
|
272
274
|
| mips16 \
|
|
273
275
|
| mips64 | mips64el \
|
|
@@ -285,16 +287,17 @@ case $basic_machine in
|
|
|
285
287
|
| mipsisa64r2 | mipsisa64r2el \
|
|
286
288
|
| mipsisa64sb1 | mipsisa64sb1el \
|
|
287
289
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
|
290
|
+
| mipsr5900 | mipsr5900el \
|
|
288
291
|
| mipstx39 | mipstx39el \
|
|
289
292
|
| mn10200 | mn10300 \
|
|
290
293
|
| moxie \
|
|
291
294
|
| mt \
|
|
292
295
|
| msp430 \
|
|
293
296
|
| nds32 | nds32le | nds32be \
|
|
294
|
-
| nios | nios2 \
|
|
297
|
+
| nios | nios2 | nios2eb | nios2el \
|
|
295
298
|
| ns16k | ns32k \
|
|
296
299
|
| open8 \
|
|
297
|
-
| or32 \
|
|
300
|
+
| or1k | or32 \
|
|
298
301
|
| pdp10 | pdp11 | pj | pjl \
|
|
299
302
|
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
|
300
303
|
| pyramid \
|
|
@@ -322,7 +325,7 @@ case $basic_machine in
|
|
|
322
325
|
c6x)
|
|
323
326
|
basic_machine=tic6x-unknown
|
|
324
327
|
;;
|
|
325
|
-
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
|
328
|
+
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
|
|
326
329
|
basic_machine=$basic_machine-unknown
|
|
327
330
|
os=-none
|
|
328
331
|
;;
|
|
@@ -364,13 +367,13 @@ case $basic_machine in
|
|
|
364
367
|
| aarch64-* | aarch64_be-* \
|
|
365
368
|
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
|
366
369
|
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
|
367
|
-
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
|
370
|
+
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
|
|
368
371
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
|
369
372
|
| avr-* | avr32-* \
|
|
370
373
|
| be32-* | be64-* \
|
|
371
374
|
| bfin-* | bs2000-* \
|
|
372
375
|
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
|
373
|
-
| clipper-* | craynv-* | cydra-* \
|
|
376
|
+
| c8051-* | clipper-* | craynv-* | cydra-* \
|
|
374
377
|
| d10v-* | d30v-* | dlx-* \
|
|
375
378
|
| elxsi-* \
|
|
376
379
|
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
|
@@ -379,11 +382,13 @@ case $basic_machine in
|
|
|
379
382
|
| hexagon-* \
|
|
380
383
|
| i*86-* | i860-* | i960-* | ia64-* \
|
|
381
384
|
| ip2k-* | iq2000-* \
|
|
385
|
+
| k1om-* \
|
|
382
386
|
| le32-* | le64-* \
|
|
383
387
|
| lm32-* \
|
|
384
388
|
| m32c-* | m32r-* | m32rle-* \
|
|
385
389
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
|
386
|
-
| m88110-* | m88k-* | maxq-* | mcore-* | metag-*
|
|
390
|
+
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
|
391
|
+
| microblaze-* | microblazeel-* \
|
|
387
392
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
|
388
393
|
| mips16-* \
|
|
389
394
|
| mips64-* | mips64el-* \
|
|
@@ -401,12 +406,13 @@ case $basic_machine in
|
|
|
401
406
|
| mipsisa64r2-* | mipsisa64r2el-* \
|
|
402
407
|
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
|
403
408
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
|
409
|
+
| mipsr5900-* | mipsr5900el-* \
|
|
404
410
|
| mipstx39-* | mipstx39el-* \
|
|
405
411
|
| mmix-* \
|
|
406
412
|
| mt-* \
|
|
407
413
|
| msp430-* \
|
|
408
414
|
| nds32-* | nds32le-* | nds32be-* \
|
|
409
|
-
| nios-* | nios2-* \
|
|
415
|
+
| nios-* | nios2-* | nios2eb-* | nios2el-* \
|
|
410
416
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
|
411
417
|
| open8-* \
|
|
412
418
|
| orion-* \
|
|
@@ -782,11 +788,15 @@ case $basic_machine in
|
|
|
782
788
|
basic_machine=ns32k-utek
|
|
783
789
|
os=-sysv
|
|
784
790
|
;;
|
|
785
|
-
microblaze)
|
|
791
|
+
microblaze*)
|
|
786
792
|
basic_machine=microblaze-xilinx
|
|
787
793
|
;;
|
|
794
|
+
mingw64)
|
|
795
|
+
basic_machine=x86_64-pc
|
|
796
|
+
os=-mingw64
|
|
797
|
+
;;
|
|
788
798
|
mingw32)
|
|
789
|
-
basic_machine=
|
|
799
|
+
basic_machine=i686-pc
|
|
790
800
|
os=-mingw32
|
|
791
801
|
;;
|
|
792
802
|
mingw32ce)
|
|
@@ -822,7 +832,7 @@ case $basic_machine in
|
|
|
822
832
|
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
|
823
833
|
;;
|
|
824
834
|
msys)
|
|
825
|
-
basic_machine=
|
|
835
|
+
basic_machine=i686-pc
|
|
826
836
|
os=-msys
|
|
827
837
|
;;
|
|
828
838
|
mvs)
|
|
@@ -998,7 +1008,7 @@ case $basic_machine in
|
|
|
998
1008
|
;;
|
|
999
1009
|
ppc64) basic_machine=powerpc64-unknown
|
|
1000
1010
|
;;
|
|
1001
|
-
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1011
|
+
ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
1002
1012
|
;;
|
|
1003
1013
|
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
|
|
1004
1014
|
basic_machine=powerpc64le-unknown
|
|
@@ -1013,7 +1023,11 @@ case $basic_machine in
|
|
|
1013
1023
|
basic_machine=i586-unknown
|
|
1014
1024
|
os=-pw32
|
|
1015
1025
|
;;
|
|
1016
|
-
rdos)
|
|
1026
|
+
rdos | rdos64)
|
|
1027
|
+
basic_machine=x86_64-pc
|
|
1028
|
+
os=-rdos
|
|
1029
|
+
;;
|
|
1030
|
+
rdos32)
|
|
1017
1031
|
basic_machine=i386-pc
|
|
1018
1032
|
os=-rdos
|
|
1019
1033
|
;;
|
|
@@ -1340,21 +1354,21 @@ case $os in
|
|
|
1340
1354
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
|
1341
1355
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
|
1342
1356
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
|
1343
|
-
| -sym* | -kopensolaris* \
|
|
1357
|
+
| -sym* | -kopensolaris* | -plan9* \
|
|
1344
1358
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
|
1345
1359
|
| -aos* | -aros* \
|
|
1346
1360
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
1347
1361
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
1348
1362
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
|
1349
|
-
| -openbsd* | -solidbsd* \
|
|
1363
|
+
| -bitrig* | -openbsd* | -solidbsd* \
|
|
1350
1364
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
|
1351
1365
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
1352
1366
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
|
1353
1367
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
1354
1368
|
| -chorusos* | -chorusrdb* | -cegcc* \
|
|
1355
1369
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
1356
|
-
| -mingw32* | -linux-gnu* | -linux-android* \
|
|
1357
|
-
| -linux-newlib* | -linux-uclibc* \
|
|
1370
|
+
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
|
1371
|
+
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
|
1358
1372
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
|
1359
1373
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
|
1360
1374
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
|
@@ -1486,9 +1500,6 @@ case $os in
|
|
|
1486
1500
|
-aros*)
|
|
1487
1501
|
os=-aros
|
|
1488
1502
|
;;
|
|
1489
|
-
-kaos*)
|
|
1490
|
-
os=-kaos
|
|
1491
|
-
;;
|
|
1492
1503
|
-zvmoe)
|
|
1493
1504
|
os=-zvmoe
|
|
1494
1505
|
;;
|
|
@@ -1537,6 +1548,12 @@ case $basic_machine in
|
|
|
1537
1548
|
c4x-* | tic4x-*)
|
|
1538
1549
|
os=-coff
|
|
1539
1550
|
;;
|
|
1551
|
+
c8051-*)
|
|
1552
|
+
os=-elf
|
|
1553
|
+
;;
|
|
1554
|
+
hexagon-*)
|
|
1555
|
+
os=-elf
|
|
1556
|
+
;;
|
|
1540
1557
|
tic54x-*)
|
|
1541
1558
|
os=-coff
|
|
1542
1559
|
;;
|
|
@@ -1577,6 +1594,9 @@ case $basic_machine in
|
|
|
1577
1594
|
mips*-*)
|
|
1578
1595
|
os=-elf
|
|
1579
1596
|
;;
|
|
1597
|
+
or1k-*)
|
|
1598
|
+
os=-elf
|
|
1599
|
+
;;
|
|
1580
1600
|
or32-*)
|
|
1581
1601
|
os=-coff
|
|
1582
1602
|
;;
|