2
2
# Attempt to guess a canonical system name.
3
3
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5
# Free Software Foundation, Inc.
9
9
# This file is free software; you can redistribute it and/or modify it
10
10
# under the terms of the GNU General Public License as published by
27
27
# the same distribution terms that you use for the rest of that program.
30
# Originally written by Per Bothner <per@bothner.com>.
31
# Please send patches to <config-patches@gnu.org>. Submit a context
32
# diff and a properly formatted ChangeLog entry.
30
# Originally written by Per Bothner. Please send patches (context
31
# diff format) to <config-patches@gnu.org> and include a ChangeLog
34
34
# This script attempts to guess a canonical system name similar to
35
35
# config.sub. If it succeeds, it prints the system name on stdout, and
36
36
# exits with 0. Otherwise, it exits with 1.
38
# The plan is that this can be called by configure scripts if you
39
# don't specify an explicit build system type.
38
# You can get the latest version of this script from:
39
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
41
41
me=`echo "$0" | sed -e 's,.*/,,'`
56
56
GNU config.guess ($timestamp)
58
58
Originally written by Per Bothner.
59
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
60
Free Software Foundation, Inc.
59
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
60
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
62
62
This is free software; see the source for copying conditions. There is NO
63
63
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
171
171
arm*) machine=arm-unknown ;;
172
172
sh3el) machine=shl-unknown ;;
173
173
sh3eb) machine=sh-unknown ;;
174
sh5el) machine=sh5le-unknown ;;
174
175
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
176
177
# The Operating System including object format, if it has switched
179
180
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
180
181
eval $set_cc_for_build
181
182
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
182
| grep __ELF__ >/dev/null
184
185
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
185
186
# Return netbsd for either. FIX?
214
215
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
215
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
216
echo ${UNAME_MACHINE_ARCH}-${VENDOR}-openbsd${UNAME_RELEASE}
218
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
219
echo ${UNAME_MACHINE}-${VENDOR}-ekkobsd${UNAME_RELEASE}
221
echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
222
echo ${UNAME_MACHINE}-${VENDOR}-solidbsd${UNAME_RELEASE}
223
224
macppc:MirBSD:*:*)
224
echo powerpc-unknown-mirbsd${UNAME_RELEASE}
225
echo powerpc-${VENDOR}-mirbsd${UNAME_RELEASE}
227
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
228
echo ${UNAME_MACHINE}-${VENDOR}-mirbsd${UNAME_RELEASE}
230
231
case $UNAME_RELEASE in
289
290
echo alpha-dec-winnt3.5
291
292
Amiga*:UNIX_System_V:4.0:*)
292
echo m68k-unknown-sysv4
293
echo m68k-${VENDOR}-sysv4
294
295
*:[Aa]miga[Oo][Ss]:*:*)
295
echo ${UNAME_MACHINE}-unknown-amigaos
296
echo ${UNAME_MACHINE}-${VENDOR}-amigaos
297
298
*:[Mm]orph[Oo][Ss]:*:*)
298
echo ${UNAME_MACHINE}-unknown-morphos
299
echo ${UNAME_MACHINE}-${VENDOR}-morphos
301
302
echo i370-ibm-openedition
310
311
echo arm-acorn-riscix${UNAME_RELEASE}
312
313
arm:riscos:*:*|arm:RISCOS:*:*)
313
echo arm-unknown-riscos
314
echo arm-${VENDOR}-riscos
315
316
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
316
317
echo hppa1.1-hitachi-hiuxmpp
333
334
case `/usr/bin/uname -p` in
334
335
sparc) echo sparc-icl-nx7; exit ;;
338
echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
336
340
sun4H:SunOS:5.*:*)
337
341
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
339
343
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
340
344
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
343
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
346
i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
347
echo i386-pc-auroraux${UNAME_RELEASE}
349
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
350
eval $set_cc_for_build
352
# If there is a compiler, see if it is configured for 64-bit objects.
353
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
354
# This test works for both compilers.
355
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
356
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
357
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
358
grep IS_64BIT_ARCH >/dev/null
363
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
345
365
sun4*:SunOS:6*:*)
346
366
# According to config.sub, this is the proper way to canonicalize
399
419
echo m68k-hades-mint${UNAME_RELEASE}
401
421
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
402
echo m68k-unknown-mint${UNAME_RELEASE}
422
echo m68k-${VENDOR}-mint${UNAME_RELEASE}
404
424
m68k:machten:*:*)
405
425
echo m68k-apple-machten${UNAME_RELEASE}
712
732
if [ -x /usr/sbin/sysversion ] ; then
713
echo ${UNAME_MACHINE}-unknown-osf1mk
733
echo ${UNAME_MACHINE}-${VENDOR}-osf1mk
715
echo ${UNAME_MACHINE}-unknown-osf1
735
echo ${UNAME_MACHINE}-${VENDOR}-osf1
718
738
parisc*:Lites*:*:*)
772
792
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
774
794
sparc*:BSD/OS:*:*)
775
echo sparc-unknown-bsdi${UNAME_RELEASE}
795
echo sparc-${VENDOR}-bsdi${UNAME_RELEASE}
778
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
798
echo ${UNAME_MACHINE}-${VENDOR}-bsdi${UNAME_RELEASE}
781
801
case ${UNAME_MACHINE} in
783
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
803
echo i386-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
785
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
805
echo x86_64-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
787
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
807
echo ${UNAME_MACHINE}-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
791
811
echo ${UNAME_MACHINE}-pc-cygwin
794
814
echo ${UNAME_MACHINE}-pc-mingw32
801
821
echo ${UNAME_MACHINE}-pc-pw32
803
x86:Interix*:[3456]*)
804
echo i586-pc-interix${UNAME_RELEASE}
806
EM64T:Interix*:[3456]*)
807
echo x86_64-unknown-interix${UNAME_RELEASE}
824
case ${UNAME_MACHINE} in
826
echo i586-pc-interix${UNAME_RELEASE}
828
authenticamd | genuineintel | EM64T)
829
echo x86_64-${VENDOR}-interix${UNAME_RELEASE}
832
echo ia64-${VENDOR}-interix${UNAME_RELEASE}
809
835
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
810
836
echo i${UNAME_MACHINE}-pc-mks
812
841
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
813
842
# How do we know it's Interix rather than the generic POSIX subsystem?
814
843
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
819
848
echo ${UNAME_MACHINE}-pc-uwin
821
850
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
822
echo x86_64-unknown-cygwin
851
echo x86_64-${VENDOR}-cygwin
825
echo powerpcle-unknown-cygwin
854
echo powerpcle-${VENDOR}-cygwin
827
856
prep*:SunOS:5.*:*)
828
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
857
echo powerpcle-${VENDOR}-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
832
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
861
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-${VENDOR}-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
835
864
# other systems with GNU libc and userland
836
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
865
echo ${UNAME_MACHINE}-${VENDOR}-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
839
868
echo ${UNAME_MACHINE}-pc-minix
871
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
872
EV5) UNAME_MACHINE=alphaev5 ;;
873
EV56) UNAME_MACHINE=alphaev56 ;;
874
PCA56) UNAME_MACHINE=alphapca56 ;;
875
PCA57) UNAME_MACHINE=alphapca56 ;;
876
EV6) UNAME_MACHINE=alphaev6 ;;
877
EV67) UNAME_MACHINE=alphaev67 ;;
878
EV68*) UNAME_MACHINE=alphaev68 ;;
880
objdump --private-headers /bin/sh | grep -q ld.so.1
881
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
882
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC}
842
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
885
eval $set_cc_for_build
886
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
887
| grep -q __ARM_EABI__
889
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
891
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnueabi
844
894
avr32*:Linux:*:*)
845
echo ${UNAME_MACHINE}-unknown-linux-gnu
895
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
848
898
echo cris-axis-linux-gnu
854
904
echo frv-${VENDOR}-linux-gnu
908
eval $set_cc_for_build
909
sed 's/^ //' << EOF >$dummy.c
914
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
915
echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}"
857
918
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
863
924
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
866
eval $set_cc_for_build
867
sed 's/^ //' << EOF >$dummy.c
871
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
874
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
881
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
886
test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; }
889
eval $set_cc_for_build
890
sed 's/^ //' << EOF >$dummy.c
894
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
897
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
904
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
926
mips:Linux:*:* | mips64:Linux:*:*)
927
eval $set_cc_for_build
928
sed 's/^ //' << EOF >$dummy.c
930
#undef ${UNAME_MACHINE}
931
#undef ${UNAME_MACHINE}el
932
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
933
CPU=${UNAME_MACHINE}el
935
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
942
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
909
943
test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; }
912
946
echo or32-${VENDOR}-linux-gnu
915
echo powerpc-${VENDOR}-linux-gnu
918
echo powerpc64-${VENDOR}-linux-gnu
921
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
922
EV5) UNAME_MACHINE=alphaev5 ;;
923
EV56) UNAME_MACHINE=alphaev56 ;;
924
PCA56) UNAME_MACHINE=alphapca56 ;;
925
PCA57) UNAME_MACHINE=alphapca56 ;;
926
EV6) UNAME_MACHINE=alphaev6 ;;
927
EV67) UNAME_MACHINE=alphaev67 ;;
928
EV68*) UNAME_MACHINE=alphaev68 ;;
930
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
931
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC}
949
echo sparc-${VENDOR}-linux-gnu
951
parisc64:Linux:*:* | hppa64:Linux:*:*)
952
echo hppa64-${VENDOR}-linux-gnu
934
954
parisc:Linux:*:* | hppa:Linux:*:*)
935
955
# Look for CPU level
939
959
*) echo hppa-${VENDOR}-linux-gnu ;;
942
parisc64:Linux:*:* | hppa64:Linux:*:*)
943
echo hppa64-${VENDOR}-linux-gnu
963
echo powerpc64-${VENDOR}-linux-gnu
966
echo powerpc-${VENDOR}-linux-gnu
945
968
s390:Linux:*:* | s390x:Linux:*:*)
946
969
echo ${UNAME_MACHINE}-ibm-linux
960
983
x86_64:Linux:*:*)
961
984
echo x86_64-${VENDOR}-linux-gnu
964
# The BFD linker knows what the default object file format is, so
965
# first see if it will tell us. cd to the root directory to prevent
966
# problems with other programs or directories called `ld' in the path.
967
# Set LC_ALL=C to ensure ld outputs messages in English.
968
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
969
| sed -ne '/supported targets:/!d
971
s/.*supported targets: *//
974
case "$ld_supported_targets" in
976
TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux-gnu"
979
echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuaout"
982
echo "${UNAME_MACHINE}-${VENDOR}-linux-gnucoff"
985
# Either a pre-BFD a.out linker (linux-gnuoldld) or
986
# one that does not give us useful --help.
987
echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuoldld"
990
# Determine whether the default compiler is a.out or elf
991
eval $set_cc_for_build
992
sed 's/^ //' << EOF >$dummy.c
993
#include <features.h>
1005
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1015
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1020
test x"${LIBC}" != x && {
1021
echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}"
1024
test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
987
echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
1026
989
i*86:DYNIX/ptx:4*:*)
1027
990
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1028
991
# earlier versions are messed up and put the nodename in both
1043
1006
echo ${UNAME_MACHINE}-pc-os2-emx
1045
1008
i*86:XTS-300:*:STOP)
1046
echo ${UNAME_MACHINE}-unknown-stop
1009
echo ${UNAME_MACHINE}-${VENDOR}-stop
1048
1011
i*86:atheos:*:*)
1049
echo ${UNAME_MACHINE}-unknown-atheos
1012
echo ${UNAME_MACHINE}-${VENDOR}-atheos
1051
1014
i*86:syllable:*:*)
1052
1015
echo ${UNAME_MACHINE}-pc-syllable
1054
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1055
echo i386-unknown-lynxos${UNAME_RELEASE}
1017
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1018
echo i386-${VENDOR}-lynxos${UNAME_RELEASE}
1058
1021
echo ${UNAME_MACHINE}-pc-msdosdjgpp
1072
1035
*Pentium) UNAME_MACHINE=i586 ;;
1073
1036
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1075
echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1038
echo ${UNAME_MACHINE}-${VENDOR}-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1078
1041
if test -f /usr/options/cb.name; then
1096
1059
# Left here for compatibility:
1097
1060
# uname -m prints for DJGPP always 'pc', but it prints nothing about
1098
# the processor, so we play safe by assuming i386.
1099
echo i386-pc-msdosdjgpp
1061
# the processor, so we play safe by assuming i586.
1062
# Note: whatever this is, it MUST be the same as what config.sub
1063
# prints for the "djgpp" host, or else GDB configury will decide that
1064
# this is a cross-build.
1065
echo i586-pc-msdosdjgpp
1101
1067
Intel:Mach:3*:*)
1102
1068
echo i386-pc-mach3
1108
1074
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1109
1075
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1110
1076
else # Add other i860-SVR4 vendors below as they are discovered.
1111
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1077
echo i860-${VENDOR}-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1114
1080
mini*:CTIX:SYS*5:*)
1134
1100
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1135
1101
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1136
1102
&& { echo i486-ncr-sysv4; exit; } ;;
1103
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1105
test -r /etc/.relid \
1106
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1107
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1108
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1109
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1110
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1111
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1112
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1137
1113
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1138
echo m68k-unknown-lynxos${UNAME_RELEASE}
1114
echo m68k-${VENDOR}-lynxos${UNAME_RELEASE}
1140
1116
mc68030:UNIX_System_V:4.*:*)
1141
1117
echo m68k-atari-sysv4
1143
1119
TSUNAMI:LynxOS:2.*:*)
1144
echo sparc-unknown-lynxos${UNAME_RELEASE}
1120
echo sparc-${VENDOR}-lynxos${UNAME_RELEASE}
1146
1122
rs6000:LynxOS:2.*:*)
1147
echo rs6000-unknown-lynxos${UNAME_RELEASE}
1123
echo rs6000-${VENDOR}-lynxos${UNAME_RELEASE}
1149
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1150
echo powerpc-unknown-lynxos${UNAME_RELEASE}
1125
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1126
echo powerpc-${VENDOR}-lynxos${UNAME_RELEASE}
1152
1128
SM[BE]S:UNIX_SV:*:*)
1153
1129
echo mips-dde-sysv${UNAME_RELEASE}
1218
1197
SX-6:SUPER-UX:*:*)
1219
1198
echo sx6-nec-superux${UNAME_RELEASE}
1201
echo sx7-nec-superux${UNAME_RELEASE}
1204
echo sx8-nec-superux${UNAME_RELEASE}
1207
echo sx8r-nec-superux${UNAME_RELEASE}
1221
1209
Power*:Rhapsody:*:*)
1222
1210
echo powerpc-apple-rhapsody${UNAME_RELEASE}
1228
1216
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1229
1217
case $UNAME_PROCESSOR in
1219
eval $set_cc_for_build
1220
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1221
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1222
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1223
grep IS_64BIT_ARCH >/dev/null
1225
UNAME_PROCESSOR="x86_64"
1230
1228
unknown) UNAME_PROCESSOR=powerpc ;;
1232
1230
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1267
1265
UNAME_MACHINE="$cputype"
1269
echo ${UNAME_MACHINE}-unknown-plan9
1267
echo ${UNAME_MACHINE}-${VENDOR}-plan9
1272
echo pdp10-unknown-tops10
1270
echo pdp10-${VENDOR}-tops10
1275
echo pdp10-unknown-tenex
1273
echo pdp10-${VENDOR}-tenex
1277
1275
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1278
1276
echo pdp10-dec-tops20
1281
1279
echo pdp10-xkl-tops20
1284
echo pdp10-unknown-tops20
1282
echo pdp10-${VENDOR}-tops20
1287
echo pdp10-unknown-its
1285
echo pdp10-${VENDOR}-its
1290
1288
echo mips-sei-seiux${UNAME_RELEASE}
1292
1290
*:DragonFly:*:*)
1293
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1291
echo ${UNAME_MACHINE}-${VENDOR}-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1296
1294
UNAME_MACHINE=`(uname -p) 2>/dev/null`
1468
1469
the operating system you are using. It is advised that you
1469
1470
download the most up to date version of the config scripts from
1471
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1472
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1473
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1474
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1475
1476
If the version you run ($0) is already up to date, please
1476
1477
send the following data and any information you think might be