1 |
pacho 13/07/31 20:29:36 |
2 |
|
3 |
Added: mail-notification-jb-gcc-format.patch |
4 |
mail-notification-aarch64.patch |
5 |
Log: |
6 |
Revision bump: uses updated snapshot, also applies fedora patches, drops -Werror completely (#450468 by flameeyes and #479108 by Juergen Rose), rekeyword again on sparc as it was dropped until evo-3 was keyworded (that is already the case, bug #437372). Drop old |
7 |
|
8 |
(Portage version: 2.1.13.2/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: mail-notification-jb-gcc-format.patch |
17 |
=================================================================== |
18 |
Index: epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c |
19 |
=================================================================== |
20 |
--- epienbroek-mail-notification-eab5c13.orig/jbsrc/lib/src/core/jb-util.c |
21 |
+++ epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c |
22 |
@@ -208,6 +208,10 @@ jb_message_result_string_format (const c |
23 |
g_free(message); |
24 |
} |
25 |
|
26 |
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) |
27 |
+static void print_warning_or_error (const char *prefix, const char *format, va_list args) __attribute__ ((format(printf, 1, 0))); |
28 |
+#endif |
29 |
+ |
30 |
static void |
31 |
print_warning_or_error (const char *prefix, const char *format, va_list args) |
32 |
{ |
33 |
|
34 |
|
35 |
|
36 |
1.1 mail-client/mail-notification/files/mail-notification-aarch64.patch |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/files/mail-notification-aarch64.patch?rev=1.1&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/files/mail-notification-aarch64.patch?rev=1.1&content-type=text/plain |
40 |
|
41 |
Index: mail-notification-aarch64.patch |
42 |
=================================================================== |
43 |
diff -urN epienbroek-mail-notification-eab5c13/jbsrc/tools/config.guess epienbroek-mail-notification-eab5c13-aarch64/jbsrc/tools/config.guess |
44 |
--- epienbroek-mail-notification-eab5c13/jbsrc/tools/config.guess 2012-11-21 12:57:35.000000000 -0600 |
45 |
+++ epienbroek-mail-notification-eab5c13-aarch64/jbsrc/tools/config.guess 2013-03-08 02:14:30.621645440 -0600 |
46 |
@@ -1,10 +1,10 @@ |
47 |
#! /bin/sh |
48 |
# Attempt to guess a canonical system name. |
49 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
50 |
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
51 |
-# Inc. |
52 |
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
53 |
+# 2011, 2012 Free Software Foundation, Inc. |
54 |
|
55 |
-timestamp='2007-07-22' |
56 |
+timestamp='2012-09-25' |
57 |
|
58 |
# This file is free software; you can redistribute it and/or modify it |
59 |
# under the terms of the GNU General Public License as published by |
60 |
@@ -17,9 +17,7 @@ |
61 |
# General Public License for more details. |
62 |
# |
63 |
# You should have received a copy of the GNU General Public License |
64 |
-# along with this program; if not, write to the Free Software |
65 |
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
66 |
-# 02110-1301, USA. |
67 |
+# along with this program; if not, see <http://www.gnu.org/licenses/>. |
68 |
# |
69 |
# As a special exception to the GNU General Public License, if you |
70 |
# distribute this file as part of a program that contains a |
71 |
@@ -27,16 +25,16 @@ |
72 |
# the same distribution terms that you use for the rest of that program. |
73 |
|
74 |
|
75 |
-# Originally written by Per Bothner <per@×××××××.com>. |
76 |
-# Please send patches to <config-patches@×××.org>. Submit a context |
77 |
-# diff and a properly formatted ChangeLog entry. |
78 |
+# Originally written by Per Bothner. Please send patches (context |
79 |
+# diff format) to <config-patches@×××.org> and include a ChangeLog |
80 |
+# entry. |
81 |
# |
82 |
# This script attempts to guess a canonical system name similar to |
83 |
# config.sub. If it succeeds, it prints the system name on stdout, and |
84 |
# exits with 0. Otherwise, it exits with 1. |
85 |
# |
86 |
-# The plan is that this can be called by configure scripts if you |
87 |
-# don't specify an explicit build system type. |
88 |
+# You can get the latest version of this script from: |
89 |
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
90 |
|
91 |
me=`echo "$0" | sed -e 's,.*/,,'` |
92 |
|
93 |
@@ -56,7 +54,8 @@ |
94 |
GNU config.guess ($timestamp) |
95 |
|
96 |
Originally written by Per Bothner. |
97 |
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
98 |
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
99 |
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
100 |
Free Software Foundation, Inc. |
101 |
|
102 |
This is free software; see the source for copying conditions. There is NO |
103 |
@@ -144,7 +143,7 @@ |
104 |
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
105 |
*:NetBSD:*:*) |
106 |
# NetBSD (nbsd) targets should (where applicable) match one or |
107 |
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, |
108 |
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, |
109 |
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
110 |
# switched to ELF, *-*-netbsd* would select the old |
111 |
# object file format. This provides both forward |
112 |
@@ -170,7 +169,7 @@ |
113 |
arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
114 |
eval $set_cc_for_build |
115 |
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
116 |
- | grep __ELF__ >/dev/null |
117 |
+ | grep -q __ELF__ |
118 |
then |
119 |
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). |
120 |
# Return netbsd for either. FIX? |
121 |
@@ -180,7 +179,7 @@ |
122 |
fi |
123 |
;; |
124 |
*) |
125 |
- os=netbsd |
126 |
+ os=netbsd |
127 |
;; |
128 |
esac |
129 |
# The OS release |
130 |
@@ -201,6 +200,10 @@ |
131 |
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
132 |
echo "${machine}-${os}${release}" |
133 |
exit ;; |
134 |
+ *:Bitrig:*:*) |
135 |
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` |
136 |
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} |
137 |
+ exit ;; |
138 |
*:OpenBSD:*:*) |
139 |
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
140 |
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
141 |
@@ -223,7 +226,7 @@ |
142 |
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
143 |
;; |
144 |
*5.*) |
145 |
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
146 |
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
147 |
;; |
148 |
esac |
149 |
# According to Compaq, /usr/sbin/psrinfo has been available on |
150 |
@@ -269,7 +272,10 @@ |
151 |
# A Xn.n version is an unreleased experimental baselevel. |
152 |
# 1.2 uses "1.2" for uname -r. |
153 |
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
154 |
- exit ;; |
155 |
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
156 |
+ exitcode=$? |
157 |
+ trap '' 0 |
158 |
+ exit $exitcode ;; |
159 |
Alpha\ *:Windows_NT*:*) |
160 |
# How do we know it's Interix rather than the generic POSIX subsystem? |
161 |
# Should we change UNAME_MACHINE based on the output of uname instead |
162 |
@@ -295,12 +301,12 @@ |
163 |
echo s390-ibm-zvmoe |
164 |
exit ;; |
165 |
*:OS400:*:*) |
166 |
- echo powerpc-ibm-os400 |
167 |
+ echo powerpc-ibm-os400 |
168 |
exit ;; |
169 |
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
170 |
echo arm-acorn-riscix${UNAME_RELEASE} |
171 |
exit ;; |
172 |
- arm:riscos:*:*|arm:RISCOS:*:*) |
173 |
+ arm*:riscos:*:*|arm*:RISCOS:*:*) |
174 |
echo arm-unknown-riscos |
175 |
exit ;; |
176 |
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
177 |
@@ -324,14 +330,33 @@ |
178 |
case `/usr/bin/uname -p` in |
179 |
sparc) echo sparc-icl-nx7; exit ;; |
180 |
esac ;; |
181 |
+ s390x:SunOS:*:*) |
182 |
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
183 |
+ exit ;; |
184 |
sun4H:SunOS:5.*:*) |
185 |
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
186 |
exit ;; |
187 |
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
188 |
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
189 |
exit ;; |
190 |
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
191 |
+ echo i386-pc-auroraux${UNAME_RELEASE} |
192 |
+ exit ;; |
193 |
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
194 |
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
195 |
+ eval $set_cc_for_build |
196 |
+ SUN_ARCH="i386" |
197 |
+ # If there is a compiler, see if it is configured for 64-bit objects. |
198 |
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
199 |
+ # This test works for both compilers. |
200 |
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
201 |
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ |
202 |
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
203 |
+ grep IS_64BIT_ARCH >/dev/null |
204 |
+ then |
205 |
+ SUN_ARCH="x86_64" |
206 |
+ fi |
207 |
+ fi |
208 |
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
209 |
exit ;; |
210 |
sun4*:SunOS:6*:*) |
211 |
# According to config.sub, this is the proper way to canonicalize |
212 |
@@ -375,23 +400,23 @@ |
213 |
# MiNT. But MiNT is downward compatible to TOS, so this should |
214 |
# be no problem. |
215 |
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
216 |
- echo m68k-atari-mint${UNAME_RELEASE} |
217 |
+ echo m68k-atari-mint${UNAME_RELEASE} |
218 |
exit ;; |
219 |
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
220 |
echo m68k-atari-mint${UNAME_RELEASE} |
221 |
- exit ;; |
222 |
+ exit ;; |
223 |
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
224 |
- echo m68k-atari-mint${UNAME_RELEASE} |
225 |
+ echo m68k-atari-mint${UNAME_RELEASE} |
226 |
exit ;; |
227 |
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
228 |
- echo m68k-milan-mint${UNAME_RELEASE} |
229 |
- exit ;; |
230 |
+ echo m68k-milan-mint${UNAME_RELEASE} |
231 |
+ exit ;; |
232 |
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
233 |
- echo m68k-hades-mint${UNAME_RELEASE} |
234 |
- exit ;; |
235 |
+ echo m68k-hades-mint${UNAME_RELEASE} |
236 |
+ exit ;; |
237 |
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
238 |
- echo m68k-unknown-mint${UNAME_RELEASE} |
239 |
- exit ;; |
240 |
+ echo m68k-unknown-mint${UNAME_RELEASE} |
241 |
+ exit ;; |
242 |
m68k:machten:*:*) |
243 |
echo m68k-apple-machten${UNAME_RELEASE} |
244 |
exit ;; |
245 |
@@ -461,8 +486,8 @@ |
246 |
echo m88k-motorola-sysv3 |
247 |
exit ;; |
248 |
AViiON:dgux:*:*) |
249 |
- # DG/UX returns AViiON for all architectures |
250 |
- UNAME_PROCESSOR=`/usr/bin/uname -p` |
251 |
+ # DG/UX returns AViiON for all architectures |
252 |
+ UNAME_PROCESSOR=`/usr/bin/uname -p` |
253 |
if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
254 |
then |
255 |
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
256 |
@@ -475,7 +500,7 @@ |
257 |
else |
258 |
echo i586-dg-dgux${UNAME_RELEASE} |
259 |
fi |
260 |
- exit ;; |
261 |
+ exit ;; |
262 |
M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
263 |
echo m88k-dolphin-sysv3 |
264 |
exit ;; |
265 |
@@ -532,7 +557,7 @@ |
266 |
echo rs6000-ibm-aix3.2 |
267 |
fi |
268 |
exit ;; |
269 |
- *:AIX:*:[45]) |
270 |
+ *:AIX:*:[4567]) |
271 |
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
272 |
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
273 |
IBM_ARCH=rs6000 |
274 |
@@ -575,52 +600,52 @@ |
275 |
9000/[678][0-9][0-9]) |
276 |
if [ -x /usr/bin/getconf ]; then |
277 |
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
278 |
- sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
279 |
- case "${sc_cpu_version}" in |
280 |
- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
281 |
- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
282 |
- 532) # CPU_PA_RISC2_0 |
283 |
- case "${sc_kernel_bits}" in |
284 |
- 32) HP_ARCH="hppa2.0n" ;; |
285 |
- 64) HP_ARCH="hppa2.0w" ;; |
286 |
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
287 |
+ case "${sc_cpu_version}" in |
288 |
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
289 |
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
290 |
+ 532) # CPU_PA_RISC2_0 |
291 |
+ case "${sc_kernel_bits}" in |
292 |
+ 32) HP_ARCH="hppa2.0n" ;; |
293 |
+ 64) HP_ARCH="hppa2.0w" ;; |
294 |
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
295 |
- esac ;; |
296 |
- esac |
297 |
+ esac ;; |
298 |
+ esac |
299 |
fi |
300 |
if [ "${HP_ARCH}" = "" ]; then |
301 |
eval $set_cc_for_build |
302 |
- sed 's/^ //' << EOF >$dummy.c |
303 |
+ sed 's/^ //' << EOF >$dummy.c |
304 |
|
305 |
- #define _HPUX_SOURCE |
306 |
- #include <stdlib.h> |
307 |
- #include <unistd.h> |
308 |
- |
309 |
- int main () |
310 |
- { |
311 |
- #if defined(_SC_KERNEL_BITS) |
312 |
- long bits = sysconf(_SC_KERNEL_BITS); |
313 |
- #endif |
314 |
- long cpu = sysconf (_SC_CPU_VERSION); |
315 |
- |
316 |
- switch (cpu) |
317 |
- { |
318 |
- case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
319 |
- case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
320 |
- case CPU_PA_RISC2_0: |
321 |
- #if defined(_SC_KERNEL_BITS) |
322 |
- switch (bits) |
323 |
- { |
324 |
- case 64: puts ("hppa2.0w"); break; |
325 |
- case 32: puts ("hppa2.0n"); break; |
326 |
- default: puts ("hppa2.0"); break; |
327 |
- } break; |
328 |
- #else /* !defined(_SC_KERNEL_BITS) */ |
329 |
- puts ("hppa2.0"); break; |
330 |
- #endif |
331 |
- default: puts ("hppa1.0"); break; |
332 |
- } |
333 |
- exit (0); |
334 |
- } |
335 |
+ #define _HPUX_SOURCE |
336 |
+ #include <stdlib.h> |
337 |
+ #include <unistd.h> |
338 |
+ |
339 |
+ int main () |
340 |
+ { |
341 |
+ #if defined(_SC_KERNEL_BITS) |
342 |
+ long bits = sysconf(_SC_KERNEL_BITS); |
343 |
+ #endif |
344 |
+ long cpu = sysconf (_SC_CPU_VERSION); |
345 |
+ |
346 |
+ switch (cpu) |
347 |
+ { |
348 |
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
349 |
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
350 |
+ case CPU_PA_RISC2_0: |
351 |
+ #if defined(_SC_KERNEL_BITS) |
352 |
+ switch (bits) |
353 |
+ { |
354 |
+ case 64: puts ("hppa2.0w"); break; |
355 |
+ case 32: puts ("hppa2.0n"); break; |
356 |
+ default: puts ("hppa2.0"); break; |
357 |
+ } break; |
358 |
+ #else /* !defined(_SC_KERNEL_BITS) */ |
359 |
+ puts ("hppa2.0"); break; |
360 |
+ #endif |
361 |
+ default: puts ("hppa1.0"); break; |
362 |
+ } |
363 |
+ exit (0); |
364 |
+ } |
365 |
EOF |
366 |
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
367 |
test -z "$HP_ARCH" && HP_ARCH=hppa |
368 |
@@ -640,7 +665,7 @@ |
369 |
# => hppa64-hp-hpux11.23 |
370 |
|
371 |
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | |
372 |
- grep __LP64__ >/dev/null |
373 |
+ grep -q __LP64__ |
374 |
then |
375 |
HP_ARCH="hppa2.0w" |
376 |
else |
377 |
@@ -711,22 +736,22 @@ |
378 |
exit ;; |
379 |
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
380 |
echo c1-convex-bsd |
381 |
- exit ;; |
382 |
+ exit ;; |
383 |
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
384 |
if getsysinfo -f scalar_acc |
385 |
then echo c32-convex-bsd |
386 |
else echo c2-convex-bsd |
387 |
fi |
388 |
- exit ;; |
389 |
+ exit ;; |
390 |
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
391 |
echo c34-convex-bsd |
392 |
- exit ;; |
393 |
+ exit ;; |
394 |
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
395 |
echo c38-convex-bsd |
396 |
- exit ;; |
397 |
+ exit ;; |
398 |
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
399 |
echo c4-convex-bsd |
400 |
- exit ;; |
401 |
+ exit ;; |
402 |
CRAY*Y-MP:*:*:*) |
403 |
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
404 |
exit ;; |
405 |
@@ -750,14 +775,14 @@ |
406 |
exit ;; |
407 |
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
408 |
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
409 |
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
410 |
- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
411 |
- echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
412 |
- exit ;; |
413 |
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
414 |
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
415 |
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
416 |
+ exit ;; |
417 |
5000:UNIX_System_V:4.*:*) |
418 |
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
419 |
- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
420 |
- echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
421 |
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
422 |
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
423 |
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
424 |
exit ;; |
425 |
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
426 |
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
427 |
@@ -769,40 +794,51 @@ |
428 |
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
429 |
exit ;; |
430 |
*:FreeBSD:*:*) |
431 |
- case ${UNAME_MACHINE} in |
432 |
- pc98) |
433 |
- echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
434 |
+ UNAME_PROCESSOR=`/usr/bin/uname -p` |
435 |
+ case ${UNAME_PROCESSOR} in |
436 |
amd64) |
437 |
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
438 |
*) |
439 |
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
440 |
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
441 |
esac |
442 |
exit ;; |
443 |
i*:CYGWIN*:*) |
444 |
echo ${UNAME_MACHINE}-pc-cygwin |
445 |
exit ;; |
446 |
+ *:MINGW64*:*) |
447 |
+ echo ${UNAME_MACHINE}-pc-mingw64 |
448 |
+ exit ;; |
449 |
*:MINGW*:*) |
450 |
echo ${UNAME_MACHINE}-pc-mingw32 |
451 |
exit ;; |
452 |
+ i*:MSYS*:*) |
453 |
+ echo ${UNAME_MACHINE}-pc-msys |
454 |
+ exit ;; |
455 |
i*:windows32*:*) |
456 |
- # uname -m includes "-pc" on this system. |
457 |
- echo ${UNAME_MACHINE}-mingw32 |
458 |
+ # uname -m includes "-pc" on this system. |
459 |
+ echo ${UNAME_MACHINE}-mingw32 |
460 |
exit ;; |
461 |
i*:PW*:*) |
462 |
echo ${UNAME_MACHINE}-pc-pw32 |
463 |
exit ;; |
464 |
- *:Interix*:[3456]*) |
465 |
- case ${UNAME_MACHINE} in |
466 |
+ *:Interix*:*) |
467 |
+ case ${UNAME_MACHINE} in |
468 |
x86) |
469 |
echo i586-pc-interix${UNAME_RELEASE} |
470 |
exit ;; |
471 |
- EM64T | authenticamd) |
472 |
+ authenticamd | genuineintel | EM64T) |
473 |
echo x86_64-unknown-interix${UNAME_RELEASE} |
474 |
exit ;; |
475 |
+ IA64) |
476 |
+ echo ia64-unknown-interix${UNAME_RELEASE} |
477 |
+ exit ;; |
478 |
esac ;; |
479 |
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |
480 |
echo i${UNAME_MACHINE}-pc-mks |
481 |
exit ;; |
482 |
+ 8664:Windows_NT:*) |
483 |
+ echo x86_64-pc-mks |
484 |
+ exit ;; |
485 |
i*:Windows_NT*:* | Pentium*:Windows_NT*:*) |
486 |
# How do we know it's Interix rather than the generic POSIX subsystem? |
487 |
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we |
488 |
@@ -832,20 +868,68 @@ |
489 |
i*86:Minix:*:*) |
490 |
echo ${UNAME_MACHINE}-pc-minix |
491 |
exit ;; |
492 |
- arm*:Linux:*:*) |
493 |
+ aarch64:Linux:*:*) |
494 |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
495 |
exit ;; |
496 |
+ aarch64_be:Linux:*:*) |
497 |
+ UNAME_MACHINE=aarch64_be |
498 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
499 |
+ exit ;; |
500 |
+ alpha:Linux:*:*) |
501 |
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
502 |
+ EV5) UNAME_MACHINE=alphaev5 ;; |
503 |
+ EV56) UNAME_MACHINE=alphaev56 ;; |
504 |
+ PCA56) UNAME_MACHINE=alphapca56 ;; |
505 |
+ PCA57) UNAME_MACHINE=alphapca56 ;; |
506 |
+ EV6) UNAME_MACHINE=alphaev6 ;; |
507 |
+ EV67) UNAME_MACHINE=alphaev67 ;; |
508 |
+ EV68*) UNAME_MACHINE=alphaev68 ;; |
509 |
+ esac |
510 |
+ objdump --private-headers /bin/sh | grep -q ld.so.1 |
511 |
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
512 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
513 |
+ exit ;; |
514 |
+ arm*:Linux:*:*) |
515 |
+ eval $set_cc_for_build |
516 |
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
517 |
+ | grep -q __ARM_EABI__ |
518 |
+ then |
519 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
520 |
+ else |
521 |
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
522 |
+ | grep -q __ARM_PCS_VFP |
523 |
+ then |
524 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
525 |
+ else |
526 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabihf |
527 |
+ fi |
528 |
+ fi |
529 |
+ exit ;; |
530 |
avr32*:Linux:*:*) |
531 |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
532 |
exit ;; |
533 |
cris:Linux:*:*) |
534 |
- echo cris-axis-linux-gnu |
535 |
+ echo ${UNAME_MACHINE}-axis-linux-gnu |
536 |
exit ;; |
537 |
crisv32:Linux:*:*) |
538 |
- echo crisv32-axis-linux-gnu |
539 |
+ echo ${UNAME_MACHINE}-axis-linux-gnu |
540 |
exit ;; |
541 |
frv:Linux:*:*) |
542 |
- echo frv-unknown-linux-gnu |
543 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
544 |
+ exit ;; |
545 |
+ hexagon:Linux:*:*) |
546 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
547 |
+ exit ;; |
548 |
+ i*86:Linux:*:*) |
549 |
+ LIBC=gnu |
550 |
+ eval $set_cc_for_build |
551 |
+ sed 's/^ //' << EOF >$dummy.c |
552 |
+ #ifdef __dietlibc__ |
553 |
+ LIBC=dietlibc |
554 |
+ #endif |
555 |
+EOF |
556 |
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` |
557 |
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |
558 |
exit ;; |
559 |
ia64:Linux:*:*) |
560 |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
561 |
@@ -856,74 +940,33 @@ |
562 |
m68*:Linux:*:*) |
563 |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
564 |
exit ;; |
565 |
- mips:Linux:*:*) |
566 |
+ mips:Linux:*:* | mips64:Linux:*:*) |
567 |
eval $set_cc_for_build |
568 |
sed 's/^ //' << EOF >$dummy.c |
569 |
#undef CPU |
570 |
- #undef mips |
571 |
- #undef mipsel |
572 |
+ #undef ${UNAME_MACHINE} |
573 |
+ #undef ${UNAME_MACHINE}el |
574 |
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) |
575 |
- CPU=mipsel |
576 |
+ CPU=${UNAME_MACHINE}el |
577 |
#else |
578 |
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) |
579 |
- CPU=mips |
580 |
+ CPU=${UNAME_MACHINE} |
581 |
#else |
582 |
CPU= |
583 |
#endif |
584 |
#endif |
585 |
EOF |
586 |
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |
587 |
- /^CPU/{ |
588 |
- s: ::g |
589 |
- p |
590 |
- }'`" |
591 |
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
592 |
- ;; |
593 |
- mips64:Linux:*:*) |
594 |
- eval $set_cc_for_build |
595 |
- sed 's/^ //' << EOF >$dummy.c |
596 |
- #undef CPU |
597 |
- #undef mips64 |
598 |
- #undef mips64el |
599 |
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) |
600 |
- CPU=mips64el |
601 |
- #else |
602 |
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) |
603 |
- CPU=mips64 |
604 |
- #else |
605 |
- CPU= |
606 |
- #endif |
607 |
- #endif |
608 |
-EOF |
609 |
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |
610 |
- /^CPU/{ |
611 |
- s: ::g |
612 |
- p |
613 |
- }'`" |
614 |
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
615 |
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
616 |
;; |
617 |
or32:Linux:*:*) |
618 |
- echo or32-unknown-linux-gnu |
619 |
- exit ;; |
620 |
- ppc:Linux:*:*) |
621 |
- echo powerpc-unknown-linux-gnu |
622 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
623 |
exit ;; |
624 |
- ppc64:Linux:*:*) |
625 |
- echo powerpc64-unknown-linux-gnu |
626 |
+ padre:Linux:*:*) |
627 |
+ echo sparc-unknown-linux-gnu |
628 |
exit ;; |
629 |
- alpha:Linux:*:*) |
630 |
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
631 |
- EV5) UNAME_MACHINE=alphaev5 ;; |
632 |
- EV56) UNAME_MACHINE=alphaev56 ;; |
633 |
- PCA56) UNAME_MACHINE=alphapca56 ;; |
634 |
- PCA57) UNAME_MACHINE=alphapca56 ;; |
635 |
- EV6) UNAME_MACHINE=alphaev6 ;; |
636 |
- EV67) UNAME_MACHINE=alphaev67 ;; |
637 |
- EV68*) UNAME_MACHINE=alphaev68 ;; |
638 |
- esac |
639 |
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null |
640 |
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
641 |
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
642 |
+ parisc64:Linux:*:* | hppa64:Linux:*:*) |
643 |
+ echo hppa64-unknown-linux-gnu |
644 |
exit ;; |
645 |
parisc:Linux:*:* | hppa:Linux:*:*) |
646 |
# Look for CPU level |
647 |
@@ -933,14 +976,17 @@ |
648 |
*) echo hppa-unknown-linux-gnu ;; |
649 |
esac |
650 |
exit ;; |
651 |
- parisc64:Linux:*:* | hppa64:Linux:*:*) |
652 |
- echo hppa64-unknown-linux-gnu |
653 |
+ ppc64:Linux:*:*) |
654 |
+ echo powerpc64-unknown-linux-gnu |
655 |
+ exit ;; |
656 |
+ ppc:Linux:*:*) |
657 |
+ echo powerpc-unknown-linux-gnu |
658 |
exit ;; |
659 |
s390:Linux:*:* | s390x:Linux:*:*) |
660 |
echo ${UNAME_MACHINE}-ibm-linux |
661 |
exit ;; |
662 |
sh64*:Linux:*:*) |
663 |
- echo ${UNAME_MACHINE}-unknown-linux-gnu |
664 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
665 |
exit ;; |
666 |
sh*:Linux:*:*) |
667 |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
668 |
@@ -948,78 +994,18 @@ |
669 |
sparc:Linux:*:* | sparc64:Linux:*:*) |
670 |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
671 |
exit ;; |
672 |
+ tile*:Linux:*:*) |
673 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
674 |
+ exit ;; |
675 |
vax:Linux:*:*) |
676 |
echo ${UNAME_MACHINE}-dec-linux-gnu |
677 |
exit ;; |
678 |
x86_64:Linux:*:*) |
679 |
- echo x86_64-unknown-linux-gnu |
680 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
681 |
exit ;; |
682 |
- xtensa:Linux:*:*) |
683 |
- echo xtensa-unknown-linux-gnu |
684 |
+ xtensa*:Linux:*:*) |
685 |
+ echo ${UNAME_MACHINE}-unknown-linux-gnu |
686 |
exit ;; |
687 |
- i*86:Linux:*:*) |
688 |
- # The BFD linker knows what the default object file format is, so |
689 |
- # first see if it will tell us. cd to the root directory to prevent |
690 |
- # problems with other programs or directories called `ld' in the path. |
691 |
- # Set LC_ALL=C to ensure ld outputs messages in English. |
692 |
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ |
693 |
- | sed -ne '/supported targets:/!d |
694 |
- s/[ ][ ]*/ /g |
695 |
- s/.*supported targets: *// |
696 |
- s/ .*// |
697 |
- p'` |
698 |
- case "$ld_supported_targets" in |
699 |
- elf32-i386) |
700 |
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" |
701 |
- ;; |
702 |
- a.out-i386-linux) |
703 |
- echo "${UNAME_MACHINE}-pc-linux-gnuaout" |
704 |
- exit ;; |
705 |
- coff-i386) |
706 |
- echo "${UNAME_MACHINE}-pc-linux-gnucoff" |
707 |
- exit ;; |
708 |
- "") |
709 |
- # Either a pre-BFD a.out linker (linux-gnuoldld) or |
710 |
- # one that does not give us useful --help. |
711 |
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld" |
712 |
- exit ;; |
713 |
- esac |
714 |
- # Determine whether the default compiler is a.out or elf |
715 |
- eval $set_cc_for_build |
716 |
- sed 's/^ //' << EOF >$dummy.c |
717 |
- #include <features.h> |
718 |
- #ifdef __ELF__ |
719 |
- # ifdef __GLIBC__ |
720 |
- # if __GLIBC__ >= 2 |
721 |
- LIBC=gnu |
722 |
- # else |
723 |
- LIBC=gnulibc1 |
724 |
- # endif |
725 |
- # else |
726 |
- LIBC=gnulibc1 |
727 |
- # endif |
728 |
- #else |
729 |
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) |
730 |
- LIBC=gnu |
731 |
- #else |
732 |
- LIBC=gnuaout |
733 |
- #endif |
734 |
- #endif |
735 |
- #ifdef __dietlibc__ |
736 |
- LIBC=dietlibc |
737 |
- #endif |
738 |
-EOF |
739 |
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |
740 |
- /^LIBC/{ |
741 |
- s: ::g |
742 |
- p |
743 |
- }'`" |
744 |
- test x"${LIBC}" != x && { |
745 |
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |
746 |
- exit |
747 |
- } |
748 |
- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } |
749 |
- ;; |
750 |
i*86:DYNIX/ptx:4*:*) |
751 |
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
752 |
# earlier versions are messed up and put the nodename in both |
753 |
@@ -1027,11 +1013,11 @@ |
754 |
echo i386-sequent-sysv4 |
755 |
exit ;; |
756 |
i*86:UNIX_SV:4.2MP:2.*) |
757 |
- # Unixware is an offshoot of SVR4, but it has its own version |
758 |
- # number series starting with 2... |
759 |
- # I am not positive that other SVR4 systems won't match this, |
760 |
+ # Unixware is an offshoot of SVR4, but it has its own version |
761 |
+ # number series starting with 2... |
762 |
+ # I am not positive that other SVR4 systems won't match this, |
763 |
# I just have to hope. -- rms. |
764 |
- # Use sysv4.2uw... so that sysv4* matches it. |
765 |
+ # Use sysv4.2uw... so that sysv4* matches it. |
766 |
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
767 |
exit ;; |
768 |
i*86:OS/2:*:*) |
769 |
@@ -1048,7 +1034,7 @@ |
770 |
i*86:syllable:*:*) |
771 |
echo ${UNAME_MACHINE}-pc-syllable |
772 |
exit ;; |
773 |
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) |
774 |
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) |
775 |
echo i386-unknown-lynxos${UNAME_RELEASE} |
776 |
exit ;; |
777 |
i*86:*DOS:*:*) |
778 |
@@ -1063,7 +1049,7 @@ |
779 |
fi |
780 |
exit ;; |
781 |
i*86:*:5:[678]*) |
782 |
- # UnixWare 7.x, OpenUNIX and OpenServer 6. |
783 |
+ # UnixWare 7.x, OpenUNIX and OpenServer 6. |
784 |
case `/bin/uname -X | grep "^Machine"` in |
785 |
*486*) UNAME_MACHINE=i486 ;; |
786 |
*Pentium) UNAME_MACHINE=i586 ;; |
787 |
@@ -1091,10 +1077,13 @@ |
788 |
exit ;; |
789 |
pc:*:*:*) |
790 |
# Left here for compatibility: |
791 |
- # uname -m prints for DJGPP always 'pc', but it prints nothing about |
792 |
- # the processor, so we play safe by assuming i386. |
793 |
- echo i386-pc-msdosdjgpp |
794 |
- exit ;; |
795 |
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about |
796 |
+ # the processor, so we play safe by assuming i586. |
797 |
+ # Note: whatever this is, it MUST be the same as what config.sub |
798 |
+ # prints for the "djgpp" host, or else GDB configury will decide that |
799 |
+ # this is a cross-build. |
800 |
+ echo i586-pc-msdosdjgpp |
801 |
+ exit ;; |
802 |
Intel:Mach:3*:*) |
803 |
echo i386-pc-mach3 |
804 |
exit ;; |
805 |
@@ -1129,8 +1118,18 @@ |
806 |
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
807 |
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
808 |
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
809 |
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
810 |
- && { echo i486-ncr-sysv4; exit; } ;; |
811 |
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
812 |
+ && { echo i486-ncr-sysv4; exit; } ;; |
813 |
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*) |
814 |
+ OS_REL='.3' |
815 |
+ test -r /etc/.relid \ |
816 |
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
817 |
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
818 |
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } |
819 |
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
820 |
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } |
821 |
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ |
822 |
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
823 |
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
824 |
echo m68k-unknown-lynxos${UNAME_RELEASE} |
825 |
exit ;; |
826 |
@@ -1143,7 +1142,7 @@ |
827 |
rs6000:LynxOS:2.*:*) |
828 |
echo rs6000-unknown-lynxos${UNAME_RELEASE} |
829 |
exit ;; |
830 |
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) |
831 |
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) |
832 |
echo powerpc-unknown-lynxos${UNAME_RELEASE} |
833 |
exit ;; |
834 |
SM[BE]S:UNIX_SV:*:*) |
835 |
@@ -1163,10 +1162,10 @@ |
836 |
echo ns32k-sni-sysv |
837 |
fi |
838 |
exit ;; |
839 |
- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
840 |
- # says <Richard.M.Bartel@×××××××××××××.GOV> |
841 |
- echo i586-unisys-sysv4 |
842 |
- exit ;; |
843 |
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
844 |
+ # says <Richard.M.Bartel@×××××××××××××.GOV> |
845 |
+ echo i586-unisys-sysv4 |
846 |
+ exit ;; |
847 |
*:UNIX_System_V:4*:FTX*) |
848 |
# From Gerald Hewes <hewes@××××××××××.com>. |
849 |
# How about differentiating between stratus architectures? -djm |
850 |
@@ -1192,11 +1191,11 @@ |
851 |
exit ;; |
852 |
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
853 |
if [ -d /usr/nec ]; then |
854 |
- echo mips-nec-sysv${UNAME_RELEASE} |
855 |
+ echo mips-nec-sysv${UNAME_RELEASE} |
856 |
else |
857 |
- echo mips-unknown-sysv${UNAME_RELEASE} |
858 |
+ echo mips-unknown-sysv${UNAME_RELEASE} |
859 |
fi |
860 |
- exit ;; |
861 |
+ exit ;; |
862 |
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
863 |
echo powerpc-be-beos |
864 |
exit ;; |
865 |
@@ -1206,6 +1205,12 @@ |
866 |
BePC:BeOS:*:*) # BeOS running on Intel PC compatible. |
867 |
echo i586-pc-beos |
868 |
exit ;; |
869 |
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
870 |
+ echo i586-pc-haiku |
871 |
+ exit ;; |
872 |
+ x86_64:Haiku:*:*) |
873 |
+ echo x86_64-unknown-haiku |
874 |
+ exit ;; |
875 |
SX-4:SUPER-UX:*:*) |
876 |
echo sx4-nec-superux${UNAME_RELEASE} |
877 |
exit ;; |
878 |
@@ -1233,6 +1238,16 @@ |
879 |
*:Darwin:*:*) |
880 |
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
881 |
case $UNAME_PROCESSOR in |
882 |
+ i386) |
883 |
+ eval $set_cc_for_build |
884 |
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
885 |
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
886 |
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
887 |
+ grep IS_64BIT_ARCH >/dev/null |
888 |
+ then |
889 |
+ UNAME_PROCESSOR="x86_64" |
890 |
+ fi |
891 |
+ fi ;; |
892 |
unknown) UNAME_PROCESSOR=powerpc ;; |
893 |
esac |
894 |
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
895 |
@@ -1248,7 +1263,10 @@ |
896 |
*:QNX:*:4*) |
897 |
echo i386-pc-qnx |
898 |
exit ;; |
899 |
- NSE-?:NONSTOP_KERNEL:*:*) |
900 |
+ NEO-?:NONSTOP_KERNEL:*:*) |
901 |
+ echo neo-tandem-nsk${UNAME_RELEASE} |
902 |
+ exit ;; |
903 |
+ NSE-*:NONSTOP_KERNEL:*:*) |
904 |
echo nse-tandem-nsk${UNAME_RELEASE} |
905 |
exit ;; |
906 |
NSR-?:NONSTOP_KERNEL:*:*) |
907 |
@@ -1293,13 +1311,13 @@ |
908 |
echo pdp10-unknown-its |
909 |
exit ;; |
910 |
SEI:*:*:SEIUX) |
911 |
- echo mips-sei-seiux${UNAME_RELEASE} |
912 |
+ echo mips-sei-seiux${UNAME_RELEASE} |
913 |
exit ;; |
914 |
*:DragonFly:*:*) |
915 |
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
916 |
exit ;; |
917 |
*:*VMS:*:*) |
918 |
- UNAME_MACHINE=`(uname -p) 2>/dev/null` |
919 |
+ UNAME_MACHINE=`(uname -p) 2>/dev/null` |
920 |
case "${UNAME_MACHINE}" in |
921 |
A*) echo alpha-dec-vms ; exit ;; |
922 |
I*) echo ia64-dec-vms ; exit ;; |
923 |
@@ -1314,11 +1332,14 @@ |
924 |
i*86:rdos:*:*) |
925 |
echo ${UNAME_MACHINE}-pc-rdos |
926 |
exit ;; |
927 |
+ i*86:AROS:*:*) |
928 |
+ echo ${UNAME_MACHINE}-pc-aros |
929 |
+ exit ;; |
930 |
+ x86_64:VMkernel:*:*) |
931 |
+ echo ${UNAME_MACHINE}-unknown-esx |
932 |
+ exit ;; |
933 |
esac |
934 |
|
935 |
-#echo '(No uname command or uname output not recognized.)' 1>&2 |
936 |
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 |
937 |
- |
938 |
eval $set_cc_for_build |
939 |
cat >$dummy.c <<EOF |
940 |
#ifdef _SEQUENT_ |
941 |
@@ -1336,11 +1357,11 @@ |
942 |
#include <sys/param.h> |
943 |
printf ("m68k-sony-newsos%s\n", |
944 |
#ifdef NEWSOS4 |
945 |
- "4" |
946 |
+ "4" |
947 |
#else |
948 |
- "" |
949 |
+ "" |
950 |
#endif |
951 |
- ); exit (0); |
952 |
+ ); exit (0); |
953 |
#endif |
954 |
#endif |
955 |
|
956 |
@@ -1474,9 +1495,9 @@ |
957 |
the operating system you are using. It is advised that you |
958 |
download the most up to date version of the config scripts from |
959 |
|
960 |
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess |
961 |
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
962 |
and |
963 |
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub |
964 |
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD |
965 |
|
966 |
If the version you run ($0) is already up to date, please |
967 |
send the following data and any information you think might be |
968 |
diff -urN epienbroek-mail-notification-eab5c13/jbsrc/tools/config.sub epienbroek-mail-notification-eab5c13-aarch64/jbsrc/tools/config.sub |
969 |
--- epienbroek-mail-notification-eab5c13/jbsrc/tools/config.sub 2012-11-21 12:57:35.000000000 -0600 |
970 |
+++ epienbroek-mail-notification-eab5c13-aarch64/jbsrc/tools/config.sub 2013-03-08 02:14:30.629644517 -0600 |
971 |
@@ -1,10 +1,10 @@ |
972 |
#! /bin/sh |
973 |
# Configuration validation subroutine script. |
974 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
975 |
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
976 |
-# Inc. |
977 |
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
978 |
+# 2011, 2012 Free Software Foundation, Inc. |
979 |
|
980 |
-timestamp='2007-06-28' |
981 |
+timestamp='2012-10-10' |
982 |
|
983 |
# This file is (in principle) common to ALL GNU software. |
984 |
# The presence of a machine in this file suggests that SOME GNU software |
985 |
@@ -21,9 +21,7 @@ |
986 |
# GNU General Public License for more details. |
987 |
# |
988 |
# You should have received a copy of the GNU General Public License |
989 |
-# along with this program; if not, write to the Free Software |
990 |
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
991 |
-# 02110-1301, USA. |
992 |
+# along with this program; if not, see <http://www.gnu.org/licenses/>. |
993 |
# |
994 |
# As a special exception to the GNU General Public License, if you |
995 |
# distribute this file as part of a program that contains a |
996 |
@@ -32,13 +30,16 @@ |
997 |
|
998 |
|
999 |
# Please send patches to <config-patches@×××.org>. Submit a context |
1000 |
-# diff and a properly formatted ChangeLog entry. |
1001 |
+# diff and a properly formatted GNU ChangeLog entry. |
1002 |
# |
1003 |
# Configuration subroutine to validate and canonicalize a configuration type. |
1004 |
# Supply the specified configuration type as an argument. |
1005 |
# If it is invalid, we print an error message on stderr and exit with code 1. |
1006 |
# Otherwise, we print the canonical config type on stdout and succeed. |
1007 |
|
1008 |
+# You can get the latest version of this script from: |
1009 |
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD |
1010 |
+ |
1011 |
# This file is supposed to be the same for all GNU packages |
1012 |
# and recognize all the CPU types, system types and aliases |
1013 |
# that are meaningful with *any* GNU software. |
1014 |
@@ -72,7 +73,8 @@ |
1015 |
version="\ |
1016 |
GNU config.sub ($timestamp) |
1017 |
|
1018 |
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
1019 |
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
1020 |
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
1021 |
Free Software Foundation, Inc. |
1022 |
|
1023 |
This is free software; see the source for copying conditions. There is NO |
1024 |
@@ -120,12 +122,18 @@ |
1025 |
# Here we must recognize all the valid KERNEL-OS combinations. |
1026 |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
1027 |
case $maybe_os in |
1028 |
- nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
1029 |
- uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
1030 |
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
1031 |
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
1032 |
+ knetbsd*-gnu* | netbsd*-gnu* | \ |
1033 |
+ kopensolaris*-gnu* | \ |
1034 |
storm-chaos* | os2-emx* | rtmk-nova*) |
1035 |
os=-$maybe_os |
1036 |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
1037 |
;; |
1038 |
+ android-linux) |
1039 |
+ os=-linux-android |
1040 |
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown |
1041 |
+ ;; |
1042 |
*) |
1043 |
basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
1044 |
if [ $basic_machine != $1 ] |
1045 |
@@ -148,10 +156,13 @@ |
1046 |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
1047 |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
1048 |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
1049 |
- -apple | -axis | -knuth | -cray) |
1050 |
+ -apple | -axis | -knuth | -cray | -microblaze*) |
1051 |
os= |
1052 |
basic_machine=$1 |
1053 |
;; |
1054 |
+ -bluegene*) |
1055 |
+ os=-cnk |
1056 |
+ ;; |
1057 |
-sim | -cisco | -oki | -wec | -winbond) |
1058 |
os= |
1059 |
basic_machine=$1 |
1060 |
@@ -166,10 +177,10 @@ |
1061 |
os=-chorusos |
1062 |
basic_machine=$1 |
1063 |
;; |
1064 |
- -chorusrdb) |
1065 |
- os=-chorusrdb |
1066 |
+ -chorusrdb) |
1067 |
+ os=-chorusrdb |
1068 |
basic_machine=$1 |
1069 |
- ;; |
1070 |
+ ;; |
1071 |
-hiux*) |
1072 |
os=-hiuxwe2 |
1073 |
;; |
1074 |
@@ -214,6 +225,12 @@ |
1075 |
-isc*) |
1076 |
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1077 |
;; |
1078 |
+ -lynx*178) |
1079 |
+ os=-lynxos178 |
1080 |
+ ;; |
1081 |
+ -lynx*5) |
1082 |
+ os=-lynxos5 |
1083 |
+ ;; |
1084 |
-lynx*) |
1085 |
os=-lynxos |
1086 |
;; |
1087 |
@@ -238,24 +255,32 @@ |
1088 |
# Some are omitted here because they have special meanings below. |
1089 |
1750a | 580 \ |
1090 |
| a29k \ |
1091 |
+ | aarch64 | aarch64_be \ |
1092 |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
1093 |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
1094 |
| am33_2.0 \ |
1095 |
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
1096 |
+ | be32 | be64 \ |
1097 |
| bfin \ |
1098 |
| c4x | clipper \ |
1099 |
| d10v | d30v | dlx | dsp16xx \ |
1100 |
+ | epiphany \ |
1101 |
| fido | fr30 | frv \ |
1102 |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
1103 |
+ | hexagon \ |
1104 |
| i370 | i860 | i960 | ia64 \ |
1105 |
| ip2k | iq2000 \ |
1106 |
+ | le32 | le64 \ |
1107 |
+ | lm32 \ |
1108 |
| m32c | m32r | m32rle | m68000 | m68k | m88k \ |
1109 |
- | maxq | mb | microblaze | mcore | mep \ |
1110 |
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ |
1111 |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
1112 |
| mips16 \ |
1113 |
| mips64 | mips64el \ |
1114 |
- | mips64vr | mips64vrel \ |
1115 |
+ | mips64octeon | mips64octeonel \ |
1116 |
| mips64orion | mips64orionel \ |
1117 |
+ | mips64r5900 | mips64r5900el \ |
1118 |
+ | mips64vr | mips64vrel \ |
1119 |
| mips64vr4100 | mips64vr4100el \ |
1120 |
| mips64vr4300 | mips64vr4300el \ |
1121 |
| mips64vr5000 | mips64vr5000el \ |
1122 |
@@ -268,29 +293,42 @@ |
1123 |
| mipsisa64sr71k | mipsisa64sr71kel \ |
1124 |
| mipstx39 | mipstx39el \ |
1125 |
| mn10200 | mn10300 \ |
1126 |
+ | moxie \ |
1127 |
| mt \ |
1128 |
| msp430 \ |
1129 |
+ | nds32 | nds32le | nds32be \ |
1130 |
| nios | nios2 \ |
1131 |
| ns16k | ns32k \ |
1132 |
+ | open8 \ |
1133 |
| or32 \ |
1134 |
| pdp10 | pdp11 | pj | pjl \ |
1135 |
- | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
1136 |
+ | powerpc | powerpc64 | powerpc64le | powerpcle \ |
1137 |
| pyramid \ |
1138 |
+ | rl78 | rx \ |
1139 |
| score \ |
1140 |
- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
1141 |
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
1142 |
| sh64 | sh64le \ |
1143 |
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
1144 |
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
1145 |
- | spu | strongarm \ |
1146 |
- | tahoe | thumb | tic4x | tic80 | tron \ |
1147 |
- | v850 | v850e \ |
1148 |
+ | spu \ |
1149 |
+ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ |
1150 |
+ | ubicom32 \ |
1151 |
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
1152 |
| we32k \ |
1153 |
- | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
1154 |
- | z8k) |
1155 |
+ | x86 | xc16x | xstormy16 | xtensa \ |
1156 |
+ | z8k | z80) |
1157 |
basic_machine=$basic_machine-unknown |
1158 |
;; |
1159 |
- m6811 | m68hc11 | m6812 | m68hc12) |
1160 |
- # Motorola 68HC11/12. |
1161 |
+ c54x) |
1162 |
+ basic_machine=tic54x-unknown |
1163 |
+ ;; |
1164 |
+ c55x) |
1165 |
+ basic_machine=tic55x-unknown |
1166 |
+ ;; |
1167 |
+ c6x) |
1168 |
+ basic_machine=tic6x-unknown |
1169 |
+ ;; |
1170 |
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) |
1171 |
basic_machine=$basic_machine-unknown |
1172 |
os=-none |
1173 |
;; |
1174 |
@@ -300,6 +338,21 @@ |
1175 |
basic_machine=mt-unknown |
1176 |
;; |
1177 |
|
1178 |
+ strongarm | thumb | xscale) |
1179 |
+ basic_machine=arm-unknown |
1180 |
+ ;; |
1181 |
+ xgate) |
1182 |
+ basic_machine=$basic_machine-unknown |
1183 |
+ os=-none |
1184 |
+ ;; |
1185 |
+ xscaleeb) |
1186 |
+ basic_machine=armeb-unknown |
1187 |
+ ;; |
1188 |
+ |
1189 |
+ xscaleel) |
1190 |
+ basic_machine=armel-unknown |
1191 |
+ ;; |
1192 |
+ |
1193 |
# We use `pc' rather than `unknown' |
1194 |
# because (1) that's what they normally are, and |
1195 |
# (2) the word "unknown" tends to confuse beginning users. |
1196 |
@@ -314,29 +367,37 @@ |
1197 |
# Recognize the basic CPU types with company name. |
1198 |
580-* \ |
1199 |
| a29k-* \ |
1200 |
+ | aarch64-* | aarch64_be-* \ |
1201 |
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
1202 |
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
1203 |
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
1204 |
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
1205 |
| avr-* | avr32-* \ |
1206 |
+ | be32-* | be64-* \ |
1207 |
| bfin-* | bs2000-* \ |
1208 |
- | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
1209 |
+ | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
1210 |
| clipper-* | craynv-* | cydra-* \ |
1211 |
| d10v-* | d30v-* | dlx-* \ |
1212 |
| elxsi-* \ |
1213 |
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
1214 |
| h8300-* | h8500-* \ |
1215 |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
1216 |
+ | hexagon-* \ |
1217 |
| i*86-* | i860-* | i960-* | ia64-* \ |
1218 |
| ip2k-* | iq2000-* \ |
1219 |
+ | le32-* | le64-* \ |
1220 |
+ | lm32-* \ |
1221 |
| m32c-* | m32r-* | m32rle-* \ |
1222 |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
1223 |
- | m88110-* | m88k-* | maxq-* | mcore-* \ |
1224 |
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
1225 |
+ | microblaze-* | microblazeel-* \ |
1226 |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
1227 |
| mips16-* \ |
1228 |
| mips64-* | mips64el-* \ |
1229 |
- | mips64vr-* | mips64vrel-* \ |
1230 |
+ | mips64octeon-* | mips64octeonel-* \ |
1231 |
| mips64orion-* | mips64orionel-* \ |
1232 |
+ | mips64r5900-* | mips64r5900el-* \ |
1233 |
+ | mips64vr-* | mips64vrel-* \ |
1234 |
| mips64vr4100-* | mips64vr4100el-* \ |
1235 |
| mips64vr4300-* | mips64vr4300el-* \ |
1236 |
| mips64vr5000-* | mips64vr5000el-* \ |
1237 |
@@ -351,27 +412,36 @@ |
1238 |
| mmix-* \ |
1239 |
| mt-* \ |
1240 |
| msp430-* \ |
1241 |
+ | nds32-* | nds32le-* | nds32be-* \ |
1242 |
| nios-* | nios2-* \ |
1243 |
| none-* | np1-* | ns16k-* | ns32k-* \ |
1244 |
+ | open8-* \ |
1245 |
| orion-* \ |
1246 |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
1247 |
- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
1248 |
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
1249 |
| pyramid-* \ |
1250 |
- | romp-* | rs6000-* \ |
1251 |
- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
1252 |
+ | rl78-* | romp-* | rs6000-* | rx-* \ |
1253 |
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
1254 |
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
1255 |
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
1256 |
| sparclite-* \ |
1257 |
- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
1258 |
- | tahoe-* | thumb-* \ |
1259 |
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ |
1260 |
+ | tahoe-* \ |
1261 |
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
1262 |
+ | tile*-* \ |
1263 |
| tron-* \ |
1264 |
- | v850-* | v850e-* | vax-* \ |
1265 |
+ | ubicom32-* \ |
1266 |
+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
1267 |
+ | vax-* \ |
1268 |
| we32k-* \ |
1269 |
- | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
1270 |
- | xstormy16-* | xtensa-* \ |
1271 |
+ | x86-* | x86_64-* | xc16x-* | xps100-* \ |
1272 |
+ | xstormy16-* | xtensa*-* \ |
1273 |
| ymp-* \ |
1274 |
- | z8k-*) |
1275 |
+ | z8k-* | z80-*) |
1276 |
+ ;; |
1277 |
+ # Recognize the basic CPU types without company name, with glob match. |
1278 |
+ xtensa*) |
1279 |
+ basic_machine=$basic_machine-unknown |
1280 |
;; |
1281 |
# Recognize the various machine names and aliases which stand |
1282 |
# for a CPU type and a company and sometimes even an OS. |
1283 |
@@ -389,7 +459,7 @@ |
1284 |
basic_machine=a29k-amd |
1285 |
os=-udi |
1286 |
;; |
1287 |
- abacus) |
1288 |
+ abacus) |
1289 |
basic_machine=abacus-unknown |
1290 |
;; |
1291 |
adobe68k) |
1292 |
@@ -435,6 +505,10 @@ |
1293 |
basic_machine=m68k-apollo |
1294 |
os=-bsd |
1295 |
;; |
1296 |
+ aros) |
1297 |
+ basic_machine=i386-pc |
1298 |
+ os=-aros |
1299 |
+ ;; |
1300 |
aux) |
1301 |
basic_machine=m68k-apple |
1302 |
os=-aux |
1303 |
@@ -443,10 +517,35 @@ |
1304 |
basic_machine=ns32k-sequent |
1305 |
os=-dynix |
1306 |
;; |
1307 |
+ blackfin) |
1308 |
+ basic_machine=bfin-unknown |
1309 |
+ os=-linux |
1310 |
+ ;; |
1311 |
+ blackfin-*) |
1312 |
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` |
1313 |
+ os=-linux |
1314 |
+ ;; |
1315 |
+ bluegene*) |
1316 |
+ basic_machine=powerpc-ibm |
1317 |
+ os=-cnk |
1318 |
+ ;; |
1319 |
+ c54x-*) |
1320 |
+ basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` |
1321 |
+ ;; |
1322 |
+ c55x-*) |
1323 |
+ basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` |
1324 |
+ ;; |
1325 |
+ c6x-*) |
1326 |
+ basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` |
1327 |
+ ;; |
1328 |
c90) |
1329 |
basic_machine=c90-cray |
1330 |
os=-unicos |
1331 |
;; |
1332 |
+ cegcc) |
1333 |
+ basic_machine=arm-unknown |
1334 |
+ os=-cegcc |
1335 |
+ ;; |
1336 |
convex-c1) |
1337 |
basic_machine=c1-convex |
1338 |
os=-bsd |
1339 |
@@ -475,7 +574,7 @@ |
1340 |
basic_machine=craynv-cray |
1341 |
os=-unicosmp |
1342 |
;; |
1343 |
- cr16) |
1344 |
+ cr16 | cr16-*) |
1345 |
basic_machine=cr16-unknown |
1346 |
os=-elf |
1347 |
;; |
1348 |
@@ -514,6 +613,10 @@ |
1349 |
basic_machine=m88k-motorola |
1350 |
os=-sysv3 |
1351 |
;; |
1352 |
+ dicos) |
1353 |
+ basic_machine=i686-pc |
1354 |
+ os=-dicos |
1355 |
+ ;; |
1356 |
djgpp) |
1357 |
basic_machine=i586-pc |
1358 |
os=-msdosdjgpp |
1359 |
@@ -629,7 +732,6 @@ |
1360 |
i370-ibm* | ibm*) |
1361 |
basic_machine=i370-ibm |
1362 |
;; |
1363 |
-# I'm not sure what "Sysv32" means. Should this be sysv3.2? |
1364 |
i*86v32) |
1365 |
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
1366 |
os=-sysv32 |
1367 |
@@ -668,6 +770,14 @@ |
1368 |
basic_machine=m68k-isi |
1369 |
os=-sysv |
1370 |
;; |
1371 |
+ m68knommu) |
1372 |
+ basic_machine=m68k-unknown |
1373 |
+ os=-linux |
1374 |
+ ;; |
1375 |
+ m68knommu-*) |
1376 |
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` |
1377 |
+ os=-linux |
1378 |
+ ;; |
1379 |
m88k-omron*) |
1380 |
basic_machine=m88k-omron |
1381 |
;; |
1382 |
@@ -679,6 +789,13 @@ |
1383 |
basic_machine=ns32k-utek |
1384 |
os=-sysv |
1385 |
;; |
1386 |
+ microblaze*) |
1387 |
+ basic_machine=microblaze-xilinx |
1388 |
+ ;; |
1389 |
+ mingw64) |
1390 |
+ basic_machine=x86_64-pc |
1391 |
+ os=-mingw64 |
1392 |
+ ;; |
1393 |
mingw32) |
1394 |
basic_machine=i386-pc |
1395 |
os=-mingw32 |
1396 |
@@ -715,10 +832,18 @@ |
1397 |
ms1-*) |
1398 |
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
1399 |
;; |
1400 |
+ msys) |
1401 |
+ basic_machine=i386-pc |
1402 |
+ os=-msys |
1403 |
+ ;; |
1404 |
mvs) |
1405 |
basic_machine=i370-ibm |
1406 |
os=-mvs |
1407 |
;; |
1408 |
+ nacl) |
1409 |
+ basic_machine=le32-unknown |
1410 |
+ os=-nacl |
1411 |
+ ;; |
1412 |
ncr3000) |
1413 |
basic_machine=i486-ncr |
1414 |
os=-sysv4 |
1415 |
@@ -783,6 +908,12 @@ |
1416 |
np1) |
1417 |
basic_machine=np1-gould |
1418 |
;; |
1419 |
+ neo-tandem) |
1420 |
+ basic_machine=neo-tandem |
1421 |
+ ;; |
1422 |
+ nse-tandem) |
1423 |
+ basic_machine=nse-tandem |
1424 |
+ ;; |
1425 |
nsr-tandem) |
1426 |
basic_machine=nsr-tandem |
1427 |
;; |
1428 |
@@ -813,6 +944,14 @@ |
1429 |
basic_machine=i860-intel |
1430 |
os=-osf |
1431 |
;; |
1432 |
+ parisc) |
1433 |
+ basic_machine=hppa-unknown |
1434 |
+ os=-linux |
1435 |
+ ;; |
1436 |
+ parisc-*) |
1437 |
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` |
1438 |
+ os=-linux |
1439 |
+ ;; |
1440 |
pbd) |
1441 |
basic_machine=sparc-tti |
1442 |
;; |
1443 |
@@ -857,9 +996,10 @@ |
1444 |
;; |
1445 |
power) basic_machine=power-ibm |
1446 |
;; |
1447 |
- ppc) basic_machine=powerpc-unknown |
1448 |
+ ppc | ppcbe) basic_machine=powerpc-unknown |
1449 |
;; |
1450 |
- ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
1451 |
+ ppc-* | ppcbe-*) |
1452 |
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
1453 |
;; |
1454 |
ppcle | powerpclittle | ppc-le | powerpc-little) |
1455 |
basic_machine=powerpcle-unknown |
1456 |
@@ -953,6 +1093,9 @@ |
1457 |
basic_machine=i860-stratus |
1458 |
os=-sysv4 |
1459 |
;; |
1460 |
+ strongarm-* | thumb-*) |
1461 |
+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` |
1462 |
+ ;; |
1463 |
sun2) |
1464 |
basic_machine=m68000-sun |
1465 |
;; |
1466 |
@@ -1009,17 +1152,9 @@ |
1467 |
basic_machine=t90-cray |
1468 |
os=-unicos |
1469 |
;; |
1470 |
- tic54x | c54x*) |
1471 |
- basic_machine=tic54x-unknown |
1472 |
- os=-coff |
1473 |
- ;; |
1474 |
- tic55x | c55x*) |
1475 |
- basic_machine=tic55x-unknown |
1476 |
- os=-coff |
1477 |
- ;; |
1478 |
- tic6x | c6x*) |
1479 |
- basic_machine=tic6x-unknown |
1480 |
- os=-coff |
1481 |
+ tile*) |
1482 |
+ basic_machine=$basic_machine-unknown |
1483 |
+ os=-linux-gnu |
1484 |
;; |
1485 |
tx39) |
1486 |
basic_machine=mipstx39-unknown |
1487 |
@@ -1088,6 +1223,9 @@ |
1488 |
xps | xps100) |
1489 |
basic_machine=xps100-honeywell |
1490 |
;; |
1491 |
+ xscale-* | xscalee[bl]-*) |
1492 |
+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` |
1493 |
+ ;; |
1494 |
ymp) |
1495 |
basic_machine=ymp-cray |
1496 |
os=-unicos |
1497 |
@@ -1096,6 +1234,10 @@ |
1498 |
basic_machine=z8k-unknown |
1499 |
os=-sim |
1500 |
;; |
1501 |
+ z80-*-coff) |
1502 |
+ basic_machine=z80-unknown |
1503 |
+ os=-sim |
1504 |
+ ;; |
1505 |
none) |
1506 |
basic_machine=none-none |
1507 |
os=-none |
1508 |
@@ -1134,7 +1276,7 @@ |
1509 |
we32k) |
1510 |
basic_machine=we32k-att |
1511 |
;; |
1512 |
- sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) |
1513 |
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
1514 |
basic_machine=sh-unknown |
1515 |
;; |
1516 |
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
1517 |
@@ -1181,9 +1323,12 @@ |
1518 |
if [ x"$os" != x"" ] |
1519 |
then |
1520 |
case $os in |
1521 |
- # First match some system type aliases |
1522 |
- # that might get confused with valid system types. |
1523 |
+ # First match some system type aliases |
1524 |
+ # that might get confused with valid system types. |
1525 |
# -solaris* is a basic system type, with this one exception. |
1526 |
+ -auroraux) |
1527 |
+ os=-auroraux |
1528 |
+ ;; |
1529 |
-solaris1 | -solaris1.*) |
1530 |
os=`echo $os | sed -e 's|solaris1|sunos4|'` |
1531 |
;; |
1532 |
@@ -1204,21 +1349,23 @@ |
1533 |
# Each alternative MUST END IN A *, to match a version number. |
1534 |
# -sysv* is not here because it comes later, after sysvr4. |
1535 |
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1536 |
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ |
1537 |
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
1538 |
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1539 |
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1540 |
+ | -sym* | -kopensolaris* \ |
1541 |
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1542 |
- | -aos* \ |
1543 |
+ | -aos* | -aros* \ |
1544 |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1545 |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1546 |
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1547 |
- | -openbsd* | -solidbsd* \ |
1548 |
+ | -bitrig* | -openbsd* | -solidbsd* \ |
1549 |
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1550 |
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1551 |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1552 |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1553 |
- | -chorusos* | -chorusrdb* \ |
1554 |
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1555 |
- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
1556 |
+ | -chorusos* | -chorusrdb* | -cegcc* \ |
1557 |
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1558 |
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1559 |
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1560 |
| -uxpv* | -beos* | -mpeix* | -udk* \ |
1561 |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1562 |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1563 |
@@ -1226,7 +1373,7 @@ |
1564 |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1565 |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1566 |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1567 |
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) |
1568 |
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
1569 |
# Remember, each alternative MUST END IN *, to match a version number. |
1570 |
;; |
1571 |
-qnx*) |
1572 |
@@ -1265,7 +1412,7 @@ |
1573 |
-opened*) |
1574 |
os=-openedition |
1575 |
;; |
1576 |
- -os400*) |
1577 |
+ -os400*) |
1578 |
os=-os400 |
1579 |
;; |
1580 |
-wince*) |
1581 |
@@ -1314,7 +1461,7 @@ |
1582 |
-sinix*) |
1583 |
os=-sysv4 |
1584 |
;; |
1585 |
- -tpf*) |
1586 |
+ -tpf*) |
1587 |
os=-tpf |
1588 |
;; |
1589 |
-triton*) |
1590 |
@@ -1356,6 +1503,11 @@ |
1591 |
-zvmoe) |
1592 |
os=-zvmoe |
1593 |
;; |
1594 |
+ -dicos*) |
1595 |
+ os=-dicos |
1596 |
+ ;; |
1597 |
+ -nacl*) |
1598 |
+ ;; |
1599 |
-none) |
1600 |
;; |
1601 |
*) |
1602 |
@@ -1378,10 +1530,10 @@ |
1603 |
# system, and we'll never get to this point. |
1604 |
|
1605 |
case $basic_machine in |
1606 |
- score-*) |
1607 |
+ score-*) |
1608 |
os=-elf |
1609 |
;; |
1610 |
- spu-*) |
1611 |
+ spu-*) |
1612 |
os=-elf |
1613 |
;; |
1614 |
*-acorn) |
1615 |
@@ -1393,8 +1545,20 @@ |
1616 |
arm*-semi) |
1617 |
os=-aout |
1618 |
;; |
1619 |
- c4x-* | tic4x-*) |
1620 |
- os=-coff |
1621 |
+ c4x-* | tic4x-*) |
1622 |
+ os=-coff |
1623 |
+ ;; |
1624 |
+ hexagon-*) |
1625 |
+ os=-elf |
1626 |
+ ;; |
1627 |
+ tic54x-*) |
1628 |
+ os=-coff |
1629 |
+ ;; |
1630 |
+ tic55x-*) |
1631 |
+ os=-coff |
1632 |
+ ;; |
1633 |
+ tic6x-*) |
1634 |
+ os=-coff |
1635 |
;; |
1636 |
# This must come before the *-dec entry. |
1637 |
pdp10-*) |
1638 |
@@ -1414,14 +1578,11 @@ |
1639 |
;; |
1640 |
m68000-sun) |
1641 |
os=-sunos3 |
1642 |
- # This also exists in the configure program, but was not the |
1643 |
- # default. |
1644 |
- # os=-sunos4 |
1645 |
;; |
1646 |
m68*-cisco) |
1647 |
os=-aout |
1648 |
;; |
1649 |
- mep-*) |
1650 |
+ mep-*) |
1651 |
os=-elf |
1652 |
;; |
1653 |
mips*-cisco) |
1654 |
@@ -1448,7 +1609,7 @@ |
1655 |
*-ibm) |
1656 |
os=-aix |
1657 |
;; |
1658 |
- *-knuth) |
1659 |
+ *-knuth) |
1660 |
os=-mmixware |
1661 |
;; |
1662 |
*-wec) |
1663 |
@@ -1553,7 +1714,7 @@ |
1664 |
-sunos*) |
1665 |
vendor=sun |
1666 |
;; |
1667 |
- -aix*) |
1668 |
+ -cnk*|-aix*) |
1669 |
vendor=ibm |
1670 |
;; |
1671 |
-beos*) |