53
56
GNU config.guess ($timestamp)
55
58
Originally written by Per Bothner.
56
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
57
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.
59
62
This is free software; see the source for copying conditions. There is NO
60
63
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
196
200
# contains redundant information, the shorter form:
197
201
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
198
202
echo "${machine}-${os}${release}"
201
echo x86_64-unknown-openbsd${UNAME_RELEASE}
204
echo m68k-unknown-openbsd${UNAME_RELEASE}
207
echo mipsel-unknown-openbsd${UNAME_RELEASE}
210
echo arm-unknown-openbsd${UNAME_RELEASE}
213
echo m68k-unknown-openbsd${UNAME_RELEASE}
216
echo m68k-unknown-openbsd${UNAME_RELEASE}
219
echo powerpc-unknown-openbsd${UNAME_RELEASE}
222
echo m68k-unknown-openbsd${UNAME_RELEASE}
225
echo m88k-unknown-openbsd${UNAME_RELEASE}
228
echo powerpc-unknown-openbsd${UNAME_RELEASE}
231
echo powerpc-unknown-openbsd${UNAME_RELEASE}
234
echo mipsel-unknown-openbsd${UNAME_RELEASE}
237
echo mipseb-unknown-openbsd${UNAME_RELEASE}
240
echo m68k-unknown-openbsd${UNAME_RELEASE}
243
echo mipsel-unknown-openbsd${UNAME_RELEASE}
246
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
205
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
206
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
249
209
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
212
echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
251
214
macppc:MirBSD:*:*)
252
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
215
echo powerpc-unknown-mirbsd${UNAME_RELEASE}
255
218
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
258
221
case $UNAME_RELEASE in
348
314
echo pyramid-pyramid-bsd
352
318
echo pyramid-pyramid-svr4
354
320
DRS?6000:unix:4.0:6*)
355
321
echo sparc-icl-nx6
357
DRS?6000:UNIX_SV:4.2*:7*)
323
DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
358
324
case `/usr/bin/uname -p` in
359
sparc) echo sparc-icl-nx7 && exit 0 ;;
325
sparc) echo sparc-icl-nx7; exit ;;
328
echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
361
330
sun4H:SunOS:5.*:*)
362
331
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
364
333
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
365
334
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
368
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
336
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337
eval $set_cc_for_build
339
# If there is a compiler, see if it is configured for 64-bit objects.
340
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
341
# This test works for both compilers.
342
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
343
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
344
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
345
grep IS_64BIT_ARCH >/dev/null
350
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
370
352
sun4*:SunOS:6*:*)
371
353
# According to config.sub, this is the proper way to canonicalize
372
354
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
373
355
# it's likely to be more like Solaris than SunOS4.
374
356
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
377
359
case "`/usr/bin/arch -k`" in
411
393
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
412
394
echo m68k-atari-mint${UNAME_RELEASE}
414
396
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
415
397
echo m68k-atari-mint${UNAME_RELEASE}
417
399
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
418
400
echo m68k-atari-mint${UNAME_RELEASE}
420
402
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
421
403
echo m68k-milan-mint${UNAME_RELEASE}
423
405
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
424
406
echo m68k-hades-mint${UNAME_RELEASE}
426
408
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
427
409
echo m68k-unknown-mint${UNAME_RELEASE}
429
411
m68k:machten:*:*)
430
412
echo m68k-apple-machten${UNAME_RELEASE}
432
414
powerpc:machten:*:*)
433
415
echo powerpc-apple-machten${UNAME_RELEASE}
436
418
echo mips-dec-mach_bsd4.3
438
420
RISC*:ULTRIX:*:*)
439
421
echo mips-dec-ultrix${UNAME_RELEASE}
441
423
VAX*:ULTRIX*:*:*)
442
424
echo vax-dec-ultrix${UNAME_RELEASE}
444
426
2020:CLIX:*:* | 2430:CLIX:*:*)
445
427
echo clipper-intergraph-clix${UNAME_RELEASE}
447
429
mips:*:*:UMIPS | mips:*:*:RISCos)
448
430
eval $set_cc_for_build
449
431
sed 's/^ //' << EOF >$dummy.c
702
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
699
$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
700
{ echo "$SYSTEM_NAME"; exit; }
703
701
echo unknown-hitachi-hiuxwe2
705
703
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
706
704
echo hppa1.1-hp-bsd
708
706
9000/8??:4.3bsd:*:*)
709
707
echo hppa1.0-hp-bsd
711
709
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
712
710
echo hppa1.0-hp-mpeix
714
712
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
715
713
echo hppa1.1-hp-osf
718
716
echo hppa1.0-hp-osf
721
719
if [ -x /usr/sbin/sysversion ] ; then
722
720
echo ${UNAME_MACHINE}-unknown-osf1mk
724
722
echo ${UNAME_MACHINE}-unknown-osf1
727
725
parisc*:Lites*:*:*)
728
726
echo hppa1.1-hp-lites
730
728
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
731
729
echo c1-convex-bsd
733
731
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
734
732
if getsysinfo -f scalar_acc
735
733
then echo c32-convex-bsd
736
734
else echo c2-convex-bsd
739
737
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
740
738
echo c34-convex-bsd
742
740
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
743
741
echo c38-convex-bsd
745
743
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
746
744
echo c4-convex-bsd
749
747
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
751
749
CRAY*[A-Z]90:*:*:*)
752
750
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
753
751
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
754
752
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
755
753
-e 's/\.[^.]*$/.X/'
758
756
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
761
759
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
764
762
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
767
echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
765
echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
769
767
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
770
768
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
771
769
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
772
770
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
773
771
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
775
773
5000:UNIX_System_V:4.*:*)
776
774
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
777
775
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
778
776
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
780
778
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
781
779
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
783
781
sparc*:BSD/OS:*:*)
784
782
echo sparc-unknown-bsdi${UNAME_RELEASE}
787
785
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
790
# Determine whether the default compiler uses glibc.
791
eval $set_cc_for_build
792
sed 's/^ //' << EOF >$dummy.c
793
#include <features.h>
800
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
801
# GNU/KFreeBSD systems have a "k" prefix to indicate we are using
802
# FreeBSD's kernel, but not the complete OS.
803
case ${LIBC} in gnu) kernel_only='k' ;; esac
804
echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
788
case ${UNAME_MACHINE} in
790
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
792
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
794
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
807
798
echo ${UNAME_MACHINE}-pc-cygwin
810
801
echo ${UNAME_MACHINE}-pc-mingw32
804
# uname -m includes "-pc" on this system.
805
echo ${UNAME_MACHINE}-mingw32
813
808
echo ${UNAME_MACHINE}-pc-pw32
816
echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
811
case ${UNAME_MACHINE} in
813
echo i586-pc-interix${UNAME_RELEASE}
815
EM64T | authenticamd | genuineintel)
816
echo x86_64-unknown-interix${UNAME_RELEASE}
819
echo ia64-unknown-interix${UNAME_RELEASE}
818
822
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
819
823
echo i${UNAME_MACHINE}-pc-mks
821
828
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
822
829
# How do we know it's Interix rather than the generic POSIX subsystem?
823
830
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
824
831
# UNAME_MACHINE based on the output of uname instead of i386?
825
832
echo i586-pc-interix
828
835
echo ${UNAME_MACHINE}-pc-uwin
837
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
838
echo x86_64-unknown-cygwin
831
841
echo powerpcle-unknown-cygwin
833
843
prep*:SunOS:5.*:*)
834
844
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
838
848
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
841
851
# other systems with GNU libc and userland
842
852
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
845
855
echo ${UNAME_MACHINE}-pc-minix
858
eval $set_cc_for_build
859
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
860
| grep -q __ARM_EABI__
862
echo ${UNAME_MACHINE}-unknown-linux-gnu
864
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
848
868
echo ${UNAME_MACHINE}-unknown-linux-gnu
851
871
echo cris-axis-linux-gnu
874
echo crisv32-axis-linux-gnu
877
echo frv-unknown-linux-gnu
854
880
echo ${UNAME_MACHINE}-unknown-linux-gnu
857
883
echo ${UNAME_MACHINE}-unknown-linux-gnu
860
886
echo ${UNAME_MACHINE}-unknown-linux-gnu
863
eval $set_cc_for_build
864
sed 's/^ //' << EOF >$dummy.c
868
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
871
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
878
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
879
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
882
eval $set_cc_for_build
883
sed 's/^ //' << EOF >$dummy.c
887
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
890
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
897
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
898
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
888
mips:Linux:*:* | mips64:Linux:*:*)
889
eval $set_cc_for_build
890
sed 's/^ //' << EOF >$dummy.c
892
#undef ${UNAME_MACHINE}
893
#undef ${UNAME_MACHINE}el
894
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
895
CPU=${UNAME_MACHINE}el
897
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
904
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
909
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
912
echo or32-unknown-linux-gnu
901
915
echo powerpc-unknown-linux-gnu
904
918
echo powerpc64-unknown-linux-gnu
907
921
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
908
922
EV5) UNAME_MACHINE=alphaev5 ;;
1067
1087
echo ${UNAME_MACHINE}-pc-sysv32
1071
1091
# Left here for compatibility:
1072
1092
# uname -m prints for DJGPP always 'pc', but it prints nothing about
1073
# the processor, so we play safe by assuming i386.
1074
echo i386-pc-msdosdjgpp
1093
# the processor, so we play safe by assuming i586.
1094
# Note: whatever this is, it MUST be the same as what config.sub
1095
# prints for the "djgpp" host, or else GDB configury will decide that
1096
# this is a cross-build.
1097
echo i586-pc-msdosdjgpp
1076
1099
Intel:Mach:3*:*)
1077
1100
echo i386-pc-mach3
1080
1103
echo i860-intel-osf1
1082
1105
i860:*:4.*:*) # i860-SVR4
1083
1106
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1084
1107
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1085
1108
else # Add other i860-SVR4 vendors below as they are discovered.
1086
1109
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1089
1112
mini*:CTIX:SYS*5:*)
1091
1114
echo m68010-convergent-sysv
1093
1116
mc68k:UNIX:SYSTEM5:3.51m)
1094
1117
echo m68k-convergent-sysv
1096
1119
M680?0:D-NIX:5.3:*)
1097
1120
echo m68k-diab-dnix
1100
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
1101
3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
1122
M68*:*:R3V[5678]*:*)
1123
test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1124
3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1103
1126
test -r /etc/.relid \
1104
1127
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1105
1128
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1106
&& echo i486-ncr-sysv4.3${OS_REL} && exit 0
1129
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1107
1130
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1108
&& echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
1131
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1109
1132
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1110
1133
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1111
&& echo i486-ncr-sysv4 && exit 0 ;;
1134
&& { echo i486-ncr-sysv4; exit; } ;;
1135
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1137
test -r /etc/.relid \
1138
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1139
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1140
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1141
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1142
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1143
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1144
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1112
1145
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1113
1146
echo m68k-unknown-lynxos${UNAME_RELEASE}
1115
1148
mc68030:UNIX_System_V:4.*:*)
1116
1149
echo m68k-atari-sysv4
1118
1151
TSUNAMI:LynxOS:2.*:*)
1119
1152
echo sparc-unknown-lynxos${UNAME_RELEASE}
1121
1154
rs6000:LynxOS:2.*:*)
1122
1155
echo rs6000-unknown-lynxos${UNAME_RELEASE}
1124
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1157
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1125
1158
echo powerpc-unknown-lynxos${UNAME_RELEASE}
1127
1160
SM[BE]S:UNIX_SV:*:*)
1128
1161
echo mips-dde-sysv${UNAME_RELEASE}
1130
1163
RM*:ReliantUNIX-*:*:*)
1131
1164
echo mips-sni-sysv4
1133
1166
RM*:SINIX-*:*:*)
1134
1167
echo mips-sni-sysv4
1137
1170
if uname -p 2>/dev/null >/dev/null ; then
1138
1171
UNAME_MACHINE=`(uname -p) 2>/dev/null`
1141
1174
echo ns32k-sni-sysv
1144
1177
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1145
1178
# says <Richard.M.Bartel@ccMail.Census.GOV>
1146
1179
echo i586-unisys-sysv4
1148
1181
*:UNIX_System_V:4*:FTX*)
1149
1182
# From Gerald Hewes <hewes@openmarket.com>.
1150
1183
# How about differentiating between stratus architectures? -djm
1151
1184
echo hppa1.1-stratus-sysv4
1154
1187
# From seanf@swdc.stratus.com.
1155
1188
echo i860-stratus-sysv4
1191
# From Paul.Green@stratus.com.
1192
echo ${UNAME_MACHINE}-stratus-vos
1158
1195
# From Paul.Green@stratus.com.
1159
1196
echo hppa1.1-stratus-vos
1161
1198
mc68*:A/UX:*:*)
1162
1199
echo m68k-apple-aux${UNAME_RELEASE}
1164
1201
news*:NEWS-OS:6*:*)
1165
1202
echo mips-sony-newsos6
1167
1204
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1168
1205
if [ -d /usr/nec ]; then
1169
1206
echo mips-nec-sysv${UNAME_RELEASE}
1171
1208
echo mips-unknown-sysv${UNAME_RELEASE}
1174
1211
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1175
1212
echo powerpc-be-beos
1177
1214
BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1178
1215
echo powerpc-apple-beos
1180
1217
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1181
1218
echo i586-pc-beos
1220
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1183
1223
SX-4:SUPER-UX:*:*)
1184
1224
echo sx4-nec-superux${UNAME_RELEASE}
1186
1226
SX-5:SUPER-UX:*:*)
1187
1227
echo sx5-nec-superux${UNAME_RELEASE}
1189
1229
SX-6:SUPER-UX:*:*)
1190
1230
echo sx6-nec-superux${UNAME_RELEASE}
1233
echo sx7-nec-superux${UNAME_RELEASE}
1236
echo sx8-nec-superux${UNAME_RELEASE}
1239
echo sx8r-nec-superux${UNAME_RELEASE}
1192
1241
Power*:Rhapsody:*:*)
1193
1242
echo powerpc-apple-rhapsody${UNAME_RELEASE}
1195
1244
*:Rhapsody:*:*)
1196
1245
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1200
*86) UNAME_PROCESSOR=i686 ;;
1201
powerpc) UNAME_PROCESSOR=powerpc ;;
1248
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1249
case $UNAME_PROCESSOR in
1250
unknown) UNAME_PROCESSOR=powerpc ;;
1203
1252
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1205
1254
*:procnto*:*:* | *:QNX:[0123456789]*:*)
1206
1255
UNAME_PROCESSOR=`uname -p`
1207
1256
if test "$UNAME_PROCESSOR" = "x86"; then