rice 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Doxyfile +1 -1
- data/Makefile.in +58 -142
- data/aclocal.m4 +112 -201
- data/config.guess +23 -84
- data/config.sub +23 -93
- data/configure +2727 -2406
- data/depcomp +14 -19
- data/install-sh +108 -120
- data/rice/Constructor.hpp +350 -322
- data/rice/Makefile.am +0 -1
- data/rice/Makefile.in +69 -119
- data/rice/config.hpp +2 -8
- data/rice/config.hpp.in +0 -6
- data/rice/detail/Auto_Function_Wrapper.hpp +1 -33
- data/rice/detail/Auto_Function_Wrapper.ipp +1009 -1060
- data/rice/detail/Auto_Member_Function_Wrapper.ipp +608 -672
- data/rice/detail/method_data.cpp +0 -4
- data/rice/detail/object_call.hpp +31 -48
- data/rice/detail/object_call.ipp +45 -61
- data/rice/detail/wrap_function.hpp +70 -74
- data/rice/detail/wrap_function.ipp +126 -143
- data/rice/protect.hpp +30 -30
- data/rice/protect.ipp +770 -696
- data/ruby.ac +0 -14
- data/ruby/Makefile.in +41 -108
- data/ruby/lib/Makefile.in +23 -64
- data/ruby/lib/version.rb +1 -1
- data/sample/Makefile.in +12 -36
- data/test/Makefile.in +59 -148
- data/test/ext/Makefile.in +12 -36
- data/test/test_Constructor.cpp +42 -153
- data/test/test_Module.cpp +4 -4
- metadata +132 -124
- data/rice/generate_code.rb +0 -1328
data/config.guess
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#! /bin/sh
|
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
|
5
|
-
#
|
4
|
+
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
5
|
+
# Inc.
|
6
6
|
|
7
|
-
timestamp='
|
7
|
+
timestamp='2006-07-02'
|
8
8
|
|
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
|
@@ -56,8 +56,8 @@ version="\
|
|
56
56
|
GNU config.guess ($timestamp)
|
57
57
|
|
58
58
|
Originally written by Per Bothner.
|
59
|
-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
60
|
-
|
59
|
+
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
60
|
+
Free Software Foundation, Inc.
|
61
61
|
|
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."
|
@@ -161,7 +161,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
161
161
|
arm*) machine=arm-unknown ;;
|
162
162
|
sh3el) machine=shl-unknown ;;
|
163
163
|
sh3eb) machine=sh-unknown ;;
|
164
|
-
sh5el) machine=sh5le-unknown ;;
|
165
164
|
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
166
165
|
esac
|
167
166
|
# The Operating System including object format, if it has switched
|
@@ -324,30 +323,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
324
323
|
case `/usr/bin/uname -p` in
|
325
324
|
sparc) echo sparc-icl-nx7; exit ;;
|
326
325
|
esac ;;
|
327
|
-
s390x:SunOS:*:*)
|
328
|
-
echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
329
|
-
exit ;;
|
330
326
|
sun4H:SunOS:5.*:*)
|
331
327
|
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
332
328
|
exit ;;
|
333
329
|
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
|
334
330
|
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
335
331
|
exit ;;
|
336
|
-
i86pc:SunOS:5.*:*
|
337
|
-
|
338
|
-
SUN_ARCH="i386"
|
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
|
346
|
-
then
|
347
|
-
SUN_ARCH="x86_64"
|
348
|
-
fi
|
349
|
-
fi
|
350
|
-
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
332
|
+
i86pc:SunOS:5.*:*)
|
333
|
+
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
351
334
|
exit ;;
|
352
335
|
sun4*:SunOS:6*:*)
|
353
336
|
# According to config.sub, this is the proper way to canonicalize
|
@@ -548,7 +531,7 @@ EOF
|
|
548
531
|
echo rs6000-ibm-aix3.2
|
549
532
|
fi
|
550
533
|
exit ;;
|
551
|
-
*:AIX:*:[
|
534
|
+
*:AIX:*:[45])
|
552
535
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
553
536
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
554
537
|
IBM_ARCH=rs6000
|
@@ -797,7 +780,7 @@ EOF
|
|
797
780
|
i*:CYGWIN*:*)
|
798
781
|
echo ${UNAME_MACHINE}-pc-cygwin
|
799
782
|
exit ;;
|
800
|
-
*:MINGW*:*)
|
783
|
+
i*:MINGW*:*)
|
801
784
|
echo ${UNAME_MACHINE}-pc-mingw32
|
802
785
|
exit ;;
|
803
786
|
i*:windows32*:*)
|
@@ -807,18 +790,12 @@ EOF
|
|
807
790
|
i*:PW*:*)
|
808
791
|
echo ${UNAME_MACHINE}-pc-pw32
|
809
792
|
exit ;;
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
echo x86_64-unknown-interix${UNAME_RELEASE}
|
817
|
-
exit ;;
|
818
|
-
IA64)
|
819
|
-
echo ia64-unknown-interix${UNAME_RELEASE}
|
820
|
-
exit ;;
|
821
|
-
esac ;;
|
793
|
+
x86:Interix*:[3456]*)
|
794
|
+
echo i586-pc-interix${UNAME_RELEASE}
|
795
|
+
exit ;;
|
796
|
+
EM64T:Interix*:[3456]*)
|
797
|
+
echo x86_64-unknown-interix${UNAME_RELEASE}
|
798
|
+
exit ;;
|
822
799
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
823
800
|
echo i${UNAME_MACHINE}-pc-mks
|
824
801
|
exit ;;
|
@@ -852,14 +829,7 @@ EOF
|
|
852
829
|
echo ${UNAME_MACHINE}-pc-minix
|
853
830
|
exit ;;
|
854
831
|
arm*:Linux:*:*)
|
855
|
-
|
856
|
-
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
857
|
-
| grep -q __ARM_EABI__
|
858
|
-
then
|
859
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
860
|
-
else
|
861
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
862
|
-
fi
|
832
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
863
833
|
exit ;;
|
864
834
|
avr32*:Linux:*:*)
|
865
835
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
@@ -951,9 +921,6 @@ EOF
|
|
951
921
|
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
952
922
|
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
953
923
|
exit ;;
|
954
|
-
padre:Linux:*:*)
|
955
|
-
echo sparc-unknown-linux-gnu
|
956
|
-
exit ;;
|
957
924
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
958
925
|
# Look for CPU level
|
959
926
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
@@ -983,9 +950,6 @@ EOF
|
|
983
950
|
x86_64:Linux:*:*)
|
984
951
|
echo x86_64-unknown-linux-gnu
|
985
952
|
exit ;;
|
986
|
-
xtensa*:Linux:*:*)
|
987
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
988
|
-
exit ;;
|
989
953
|
i*86:Linux:*:*)
|
990
954
|
# The BFD linker knows what the default object file format is, so
|
991
955
|
# first see if it will tell us. cd to the root directory to prevent
|
@@ -1004,6 +968,9 @@ EOF
|
|
1004
968
|
a.out-i386-linux)
|
1005
969
|
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
1006
970
|
exit ;;
|
971
|
+
coff-i386)
|
972
|
+
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
973
|
+
exit ;;
|
1007
974
|
"")
|
1008
975
|
# Either a pre-BFD a.out linker (linux-gnuoldld) or
|
1009
976
|
# one that does not give us useful --help.
|
@@ -1118,11 +1085,8 @@ EOF
|
|
1118
1085
|
pc:*:*:*)
|
1119
1086
|
# Left here for compatibility:
|
1120
1087
|
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
1121
|
-
# the processor, so we play safe by assuming
|
1122
|
-
|
1123
|
-
# prints for the "djgpp" host, or else GDB configury will decide that
|
1124
|
-
# this is a cross-build.
|
1125
|
-
echo i586-pc-msdosdjgpp
|
1088
|
+
# the processor, so we play safe by assuming i386.
|
1089
|
+
echo i386-pc-msdosdjgpp
|
1126
1090
|
exit ;;
|
1127
1091
|
Intel:Mach:3*:*)
|
1128
1092
|
echo i386-pc-mach3
|
@@ -1160,16 +1124,6 @@ EOF
|
|
1160
1124
|
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
1161
1125
|
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
1162
1126
|
&& { echo i486-ncr-sysv4; exit; } ;;
|
1163
|
-
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
|
1164
|
-
OS_REL='.3'
|
1165
|
-
test -r /etc/.relid \
|
1166
|
-
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
1167
|
-
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
1168
|
-
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
|
1169
|
-
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
1170
|
-
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; }
|
1171
|
-
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
|
1172
|
-
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
1173
1127
|
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
1174
1128
|
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
1175
1129
|
exit ;;
|
@@ -1245,9 +1199,6 @@ EOF
|
|
1245
1199
|
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
1246
1200
|
echo i586-pc-beos
|
1247
1201
|
exit ;;
|
1248
|
-
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
1249
|
-
echo i586-pc-haiku
|
1250
|
-
exit ;;
|
1251
1202
|
SX-4:SUPER-UX:*:*)
|
1252
1203
|
echo sx4-nec-superux${UNAME_RELEASE}
|
1253
1204
|
exit ;;
|
@@ -1257,15 +1208,6 @@ EOF
|
|
1257
1208
|
SX-6:SUPER-UX:*:*)
|
1258
1209
|
echo sx6-nec-superux${UNAME_RELEASE}
|
1259
1210
|
exit ;;
|
1260
|
-
SX-7:SUPER-UX:*:*)
|
1261
|
-
echo sx7-nec-superux${UNAME_RELEASE}
|
1262
|
-
exit ;;
|
1263
|
-
SX-8:SUPER-UX:*:*)
|
1264
|
-
echo sx8-nec-superux${UNAME_RELEASE}
|
1265
|
-
exit ;;
|
1266
|
-
SX-8R:SUPER-UX:*:*)
|
1267
|
-
echo sx8r-nec-superux${UNAME_RELEASE}
|
1268
|
-
exit ;;
|
1269
1211
|
Power*:Rhapsody:*:*)
|
1270
1212
|
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
1271
1213
|
exit ;;
|
@@ -1356,9 +1298,6 @@ EOF
|
|
1356
1298
|
i*86:rdos:*:*)
|
1357
1299
|
echo ${UNAME_MACHINE}-pc-rdos
|
1358
1300
|
exit ;;
|
1359
|
-
i*86:AROS:*:*)
|
1360
|
-
echo ${UNAME_MACHINE}-pc-aros
|
1361
|
-
exit ;;
|
1362
1301
|
esac
|
1363
1302
|
|
1364
1303
|
#echo '(No uname command or uname output not recognized.)' 1>&2
|
@@ -1519,9 +1458,9 @@ This script, last modified $timestamp, has failed to recognize
|
|
1519
1458
|
the operating system you are using. It is advised that you
|
1520
1459
|
download the most up to date version of the config scripts from
|
1521
1460
|
|
1522
|
-
http://
|
1461
|
+
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
|
1523
1462
|
and
|
1524
|
-
http://
|
1463
|
+
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
|
1525
1464
|
|
1526
1465
|
If the version you run ($0) is already up to date, please
|
1527
1466
|
send the following data and any information you think might be
|
data/config.sub
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Configuration validation subroutine script.
|
3
3
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
4
|
-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
5
|
-
#
|
4
|
+
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
5
|
+
# Inc.
|
6
6
|
|
7
|
-
timestamp='
|
7
|
+
timestamp='2006-09-20'
|
8
8
|
|
9
9
|
# This file is (in principle) common to ALL GNU software.
|
10
10
|
# The presence of a machine in this file suggests that SOME GNU software
|
@@ -72,8 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
72
72
|
version="\
|
73
73
|
GNU config.sub ($timestamp)
|
74
74
|
|
75
|
-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
76
|
-
|
75
|
+
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
76
|
+
Free Software Foundation, Inc.
|
77
77
|
|
78
78
|
This is free software; see the source for copying conditions. There is NO
|
79
79
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
@@ -122,7 +122,6 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
122
122
|
case $maybe_os in
|
123
123
|
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
124
124
|
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
125
|
-
kopensolaris*-gnu* | \
|
126
125
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
127
126
|
os=-$maybe_os
|
128
127
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
@@ -246,20 +245,17 @@ case $basic_machine in
|
|
246
245
|
| bfin \
|
247
246
|
| c4x | clipper \
|
248
247
|
| d10v | d30v | dlx | dsp16xx \
|
249
|
-
|
|
248
|
+
| fr30 | frv \
|
250
249
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
251
250
|
| i370 | i860 | i960 | ia64 \
|
252
251
|
| ip2k | iq2000 \
|
253
|
-
| lm32 \
|
254
252
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
255
|
-
| maxq | mb | microblaze | mcore
|
253
|
+
| maxq | mb | microblaze | mcore \
|
256
254
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
257
255
|
| mips16 \
|
258
256
|
| mips64 | mips64el \
|
259
|
-
| mips64octeon | mips64octeonel \
|
260
|
-
| mips64orion | mips64orionel \
|
261
|
-
| mips64r5900 | mips64r5900el \
|
262
257
|
| mips64vr | mips64vrel \
|
258
|
+
| mips64orion | mips64orionel \
|
263
259
|
| mips64vr4100 | mips64vr4100el \
|
264
260
|
| mips64vr4300 | mips64vr4300el \
|
265
261
|
| mips64vr5000 | mips64vr5000el \
|
@@ -272,7 +268,6 @@ case $basic_machine in
|
|
272
268
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
273
269
|
| mipstx39 | mipstx39el \
|
274
270
|
| mn10200 | mn10300 \
|
275
|
-
| moxie \
|
276
271
|
| mt \
|
277
272
|
| msp430 \
|
278
273
|
| nios | nios2 \
|
@@ -282,7 +277,7 @@ case $basic_machine in
|
|
282
277
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
283
278
|
| pyramid \
|
284
279
|
| score \
|
285
|
-
| sh | sh[1234] | sh[24]a | sh[
|
280
|
+
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
286
281
|
| sh64 | sh64le \
|
287
282
|
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
288
283
|
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
@@ -291,7 +286,7 @@ case $basic_machine in
|
|
291
286
|
| v850 | v850e \
|
292
287
|
| we32k \
|
293
288
|
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
294
|
-
| z8k
|
289
|
+
| z8k)
|
295
290
|
basic_machine=$basic_machine-unknown
|
296
291
|
;;
|
297
292
|
m6811 | m68hc11 | m6812 | m68hc12)
|
@@ -329,22 +324,19 @@ case $basic_machine in
|
|
329
324
|
| clipper-* | craynv-* | cydra-* \
|
330
325
|
| d10v-* | d30v-* | dlx-* \
|
331
326
|
| elxsi-* \
|
332
|
-
| f30[01]-* | f700-* |
|
327
|
+
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
|
333
328
|
| h8300-* | h8500-* \
|
334
329
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
335
330
|
| i*86-* | i860-* | i960-* | ia64-* \
|
336
331
|
| ip2k-* | iq2000-* \
|
337
|
-
| lm32-* \
|
338
332
|
| m32c-* | m32r-* | m32rle-* \
|
339
333
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
340
|
-
| m88110-* | m88k-* | maxq-* | mcore-*
|
334
|
+
| m88110-* | m88k-* | maxq-* | mcore-* \
|
341
335
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
342
336
|
| mips16-* \
|
343
337
|
| mips64-* | mips64el-* \
|
344
|
-
| mips64octeon-* | mips64octeonel-* \
|
345
|
-
| mips64orion-* | mips64orionel-* \
|
346
|
-
| mips64r5900-* | mips64r5900el-* \
|
347
338
|
| mips64vr-* | mips64vrel-* \
|
339
|
+
| mips64orion-* | mips64orionel-* \
|
348
340
|
| mips64vr4100-* | mips64vr4100el-* \
|
349
341
|
| mips64vr4300-* | mips64vr4300el-* \
|
350
342
|
| mips64vr5000-* | mips64vr5000el-* \
|
@@ -366,24 +358,20 @@ case $basic_machine in
|
|
366
358
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
367
359
|
| pyramid-* \
|
368
360
|
| romp-* | rs6000-* \
|
369
|
-
| sh-* | sh[1234]-* | sh[24]a-* | sh[
|
361
|
+
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
370
362
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
371
363
|
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
372
364
|
| sparclite-* \
|
373
365
|
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
374
366
|
| tahoe-* | thumb-* \
|
375
|
-
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-*
|
367
|
+
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
376
368
|
| tron-* \
|
377
369
|
| v850-* | v850e-* | vax-* \
|
378
370
|
| we32k-* \
|
379
371
|
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
380
|
-
| xstormy16-* | xtensa
|
372
|
+
| xstormy16-* | xtensa-* \
|
381
373
|
| ymp-* \
|
382
|
-
| z8k-*
|
383
|
-
;;
|
384
|
-
# Recognize the basic CPU types without company name, with glob match.
|
385
|
-
xtensa*)
|
386
|
-
basic_machine=$basic_machine-unknown
|
374
|
+
| z8k-*)
|
387
375
|
;;
|
388
376
|
# Recognize the various machine names and aliases which stand
|
389
377
|
# for a CPU type and a company and sometimes even an OS.
|
@@ -447,10 +435,6 @@ case $basic_machine in
|
|
447
435
|
basic_machine=m68k-apollo
|
448
436
|
os=-bsd
|
449
437
|
;;
|
450
|
-
aros)
|
451
|
-
basic_machine=i386-pc
|
452
|
-
os=-aros
|
453
|
-
;;
|
454
438
|
aux)
|
455
439
|
basic_machine=m68k-apple
|
456
440
|
os=-aux
|
@@ -459,22 +443,10 @@ case $basic_machine in
|
|
459
443
|
basic_machine=ns32k-sequent
|
460
444
|
os=-dynix
|
461
445
|
;;
|
462
|
-
blackfin)
|
463
|
-
basic_machine=bfin-unknown
|
464
|
-
os=-linux
|
465
|
-
;;
|
466
|
-
blackfin-*)
|
467
|
-
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
468
|
-
os=-linux
|
469
|
-
;;
|
470
446
|
c90)
|
471
447
|
basic_machine=c90-cray
|
472
448
|
os=-unicos
|
473
449
|
;;
|
474
|
-
cegcc)
|
475
|
-
basic_machine=arm-unknown
|
476
|
-
os=-cegcc
|
477
|
-
;;
|
478
450
|
convex-c1)
|
479
451
|
basic_machine=c1-convex
|
480
452
|
os=-bsd
|
@@ -503,8 +475,8 @@ case $basic_machine in
|
|
503
475
|
basic_machine=craynv-cray
|
504
476
|
os=-unicosmp
|
505
477
|
;;
|
506
|
-
|
507
|
-
basic_machine=
|
478
|
+
cr16c)
|
479
|
+
basic_machine=cr16c-unknown
|
508
480
|
os=-elf
|
509
481
|
;;
|
510
482
|
crds | unos)
|
@@ -542,10 +514,6 @@ case $basic_machine in
|
|
542
514
|
basic_machine=m88k-motorola
|
543
515
|
os=-sysv3
|
544
516
|
;;
|
545
|
-
dicos)
|
546
|
-
basic_machine=i686-pc
|
547
|
-
os=-dicos
|
548
|
-
;;
|
549
517
|
djgpp)
|
550
518
|
basic_machine=i586-pc
|
551
519
|
os=-msdosdjgpp
|
@@ -700,14 +668,6 @@ case $basic_machine in
|
|
700
668
|
basic_machine=m68k-isi
|
701
669
|
os=-sysv
|
702
670
|
;;
|
703
|
-
m68knommu)
|
704
|
-
basic_machine=m68k-unknown
|
705
|
-
os=-linux
|
706
|
-
;;
|
707
|
-
m68knommu-*)
|
708
|
-
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
709
|
-
os=-linux
|
710
|
-
;;
|
711
671
|
m88k-omron*)
|
712
672
|
basic_machine=m88k-omron
|
713
673
|
;;
|
@@ -723,10 +683,6 @@ case $basic_machine in
|
|
723
683
|
basic_machine=i386-pc
|
724
684
|
os=-mingw32
|
725
685
|
;;
|
726
|
-
mingw32ce)
|
727
|
-
basic_machine=arm-unknown
|
728
|
-
os=-mingw32ce
|
729
|
-
;;
|
730
686
|
miniframe)
|
731
687
|
basic_machine=m68000-convergent
|
732
688
|
;;
|
@@ -853,14 +809,6 @@ case $basic_machine in
|
|
853
809
|
basic_machine=i860-intel
|
854
810
|
os=-osf
|
855
811
|
;;
|
856
|
-
parisc)
|
857
|
-
basic_machine=hppa-unknown
|
858
|
-
os=-linux
|
859
|
-
;;
|
860
|
-
parisc-*)
|
861
|
-
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
862
|
-
os=-linux
|
863
|
-
;;
|
864
812
|
pbd)
|
865
813
|
basic_machine=sparc-tti
|
866
814
|
;;
|
@@ -977,9 +925,6 @@ case $basic_machine in
|
|
977
925
|
basic_machine=sh-hitachi
|
978
926
|
os=-hms
|
979
927
|
;;
|
980
|
-
sh5el)
|
981
|
-
basic_machine=sh5le-unknown
|
982
|
-
;;
|
983
928
|
sh64)
|
984
929
|
basic_machine=sh64-unknown
|
985
930
|
;;
|
@@ -1069,10 +1014,6 @@ case $basic_machine in
|
|
1069
1014
|
basic_machine=tic6x-unknown
|
1070
1015
|
os=-coff
|
1071
1016
|
;;
|
1072
|
-
tile*)
|
1073
|
-
basic_machine=tile-unknown
|
1074
|
-
os=-linux-gnu
|
1075
|
-
;;
|
1076
1017
|
tx39)
|
1077
1018
|
basic_machine=mipstx39-unknown
|
1078
1019
|
;;
|
@@ -1148,10 +1089,6 @@ case $basic_machine in
|
|
1148
1089
|
basic_machine=z8k-unknown
|
1149
1090
|
os=-sim
|
1150
1091
|
;;
|
1151
|
-
z80-*-coff)
|
1152
|
-
basic_machine=z80-unknown
|
1153
|
-
os=-sim
|
1154
|
-
;;
|
1155
1092
|
none)
|
1156
1093
|
basic_machine=none-none
|
1157
1094
|
os=-none
|
@@ -1190,7 +1127,7 @@ case $basic_machine in
|
|
1190
1127
|
we32k)
|
1191
1128
|
basic_machine=we32k-att
|
1192
1129
|
;;
|
1193
|
-
sh[1234] | sh[24]a | sh[
|
1130
|
+
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
1194
1131
|
basic_machine=sh-unknown
|
1195
1132
|
;;
|
1196
1133
|
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
@@ -1262,9 +1199,8 @@ case $os in
|
|
1262
1199
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
1263
1200
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
1264
1201
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
1265
|
-
| -kopensolaris* \
|
1266
1202
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
1267
|
-
| -aos*
|
1203
|
+
| -aos* \
|
1268
1204
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
1269
1205
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
1270
1206
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
@@ -1273,7 +1209,7 @@ case $os in
|
|
1273
1209
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
1274
1210
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
1275
1211
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
1276
|
-
| -chorusos* | -chorusrdb*
|
1212
|
+
| -chorusos* | -chorusrdb* \
|
1277
1213
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
1278
1214
|
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
1279
1215
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
@@ -1283,7 +1219,7 @@ case $os in
|
|
1283
1219
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
1284
1220
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
1285
1221
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
1286
|
-
| -skyos* | -haiku* | -rdos* | -toppers*
|
1222
|
+
| -skyos* | -haiku* | -rdos* | -toppers*)
|
1287
1223
|
# Remember, each alternative MUST END IN *, to match a version number.
|
1288
1224
|
;;
|
1289
1225
|
-qnx*)
|
@@ -1413,9 +1349,6 @@ case $os in
|
|
1413
1349
|
-zvmoe)
|
1414
1350
|
os=-zvmoe
|
1415
1351
|
;;
|
1416
|
-
-dicos*)
|
1417
|
-
os=-dicos
|
1418
|
-
;;
|
1419
1352
|
-none)
|
1420
1353
|
;;
|
1421
1354
|
*)
|
@@ -1481,9 +1414,6 @@ case $basic_machine in
|
|
1481
1414
|
m68*-cisco)
|
1482
1415
|
os=-aout
|
1483
1416
|
;;
|
1484
|
-
mep-*)
|
1485
|
-
os=-elf
|
1486
|
-
;;
|
1487
1417
|
mips*-cisco)
|
1488
1418
|
os=-elf
|
1489
1419
|
;;
|