diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | config.guess | 155 | ||||
-rwxr-xr-x | config.sub | 191 |
3 files changed, 244 insertions, 109 deletions
@@ -1,3 +1,8 @@ | |||
1 | 20080906 | ||
2 | - (dtucker) [config.guess config.sub] Update to latest versions from | ||
3 | http://git.savannah.gnu.org/gitweb/ (2008-04-14 and 2008-06-16 | ||
4 | respectively). | ||
5 | |||
1 | 20080830 | 6 | 20080830 |
2 | - (dtucker) [openbsd-compat/bsd-poll.c] correctly check for number of FDs | 7 | - (dtucker) [openbsd-compat/bsd-poll.c] correctly check for number of FDs |
3 | larger than FD_SETSIZE (OpenSSH only ever uses poll with one fd). Patch | 8 | larger than FD_SETSIZE (OpenSSH only ever uses poll with one fd). Patch |
@@ -4726,4 +4731,4 @@ | |||
4726 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 4731 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
4727 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 4732 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
4728 | 4733 | ||
4729 | $Id: ChangeLog,v 1.5098 2008/08/29 21:32:37 dtucker Exp $ | 4734 | $Id: ChangeLog,v 1.5099 2008/09/06 08:20:57 dtucker Exp $ |
diff --git a/config.guess b/config.guess index 6d71f752f..c7607c74f 100755 --- a/config.guess +++ b/config.guess | |||
@@ -1,9 +1,10 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Attempt to guess a canonical system name. | 2 | # Attempt to guess a canonical system name. |
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 | # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
5 | # Free Software Foundation, Inc. | ||
5 | 6 | ||
6 | timestamp='2005-05-27' | 7 | timestamp='2008-04-14' |
7 | 8 | ||
8 | # This file is free software; you can redistribute it and/or modify it | 9 | # This file is free software; you can redistribute it and/or modify it |
9 | # under the terms of the GNU General Public License as published by | 10 | # under the terms of the GNU General Public License as published by |
@@ -55,8 +56,8 @@ version="\ | |||
55 | GNU config.guess ($timestamp) | 56 | GNU config.guess ($timestamp) |
56 | 57 | ||
57 | Originally written by Per Bothner. | 58 | Originally written by Per Bothner. |
58 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 59 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
59 | Free Software Foundation, Inc. | 60 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
60 | 61 | ||
61 | This is free software; see the source for copying conditions. There is NO | 62 | This is free software; see the source for copying conditions. There is NO |
62 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 63 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
@@ -106,7 +107,7 @@ set_cc_for_build=' | |||
106 | trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; | 107 | trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; |
107 | trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; | 108 | trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; |
108 | : ${TMPDIR=/tmp} ; | 109 | : ${TMPDIR=/tmp} ; |
109 | { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || | 110 | { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || |
110 | { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || | 111 | { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || |
111 | { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || | 112 | { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || |
112 | { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; | 113 | { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; |
@@ -125,7 +126,7 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in | |||
125 | ;; | 126 | ;; |
126 | ,,*) CC_FOR_BUILD=$CC ;; | 127 | ,,*) CC_FOR_BUILD=$CC ;; |
127 | ,*,*) CC_FOR_BUILD=$HOST_CC ;; | 128 | ,*,*) CC_FOR_BUILD=$HOST_CC ;; |
128 | esac ;' | 129 | esac ; set_cc_for_build= ;' |
129 | 130 | ||
130 | # This is needed to find uname on a Pyramid OSx when run in the BSD universe. | 131 | # This is needed to find uname on a Pyramid OSx when run in the BSD universe. |
131 | # (ghazi@noc.rutgers.edu 1994-08-24) | 132 | # (ghazi@noc.rutgers.edu 1994-08-24) |
@@ -160,6 +161,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
160 | arm*) machine=arm-unknown ;; | 161 | arm*) machine=arm-unknown ;; |
161 | sh3el) machine=shl-unknown ;; | 162 | sh3el) machine=shl-unknown ;; |
162 | sh3eb) machine=sh-unknown ;; | 163 | sh3eb) machine=sh-unknown ;; |
164 | sh5el) machine=sh5le-unknown ;; | ||
163 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | 165 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; |
164 | esac | 166 | esac |
165 | # The Operating System including object format, if it has switched | 167 | # The Operating System including object format, if it has switched |
@@ -199,50 +201,18 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
199 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. | 201 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
200 | echo "${machine}-${os}${release}" | 202 | echo "${machine}-${os}${release}" |
201 | exit ;; | 203 | exit ;; |
202 | amd64:OpenBSD:*:*) | ||
203 | echo x86_64-unknown-openbsd${UNAME_RELEASE} | ||
204 | exit ;; | ||
205 | amiga:OpenBSD:*:*) | ||
206 | echo m68k-unknown-openbsd${UNAME_RELEASE} | ||
207 | exit ;; | ||
208 | cats:OpenBSD:*:*) | ||
209 | echo arm-unknown-openbsd${UNAME_RELEASE} | ||
210 | exit ;; | ||
211 | hp300:OpenBSD:*:*) | ||
212 | echo m68k-unknown-openbsd${UNAME_RELEASE} | ||
213 | exit ;; | ||
214 | luna88k:OpenBSD:*:*) | ||
215 | echo m88k-unknown-openbsd${UNAME_RELEASE} | ||
216 | exit ;; | ||
217 | mac68k:OpenBSD:*:*) | ||
218 | echo m68k-unknown-openbsd${UNAME_RELEASE} | ||
219 | exit ;; | ||
220 | macppc:OpenBSD:*:*) | ||
221 | echo powerpc-unknown-openbsd${UNAME_RELEASE} | ||
222 | exit ;; | ||
223 | mvme68k:OpenBSD:*:*) | ||
224 | echo m68k-unknown-openbsd${UNAME_RELEASE} | ||
225 | exit ;; | ||
226 | mvme88k:OpenBSD:*:*) | ||
227 | echo m88k-unknown-openbsd${UNAME_RELEASE} | ||
228 | exit ;; | ||
229 | mvmeppc:OpenBSD:*:*) | ||
230 | echo powerpc-unknown-openbsd${UNAME_RELEASE} | ||
231 | exit ;; | ||
232 | sgi:OpenBSD:*:*) | ||
233 | echo mips64-unknown-openbsd${UNAME_RELEASE} | ||
234 | exit ;; | ||
235 | sun3:OpenBSD:*:*) | ||
236 | echo m68k-unknown-openbsd${UNAME_RELEASE} | ||
237 | exit ;; | ||
238 | *:OpenBSD:*:*) | 204 | *:OpenBSD:*:*) |
239 | echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} | 205 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
206 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | ||
240 | exit ;; | 207 | exit ;; |
241 | *:ekkoBSD:*:*) | 208 | *:ekkoBSD:*:*) |
242 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | 209 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} |
243 | exit ;; | 210 | exit ;; |
211 | *:SolidBSD:*:*) | ||
212 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | ||
213 | exit ;; | ||
244 | macppc:MirBSD:*:*) | 214 | macppc:MirBSD:*:*) |
245 | echo powerppc-unknown-mirbsd${UNAME_RELEASE} | 215 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} |
246 | exit ;; | 216 | exit ;; |
247 | *:MirBSD:*:*) | 217 | *:MirBSD:*:*) |
248 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | 218 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} |
@@ -360,7 +330,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
360 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) | 330 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
361 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 331 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
362 | exit ;; | 332 | exit ;; |
363 | i86pc:SunOS:5.*:*) | 333 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
364 | echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 334 | echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
365 | exit ;; | 335 | exit ;; |
366 | sun4*:SunOS:6*:*) | 336 | sun4*:SunOS:6*:*) |
@@ -562,7 +532,7 @@ EOF | |||
562 | echo rs6000-ibm-aix3.2 | 532 | echo rs6000-ibm-aix3.2 |
563 | fi | 533 | fi |
564 | exit ;; | 534 | exit ;; |
565 | *:AIX:*:[45]) | 535 | *:AIX:*:[456]) |
566 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` | 536 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
567 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | 537 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
568 | IBM_ARCH=rs6000 | 538 | IBM_ARCH=rs6000 |
@@ -658,8 +628,7 @@ EOF | |||
658 | esac | 628 | esac |
659 | if [ ${HP_ARCH} = "hppa2.0w" ] | 629 | if [ ${HP_ARCH} = "hppa2.0w" ] |
660 | then | 630 | then |
661 | # avoid double evaluation of $set_cc_for_build | 631 | eval $set_cc_for_build |
662 | test -n "$CC_FOR_BUILD" || eval $set_cc_for_build | ||
663 | 632 | ||
664 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating | 633 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
665 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler | 634 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
@@ -800,12 +769,19 @@ EOF | |||
800 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | 769 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
801 | exit ;; | 770 | exit ;; |
802 | *:FreeBSD:*:*) | 771 | *:FreeBSD:*:*) |
803 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | 772 | case ${UNAME_MACHINE} in |
773 | pc98) | ||
774 | echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | ||
775 | amd64) | ||
776 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | ||
777 | *) | ||
778 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | ||
779 | esac | ||
804 | exit ;; | 780 | exit ;; |
805 | i*:CYGWIN*:*) | 781 | i*:CYGWIN*:*) |
806 | echo ${UNAME_MACHINE}-pc-cygwin | 782 | echo ${UNAME_MACHINE}-pc-cygwin |
807 | exit ;; | 783 | exit ;; |
808 | i*:MINGW*:*) | 784 | *:MINGW*:*) |
809 | echo ${UNAME_MACHINE}-pc-mingw32 | 785 | echo ${UNAME_MACHINE}-pc-mingw32 |
810 | exit ;; | 786 | exit ;; |
811 | i*:windows32*:*) | 787 | i*:windows32*:*) |
@@ -815,9 +791,18 @@ EOF | |||
815 | i*:PW*:*) | 791 | i*:PW*:*) |
816 | echo ${UNAME_MACHINE}-pc-pw32 | 792 | echo ${UNAME_MACHINE}-pc-pw32 |
817 | exit ;; | 793 | exit ;; |
818 | x86:Interix*:[34]*) | 794 | *:Interix*:[3456]*) |
819 | echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' | 795 | case ${UNAME_MACHINE} in |
820 | exit ;; | 796 | x86) |
797 | echo i586-pc-interix${UNAME_RELEASE} | ||
798 | exit ;; | ||
799 | EM64T | authenticamd) | ||
800 | echo x86_64-unknown-interix${UNAME_RELEASE} | ||
801 | exit ;; | ||
802 | IA64) | ||
803 | echo ia64-unknown-interix${UNAME_RELEASE} | ||
804 | exit ;; | ||
805 | esac ;; | ||
821 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) | 806 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |
822 | echo i${UNAME_MACHINE}-pc-mks | 807 | echo i${UNAME_MACHINE}-pc-mks |
823 | exit ;; | 808 | exit ;; |
@@ -830,7 +815,7 @@ EOF | |||
830 | i*:UWIN*:*) | 815 | i*:UWIN*:*) |
831 | echo ${UNAME_MACHINE}-pc-uwin | 816 | echo ${UNAME_MACHINE}-pc-uwin |
832 | exit ;; | 817 | exit ;; |
833 | amd64:CYGWIN*:*:*) | 818 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
834 | echo x86_64-unknown-cygwin | 819 | echo x86_64-unknown-cygwin |
835 | exit ;; | 820 | exit ;; |
836 | p*:CYGWIN*:*) | 821 | p*:CYGWIN*:*) |
@@ -851,6 +836,16 @@ EOF | |||
851 | echo ${UNAME_MACHINE}-pc-minix | 836 | echo ${UNAME_MACHINE}-pc-minix |
852 | exit ;; | 837 | exit ;; |
853 | arm*:Linux:*:*) | 838 | arm*:Linux:*:*) |
839 | eval $set_cc_for_build | ||
840 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | ||
841 | | grep -q __ARM_EABI__ | ||
842 | then | ||
843 | echo ${UNAME_MACHINE}-unknown-linux-gnu | ||
844 | else | ||
845 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | ||
846 | fi | ||
847 | exit ;; | ||
848 | avr32*:Linux:*:*) | ||
854 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 849 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
855 | exit ;; | 850 | exit ;; |
856 | cris:Linux:*:*) | 851 | cris:Linux:*:*) |
@@ -887,7 +882,11 @@ EOF | |||
887 | #endif | 882 | #endif |
888 | #endif | 883 | #endif |
889 | EOF | 884 | EOF |
890 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` | 885 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |
886 | /^CPU/{ | ||
887 | s: ::g | ||
888 | p | ||
889 | }'`" | ||
891 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | 890 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
892 | ;; | 891 | ;; |
893 | mips64:Linux:*:*) | 892 | mips64:Linux:*:*) |
@@ -906,9 +905,16 @@ EOF | |||
906 | #endif | 905 | #endif |
907 | #endif | 906 | #endif |
908 | EOF | 907 | EOF |
909 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` | 908 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |
909 | /^CPU/{ | ||
910 | s: ::g | ||
911 | p | ||
912 | }'`" | ||
910 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | 913 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
911 | ;; | 914 | ;; |
915 | or32:Linux:*:*) | ||
916 | echo or32-unknown-linux-gnu | ||
917 | exit ;; | ||
912 | ppc:Linux:*:*) | 918 | ppc:Linux:*:*) |
913 | echo powerpc-unknown-linux-gnu | 919 | echo powerpc-unknown-linux-gnu |
914 | exit ;; | 920 | exit ;; |
@@ -952,9 +958,15 @@ EOF | |||
952 | sparc:Linux:*:* | sparc64:Linux:*:*) | 958 | sparc:Linux:*:* | sparc64:Linux:*:*) |
953 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 959 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
954 | exit ;; | 960 | exit ;; |
961 | vax:Linux:*:*) | ||
962 | echo ${UNAME_MACHINE}-dec-linux-gnu | ||
963 | exit ;; | ||
955 | x86_64:Linux:*:*) | 964 | x86_64:Linux:*:*) |
956 | echo x86_64-unknown-linux-gnu | 965 | echo x86_64-unknown-linux-gnu |
957 | exit ;; | 966 | exit ;; |
967 | xtensa*:Linux:*:*) | ||
968 | echo ${UNAME_MACHINE}-unknown-linux-gnu | ||
969 | exit ;; | ||
958 | i*86:Linux:*:*) | 970 | i*86:Linux:*:*) |
959 | # The BFD linker knows what the default object file format is, so | 971 | # The BFD linker knows what the default object file format is, so |
960 | # first see if it will tell us. cd to the root directory to prevent | 972 | # first see if it will tell us. cd to the root directory to prevent |
@@ -973,9 +985,6 @@ EOF | |||
973 | a.out-i386-linux) | 985 | a.out-i386-linux) |
974 | echo "${UNAME_MACHINE}-pc-linux-gnuaout" | 986 | echo "${UNAME_MACHINE}-pc-linux-gnuaout" |
975 | exit ;; | 987 | exit ;; |
976 | coff-i386) | ||
977 | echo "${UNAME_MACHINE}-pc-linux-gnucoff" | ||
978 | exit ;; | ||
979 | "") | 988 | "") |
980 | # Either a pre-BFD a.out linker (linux-gnuoldld) or | 989 | # Either a pre-BFD a.out linker (linux-gnuoldld) or |
981 | # one that does not give us useful --help. | 990 | # one that does not give us useful --help. |
@@ -997,7 +1006,7 @@ EOF | |||
997 | LIBC=gnulibc1 | 1006 | LIBC=gnulibc1 |
998 | # endif | 1007 | # endif |
999 | #else | 1008 | #else |
1000 | #ifdef __INTEL_COMPILER | 1009 | #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) |
1001 | LIBC=gnu | 1010 | LIBC=gnu |
1002 | #else | 1011 | #else |
1003 | LIBC=gnuaout | 1012 | LIBC=gnuaout |
@@ -1007,7 +1016,11 @@ EOF | |||
1007 | LIBC=dietlibc | 1016 | LIBC=dietlibc |
1008 | #endif | 1017 | #endif |
1009 | EOF | 1018 | EOF |
1010 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` | 1019 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |
1020 | /^LIBC/{ | ||
1021 | s: ::g | ||
1022 | p | ||
1023 | }'`" | ||
1011 | test x"${LIBC}" != x && { | 1024 | test x"${LIBC}" != x && { |
1012 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | 1025 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |
1013 | exit | 1026 | exit |
@@ -1200,6 +1213,9 @@ EOF | |||
1200 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. | 1213 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. |
1201 | echo i586-pc-beos | 1214 | echo i586-pc-beos |
1202 | exit ;; | 1215 | exit ;; |
1216 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. | ||
1217 | echo i586-pc-haiku | ||
1218 | exit ;; | ||
1203 | SX-4:SUPER-UX:*:*) | 1219 | SX-4:SUPER-UX:*:*) |
1204 | echo sx4-nec-superux${UNAME_RELEASE} | 1220 | echo sx4-nec-superux${UNAME_RELEASE} |
1205 | exit ;; | 1221 | exit ;; |
@@ -1209,6 +1225,15 @@ EOF | |||
1209 | SX-6:SUPER-UX:*:*) | 1225 | SX-6:SUPER-UX:*:*) |
1210 | echo sx6-nec-superux${UNAME_RELEASE} | 1226 | echo sx6-nec-superux${UNAME_RELEASE} |
1211 | exit ;; | 1227 | exit ;; |
1228 | SX-7:SUPER-UX:*:*) | ||
1229 | echo sx7-nec-superux${UNAME_RELEASE} | ||
1230 | exit ;; | ||
1231 | SX-8:SUPER-UX:*:*) | ||
1232 | echo sx8-nec-superux${UNAME_RELEASE} | ||
1233 | exit ;; | ||
1234 | SX-8R:SUPER-UX:*:*) | ||
1235 | echo sx8r-nec-superux${UNAME_RELEASE} | ||
1236 | exit ;; | ||
1212 | Power*:Rhapsody:*:*) | 1237 | Power*:Rhapsody:*:*) |
1213 | echo powerpc-apple-rhapsody${UNAME_RELEASE} | 1238 | echo powerpc-apple-rhapsody${UNAME_RELEASE} |
1214 | exit ;; | 1239 | exit ;; |
@@ -1218,7 +1243,6 @@ EOF | |||
1218 | *:Darwin:*:*) | 1243 | *:Darwin:*:*) |
1219 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown | 1244 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1220 | case $UNAME_PROCESSOR in | 1245 | case $UNAME_PROCESSOR in |
1221 | *86) UNAME_PROCESSOR=i686 ;; | ||
1222 | unknown) UNAME_PROCESSOR=powerpc ;; | 1246 | unknown) UNAME_PROCESSOR=powerpc ;; |
1223 | esac | 1247 | esac |
1224 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | 1248 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
@@ -1297,6 +1321,9 @@ EOF | |||
1297 | i*86:skyos:*:*) | 1321 | i*86:skyos:*:*) |
1298 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' | 1322 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' |
1299 | exit ;; | 1323 | exit ;; |
1324 | i*86:rdos:*:*) | ||
1325 | echo ${UNAME_MACHINE}-pc-rdos | ||
1326 | exit ;; | ||
1300 | esac | 1327 | esac |
1301 | 1328 | ||
1302 | #echo '(No uname command or uname output not recognized.)' 1>&2 | 1329 | #echo '(No uname command or uname output not recognized.)' 1>&2 |
@@ -1457,9 +1484,9 @@ This script, last modified $timestamp, has failed to recognize | |||
1457 | the operating system you are using. It is advised that you | 1484 | the operating system you are using. It is advised that you |
1458 | download the most up to date version of the config scripts from | 1485 | download the most up to date version of the config scripts from |
1459 | 1486 | ||
1460 | http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess | 1487 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
1461 | and | 1488 | and |
1462 | http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub | 1489 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD |
1463 | 1490 | ||
1464 | If the version you run ($0) is already up to date, please | 1491 | If the version you run ($0) is already up to date, please |
1465 | send the following data and any information you think might be | 1492 | send the following data and any information you think might be |
diff --git a/config.sub b/config.sub index 519f2cd00..a649350a6 100755 --- a/config.sub +++ b/config.sub | |||
@@ -1,9 +1,10 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Configuration validation subroutine script. | 2 | # Configuration validation subroutine script. |
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 | # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
5 | # Free Software Foundation, Inc. | ||
5 | 6 | ||
6 | timestamp='2005-05-12' | 7 | timestamp='2008-06-16' |
7 | 8 | ||
8 | # This file is (in principle) common to ALL GNU software. | 9 | # This file is (in principle) common to ALL GNU software. |
9 | # The presence of a machine in this file suggests that SOME GNU software | 10 | # The presence of a machine in this file suggests that SOME GNU software |
@@ -71,8 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>." | |||
71 | version="\ | 72 | version="\ |
72 | GNU config.sub ($timestamp) | 73 | GNU config.sub ($timestamp) |
73 | 74 | ||
74 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 75 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
75 | Free Software Foundation, Inc. | 76 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
76 | 77 | ||
77 | This is free software; see the source for copying conditions. There is NO | 78 | This is free software; see the source for copying conditions. There is NO |
78 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 79 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
@@ -119,8 +120,9 @@ esac | |||
119 | # Here we must recognize all the valid KERNEL-OS combinations. | 120 | # Here we must recognize all the valid KERNEL-OS combinations. |
120 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 121 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
121 | case $maybe_os in | 122 | case $maybe_os in |
122 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ | 123 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
123 | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) | 124 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
125 | storm-chaos* | os2-emx* | rtmk-nova*) | ||
124 | os=-$maybe_os | 126 | os=-$maybe_os |
125 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 127 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
126 | ;; | 128 | ;; |
@@ -171,6 +173,10 @@ case $os in | |||
171 | -hiux*) | 173 | -hiux*) |
172 | os=-hiuxwe2 | 174 | os=-hiuxwe2 |
173 | ;; | 175 | ;; |
176 | -sco6) | ||
177 | os=-sco5v6 | ||
178 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | ||
179 | ;; | ||
174 | -sco5) | 180 | -sco5) |
175 | os=-sco3.2v5 | 181 | os=-sco3.2v5 |
176 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 182 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
@@ -187,6 +193,10 @@ case $os in | |||
187 | # Don't forget version if it is 3.2v4 or newer. | 193 | # Don't forget version if it is 3.2v4 or newer. |
188 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 194 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
189 | ;; | 195 | ;; |
196 | -sco5v6*) | ||
197 | # Don't forget version if it is 3.2v4 or newer. | ||
198 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | ||
199 | ;; | ||
190 | -sco*) | 200 | -sco*) |
191 | os=-sco3.2v2 | 201 | os=-sco3.2v2 |
192 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 202 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
@@ -231,23 +241,27 @@ case $basic_machine in | |||
231 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 241 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
232 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | 242 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
233 | | am33_2.0 \ | 243 | | am33_2.0 \ |
234 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | 244 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
235 | | bfin \ | 245 | | bfin \ |
236 | | c4x | clipper \ | 246 | | c4x | clipper \ |
237 | | d10v | d30v | dlx | dsp16xx \ | 247 | | d10v | d30v | dlx | dsp16xx \ |
238 | | fr30 | frv \ | 248 | | fido | fr30 | frv \ |
239 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 249 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
240 | | i370 | i860 | i960 | ia64 \ | 250 | | i370 | i860 | i960 | ia64 \ |
241 | | ip2k | iq2000 \ | 251 | | ip2k | iq2000 \ |
242 | | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | 252 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
253 | | maxq | mb | microblaze | mcore | mep | metag \ | ||
243 | | mips | mipsbe | mipseb | mipsel | mipsle \ | 254 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
244 | | mips16 \ | 255 | | mips16 \ |
245 | | mips64 | mips64el \ | 256 | | mips64 | mips64el \ |
246 | | mips64vr | mips64vrel \ | 257 | | mips64octeon | mips64octeonel \ |
247 | | mips64orion | mips64orionel \ | 258 | | mips64orion | mips64orionel \ |
259 | | mips64r5900 | mips64r5900el \ | ||
260 | | mips64vr | mips64vrel \ | ||
248 | | mips64vr4100 | mips64vr4100el \ | 261 | | mips64vr4100 | mips64vr4100el \ |
249 | | mips64vr4300 | mips64vr4300el \ | 262 | | mips64vr4300 | mips64vr4300el \ |
250 | | mips64vr5000 | mips64vr5000el \ | 263 | | mips64vr5000 | mips64vr5000el \ |
264 | | mips64vr5900 | mips64vr5900el \ | ||
251 | | mipsisa32 | mipsisa32el \ | 265 | | mipsisa32 | mipsisa32el \ |
252 | | mipsisa32r2 | mipsisa32r2el \ | 266 | | mipsisa32r2 | mipsisa32r2el \ |
253 | | mipsisa64 | mipsisa64el \ | 267 | | mipsisa64 | mipsisa64el \ |
@@ -256,21 +270,24 @@ case $basic_machine in | |||
256 | | mipsisa64sr71k | mipsisa64sr71kel \ | 270 | | mipsisa64sr71k | mipsisa64sr71kel \ |
257 | | mipstx39 | mipstx39el \ | 271 | | mipstx39 | mipstx39el \ |
258 | | mn10200 | mn10300 \ | 272 | | mn10200 | mn10300 \ |
273 | | mt \ | ||
259 | | msp430 \ | 274 | | msp430 \ |
275 | | nios | nios2 \ | ||
260 | | ns16k | ns32k \ | 276 | | ns16k | ns32k \ |
261 | | openrisc | or32 \ | 277 | | or32 \ |
262 | | pdp10 | pdp11 | pj | pjl \ | 278 | | pdp10 | pdp11 | pj | pjl \ |
263 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 279 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
264 | | pyramid \ | 280 | | pyramid \ |
265 | | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | 281 | | score \ |
282 | | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | ||
266 | | sh64 | sh64le \ | 283 | | sh64 | sh64le \ |
267 | | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ | 284 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
268 | | sparcv8 | sparcv9 | sparcv9b \ | 285 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
269 | | strongarm \ | 286 | | spu | strongarm \ |
270 | | tahoe | thumb | tic4x | tic80 | tron \ | 287 | | tahoe | thumb | tic4x | tic80 | tron \ |
271 | | v850 | v850e \ | 288 | | v850 | v850e \ |
272 | | we32k \ | 289 | | we32k \ |
273 | | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | 290 | | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
274 | | z8k) | 291 | | z8k) |
275 | basic_machine=$basic_machine-unknown | 292 | basic_machine=$basic_machine-unknown |
276 | ;; | 293 | ;; |
@@ -281,6 +298,9 @@ case $basic_machine in | |||
281 | ;; | 298 | ;; |
282 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | 299 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
283 | ;; | 300 | ;; |
301 | ms1) | ||
302 | basic_machine=mt-unknown | ||
303 | ;; | ||
284 | 304 | ||
285 | # We use `pc' rather than `unknown' | 305 | # We use `pc' rather than `unknown' |
286 | # because (1) that's what they normally are, and | 306 | # because (1) that's what they normally are, and |
@@ -300,28 +320,31 @@ case $basic_machine in | |||
300 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | 320 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
301 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | 321 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
302 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | 322 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
303 | | avr-* \ | 323 | | avr-* | avr32-* \ |
304 | | bfin-* | bs2000-* \ | 324 | | bfin-* | bs2000-* \ |
305 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | 325 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
306 | | clipper-* | craynv-* | cydra-* \ | 326 | | clipper-* | craynv-* | cydra-* \ |
307 | | d10v-* | d30v-* | dlx-* \ | 327 | | d10v-* | d30v-* | dlx-* \ |
308 | | elxsi-* \ | 328 | | elxsi-* \ |
309 | | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | 329 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
310 | | h8300-* | h8500-* \ | 330 | | h8300-* | h8500-* \ |
311 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 331 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
312 | | i*86-* | i860-* | i960-* | ia64-* \ | 332 | | i*86-* | i860-* | i960-* | ia64-* \ |
313 | | ip2k-* | iq2000-* \ | 333 | | ip2k-* | iq2000-* \ |
314 | | m32r-* | m32rle-* \ | 334 | | m32c-* | m32r-* | m32rle-* \ |
315 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 335 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
316 | | m88110-* | m88k-* | maxq-* | mcore-* \ | 336 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
317 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 337 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
318 | | mips16-* \ | 338 | | mips16-* \ |
319 | | mips64-* | mips64el-* \ | 339 | | mips64-* | mips64el-* \ |
320 | | mips64vr-* | mips64vrel-* \ | 340 | | mips64octeon-* | mips64octeonel-* \ |
321 | | mips64orion-* | mips64orionel-* \ | 341 | | mips64orion-* | mips64orionel-* \ |
342 | | mips64r5900-* | mips64r5900el-* \ | ||
343 | | mips64vr-* | mips64vrel-* \ | ||
322 | | mips64vr4100-* | mips64vr4100el-* \ | 344 | | mips64vr4100-* | mips64vr4100el-* \ |
323 | | mips64vr4300-* | mips64vr4300el-* \ | 345 | | mips64vr4300-* | mips64vr4300el-* \ |
324 | | mips64vr5000-* | mips64vr5000el-* \ | 346 | | mips64vr5000-* | mips64vr5000el-* \ |
347 | | mips64vr5900-* | mips64vr5900el-* \ | ||
325 | | mipsisa32-* | mipsisa32el-* \ | 348 | | mipsisa32-* | mipsisa32el-* \ |
326 | | mipsisa32r2-* | mipsisa32r2el-* \ | 349 | | mipsisa32r2-* | mipsisa32r2el-* \ |
327 | | mipsisa64-* | mipsisa64el-* \ | 350 | | mipsisa64-* | mipsisa64el-* \ |
@@ -330,28 +353,34 @@ case $basic_machine in | |||
330 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | 353 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
331 | | mipstx39-* | mipstx39el-* \ | 354 | | mipstx39-* | mipstx39el-* \ |
332 | | mmix-* \ | 355 | | mmix-* \ |
356 | | mt-* \ | ||
333 | | msp430-* \ | 357 | | msp430-* \ |
358 | | nios-* | nios2-* \ | ||
334 | | none-* | np1-* | ns16k-* | ns32k-* \ | 359 | | none-* | np1-* | ns16k-* | ns32k-* \ |
335 | | orion-* \ | 360 | | orion-* \ |
336 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 361 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
337 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 362 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
338 | | pyramid-* \ | 363 | | pyramid-* \ |
339 | | romp-* | rs6000-* \ | 364 | | romp-* | rs6000-* \ |
340 | | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | 365 | | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
341 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 366 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
342 | | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | 367 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
343 | | sparclite-* \ | 368 | | sparclite-* \ |
344 | | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | 369 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
345 | | tahoe-* | thumb-* \ | 370 | | tahoe-* | thumb-* \ |
346 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 371 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ |
347 | | tron-* \ | 372 | | tron-* \ |
348 | | v850-* | v850e-* | vax-* \ | 373 | | v850-* | v850e-* | vax-* \ |
349 | | we32k-* \ | 374 | | we32k-* \ |
350 | | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | 375 | | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
351 | | xstormy16-* | xtensa-* \ | 376 | | xstormy16-* | xtensa*-* \ |
352 | | ymp-* \ | 377 | | ymp-* \ |
353 | | z8k-*) | 378 | | z8k-*) |
354 | ;; | 379 | ;; |
380 | # Recognize the basic CPU types without company name, with glob match. | ||
381 | xtensa*) | ||
382 | basic_machine=$basic_machine-unknown | ||
383 | ;; | ||
355 | # Recognize the various machine names and aliases which stand | 384 | # Recognize the various machine names and aliases which stand |
356 | # for a CPU type and a company and sometimes even an OS. | 385 | # for a CPU type and a company and sometimes even an OS. |
357 | 386bsd) | 386 | 386bsd) |
@@ -422,10 +451,22 @@ case $basic_machine in | |||
422 | basic_machine=ns32k-sequent | 451 | basic_machine=ns32k-sequent |
423 | os=-dynix | 452 | os=-dynix |
424 | ;; | 453 | ;; |
454 | blackfin) | ||
455 | basic_machine=bfin-unknown | ||
456 | os=-linux | ||
457 | ;; | ||
458 | blackfin-*) | ||
459 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
460 | os=-linux | ||
461 | ;; | ||
425 | c90) | 462 | c90) |
426 | basic_machine=c90-cray | 463 | basic_machine=c90-cray |
427 | os=-unicos | 464 | os=-unicos |
428 | ;; | 465 | ;; |
466 | cegcc) | ||
467 | basic_machine=arm-unknown | ||
468 | os=-cegcc | ||
469 | ;; | ||
429 | convex-c1) | 470 | convex-c1) |
430 | basic_machine=c1-convex | 471 | basic_machine=c1-convex |
431 | os=-bsd | 472 | os=-bsd |
@@ -454,8 +495,8 @@ case $basic_machine in | |||
454 | basic_machine=craynv-cray | 495 | basic_machine=craynv-cray |
455 | os=-unicosmp | 496 | os=-unicosmp |
456 | ;; | 497 | ;; |
457 | cr16c) | 498 | cr16) |
458 | basic_machine=cr16c-unknown | 499 | basic_machine=cr16-unknown |
459 | os=-elf | 500 | os=-elf |
460 | ;; | 501 | ;; |
461 | crds | unos) | 502 | crds | unos) |
@@ -493,6 +534,10 @@ case $basic_machine in | |||
493 | basic_machine=m88k-motorola | 534 | basic_machine=m88k-motorola |
494 | os=-sysv3 | 535 | os=-sysv3 |
495 | ;; | 536 | ;; |
537 | dicos) | ||
538 | basic_machine=i686-pc | ||
539 | os=-dicos | ||
540 | ;; | ||
496 | djgpp) | 541 | djgpp) |
497 | basic_machine=i586-pc | 542 | basic_machine=i586-pc |
498 | os=-msdosdjgpp | 543 | os=-msdosdjgpp |
@@ -647,6 +692,14 @@ case $basic_machine in | |||
647 | basic_machine=m68k-isi | 692 | basic_machine=m68k-isi |
648 | os=-sysv | 693 | os=-sysv |
649 | ;; | 694 | ;; |
695 | m68knommu) | ||
696 | basic_machine=m68k-unknown | ||
697 | os=-linux | ||
698 | ;; | ||
699 | m68knommu-*) | ||
700 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
701 | os=-linux | ||
702 | ;; | ||
650 | m88k-omron*) | 703 | m88k-omron*) |
651 | basic_machine=m88k-omron | 704 | basic_machine=m88k-omron |
652 | ;; | 705 | ;; |
@@ -662,6 +715,10 @@ case $basic_machine in | |||
662 | basic_machine=i386-pc | 715 | basic_machine=i386-pc |
663 | os=-mingw32 | 716 | os=-mingw32 |
664 | ;; | 717 | ;; |
718 | mingw32ce) | ||
719 | basic_machine=arm-unknown | ||
720 | os=-mingw32ce | ||
721 | ;; | ||
665 | miniframe) | 722 | miniframe) |
666 | basic_machine=m68000-convergent | 723 | basic_machine=m68000-convergent |
667 | ;; | 724 | ;; |
@@ -687,6 +744,9 @@ case $basic_machine in | |||
687 | basic_machine=i386-pc | 744 | basic_machine=i386-pc |
688 | os=-msdos | 745 | os=-msdos |
689 | ;; | 746 | ;; |
747 | ms1-*) | ||
748 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | ||
749 | ;; | ||
690 | mvs) | 750 | mvs) |
691 | basic_machine=i370-ibm | 751 | basic_machine=i370-ibm |
692 | os=-mvs | 752 | os=-mvs |
@@ -762,9 +822,8 @@ case $basic_machine in | |||
762 | basic_machine=hppa1.1-oki | 822 | basic_machine=hppa1.1-oki |
763 | os=-proelf | 823 | os=-proelf |
764 | ;; | 824 | ;; |
765 | or32 | or32-*) | 825 | openrisc | openrisc-*) |
766 | basic_machine=or32-unknown | 826 | basic_machine=or32-unknown |
767 | os=-coff | ||
768 | ;; | 827 | ;; |
769 | os400) | 828 | os400) |
770 | basic_machine=powerpc-ibm | 829 | basic_machine=powerpc-ibm |
@@ -786,6 +845,14 @@ case $basic_machine in | |||
786 | basic_machine=i860-intel | 845 | basic_machine=i860-intel |
787 | os=-osf | 846 | os=-osf |
788 | ;; | 847 | ;; |
848 | parisc) | ||
849 | basic_machine=hppa-unknown | ||
850 | os=-linux | ||
851 | ;; | ||
852 | parisc-*) | ||
853 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
854 | os=-linux | ||
855 | ;; | ||
789 | pbd) | 856 | pbd) |
790 | basic_machine=sparc-tti | 857 | basic_machine=sparc-tti |
791 | ;; | 858 | ;; |
@@ -795,6 +862,12 @@ case $basic_machine in | |||
795 | pc532 | pc532-*) | 862 | pc532 | pc532-*) |
796 | basic_machine=ns32k-pc532 | 863 | basic_machine=ns32k-pc532 |
797 | ;; | 864 | ;; |
865 | pc98) | ||
866 | basic_machine=i386-pc | ||
867 | ;; | ||
868 | pc98-*) | ||
869 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
870 | ;; | ||
798 | pentium | p5 | k5 | k6 | nexgen | viac3) | 871 | pentium | p5 | k5 | k6 | nexgen | viac3) |
799 | basic_machine=i586-pc | 872 | basic_machine=i586-pc |
800 | ;; | 873 | ;; |
@@ -851,6 +924,10 @@ case $basic_machine in | |||
851 | basic_machine=i586-unknown | 924 | basic_machine=i586-unknown |
852 | os=-pw32 | 925 | os=-pw32 |
853 | ;; | 926 | ;; |
927 | rdos) | ||
928 | basic_machine=i386-pc | ||
929 | os=-rdos | ||
930 | ;; | ||
854 | rom68k) | 931 | rom68k) |
855 | basic_machine=m68k-rom68k | 932 | basic_machine=m68k-rom68k |
856 | os=-coff | 933 | os=-coff |
@@ -877,6 +954,10 @@ case $basic_machine in | |||
877 | sb1el) | 954 | sb1el) |
878 | basic_machine=mipsisa64sb1el-unknown | 955 | basic_machine=mipsisa64sb1el-unknown |
879 | ;; | 956 | ;; |
957 | sde) | ||
958 | basic_machine=mipsisa32-sde | ||
959 | os=-elf | ||
960 | ;; | ||
880 | sei) | 961 | sei) |
881 | basic_machine=mips-sei | 962 | basic_machine=mips-sei |
882 | os=-seiux | 963 | os=-seiux |
@@ -888,6 +969,9 @@ case $basic_machine in | |||
888 | basic_machine=sh-hitachi | 969 | basic_machine=sh-hitachi |
889 | os=-hms | 970 | os=-hms |
890 | ;; | 971 | ;; |
972 | sh5el) | ||
973 | basic_machine=sh5le-unknown | ||
974 | ;; | ||
891 | sh64) | 975 | sh64) |
892 | basic_machine=sh64-unknown | 976 | basic_machine=sh64-unknown |
893 | ;; | 977 | ;; |
@@ -977,6 +1061,10 @@ case $basic_machine in | |||
977 | basic_machine=tic6x-unknown | 1061 | basic_machine=tic6x-unknown |
978 | os=-coff | 1062 | os=-coff |
979 | ;; | 1063 | ;; |
1064 | tile*) | ||
1065 | basic_machine=tile-unknown | ||
1066 | os=-linux-gnu | ||
1067 | ;; | ||
980 | tx39) | 1068 | tx39) |
981 | basic_machine=mipstx39-unknown | 1069 | basic_machine=mipstx39-unknown |
982 | ;; | 1070 | ;; |
@@ -1090,13 +1178,10 @@ case $basic_machine in | |||
1090 | we32k) | 1178 | we32k) |
1091 | basic_machine=we32k-att | 1179 | basic_machine=we32k-att |
1092 | ;; | 1180 | ;; |
1093 | sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) | 1181 | sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) |
1094 | basic_machine=sh-unknown | 1182 | basic_machine=sh-unknown |
1095 | ;; | 1183 | ;; |
1096 | sh64) | 1184 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
1097 | basic_machine=sh64-unknown | ||
1098 | ;; | ||
1099 | sparc | sparcv8 | sparcv9 | sparcv9b) | ||
1100 | basic_machine=sparc-sun | 1185 | basic_machine=sparc-sun |
1101 | ;; | 1186 | ;; |
1102 | cydra) | 1187 | cydra) |
@@ -1169,20 +1254,23 @@ case $os in | |||
1169 | | -aos* \ | 1254 | | -aos* \ |
1170 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1255 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1171 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 1256 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1172 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ | 1257 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1258 | | -openbsd* | -solidbsd* \ | ||
1173 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | 1259 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1174 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1260 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1175 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1261 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1176 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1262 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1177 | | -chorusos* | -chorusrdb* \ | 1263 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1178 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1264 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1179 | | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | 1265 | | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
1266 | | -uxpv* | -beos* | -mpeix* | -udk* \ | ||
1180 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1267 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1181 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1268 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1182 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1269 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1183 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1270 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1184 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1271 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1185 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos*) | 1272 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1273 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) | ||
1186 | # Remember, each alternative MUST END IN *, to match a version number. | 1274 | # Remember, each alternative MUST END IN *, to match a version number. |
1187 | ;; | 1275 | ;; |
1188 | -qnx*) | 1276 | -qnx*) |
@@ -1200,7 +1288,7 @@ case $os in | |||
1200 | os=`echo $os | sed -e 's|nto|nto-qnx|'` | 1288 | os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1201 | ;; | 1289 | ;; |
1202 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | 1290 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
1203 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ | 1291 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ |
1204 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) | 1292 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
1205 | ;; | 1293 | ;; |
1206 | -mac*) | 1294 | -mac*) |
@@ -1312,6 +1400,9 @@ case $os in | |||
1312 | -zvmoe) | 1400 | -zvmoe) |
1313 | os=-zvmoe | 1401 | os=-zvmoe |
1314 | ;; | 1402 | ;; |
1403 | -dicos*) | ||
1404 | os=-dicos | ||
1405 | ;; | ||
1315 | -none) | 1406 | -none) |
1316 | ;; | 1407 | ;; |
1317 | *) | 1408 | *) |
@@ -1334,6 +1425,12 @@ else | |||
1334 | # system, and we'll never get to this point. | 1425 | # system, and we'll never get to this point. |
1335 | 1426 | ||
1336 | case $basic_machine in | 1427 | case $basic_machine in |
1428 | score-*) | ||
1429 | os=-elf | ||
1430 | ;; | ||
1431 | spu-*) | ||
1432 | os=-elf | ||
1433 | ;; | ||
1337 | *-acorn) | 1434 | *-acorn) |
1338 | os=-riscix1.2 | 1435 | os=-riscix1.2 |
1339 | ;; | 1436 | ;; |
@@ -1343,9 +1440,9 @@ case $basic_machine in | |||
1343 | arm*-semi) | 1440 | arm*-semi) |
1344 | os=-aout | 1441 | os=-aout |
1345 | ;; | 1442 | ;; |
1346 | c4x-* | tic4x-*) | 1443 | c4x-* | tic4x-*) |
1347 | os=-coff | 1444 | os=-coff |
1348 | ;; | 1445 | ;; |
1349 | # This must come before the *-dec entry. | 1446 | # This must come before the *-dec entry. |
1350 | pdp10-*) | 1447 | pdp10-*) |
1351 | os=-tops20 | 1448 | os=-tops20 |
@@ -1371,6 +1468,9 @@ case $basic_machine in | |||
1371 | m68*-cisco) | 1468 | m68*-cisco) |
1372 | os=-aout | 1469 | os=-aout |
1373 | ;; | 1470 | ;; |
1471 | mep-*) | ||
1472 | os=-elf | ||
1473 | ;; | ||
1374 | mips*-cisco) | 1474 | mips*-cisco) |
1375 | os=-elf | 1475 | os=-elf |
1376 | ;; | 1476 | ;; |
@@ -1389,6 +1489,9 @@ case $basic_machine in | |||
1389 | *-be) | 1489 | *-be) |
1390 | os=-beos | 1490 | os=-beos |
1391 | ;; | 1491 | ;; |
1492 | *-haiku) | ||
1493 | os=-haiku | ||
1494 | ;; | ||
1392 | *-ibm) | 1495 | *-ibm) |
1393 | os=-aix | 1496 | os=-aix |
1394 | ;; | 1497 | ;; |