OLD | NEW |
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 1992-2013 Free Software Foundation, Inc. |
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
5 # 2011, 2012 Free Software Foundation, Inc. | |
6 | 4 |
7 timestamp='2012-02-10' | 5 timestamp='2013-08-10' |
8 | 6 |
9 # This file is (in principle) common to ALL GNU software. | 7 # This file is free software; you can redistribute it and/or modify it |
10 # The presence of a machine in this file suggests that SOME GNU software | 8 # under the terms of the GNU General Public License as published by |
11 # can handle that machine. It does not imply ALL GNU software can. | 9 # the Free Software Foundation; either version 3 of the License, or |
12 # | |
13 # This file is free software; you can redistribute it and/or modify | |
14 # it under the terms of the GNU General Public License as published by | |
15 # the Free Software Foundation; either version 2 of the License, or | |
16 # (at your option) any later version. | 10 # (at your option) any later version. |
17 # | 11 # |
18 # This program is distributed in the hope that it will be useful, | 12 # This program is distributed in the hope that it will be useful, but |
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 # WITHOUT ANY WARRANTY; without even the implied warranty of |
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
21 # GNU General Public License for more details. | 15 # General Public License for more details. |
22 # | 16 # |
23 # You should have received a copy of the GNU General Public License | 17 # You should have received a copy of the GNU General Public License |
24 # along with this program; if not, see <http://www.gnu.org/licenses/>. | 18 # along with this program; if not, see <http://www.gnu.org/licenses/>. |
25 # | 19 # |
26 # As a special exception to the GNU General Public License, if you | 20 # As a special exception to the GNU General Public License, if you |
27 # distribute this file as part of a program that contains a | 21 # distribute this file as part of a program that contains a |
28 # configuration script generated by Autoconf, you may include it under | 22 # configuration script generated by Autoconf, you may include it under |
29 # the same distribution terms that you use for the rest of that program. | 23 # the same distribution terms that you use for the rest of that |
| 24 # program. This Exception is an additional permission under section 7 |
| 25 # of the GNU General Public License, version 3 ("GPLv3"). |
30 | 26 |
31 | 27 |
32 # Please send patches to <config-patches@gnu.org>. Submit a context | 28 # Please send patches with a ChangeLog entry to config-patches@gnu.org. |
33 # diff and a properly formatted GNU ChangeLog entry. | |
34 # | 29 # |
35 # Configuration subroutine to validate and canonicalize a configuration type. | 30 # Configuration subroutine to validate and canonicalize a configuration type. |
36 # Supply the specified configuration type as an argument. | 31 # Supply the specified configuration type as an argument. |
37 # If it is invalid, we print an error message on stderr and exit with code 1. | 32 # If it is invalid, we print an error message on stderr and exit with code 1. |
38 # Otherwise, we print the canonical config type on stdout and succeed. | 33 # Otherwise, we print the canonical config type on stdout and succeed. |
39 | 34 |
40 # You can get the latest version of this script from: | 35 # You can get the latest version of this script from: |
41 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=
HEAD | 36 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=
HEAD |
42 | 37 |
43 # This file is supposed to be the same for all GNU packages | 38 # This file is supposed to be the same for all GNU packages |
(...skipping 22 matching lines...) Expand all Loading... |
66 Operation modes: | 61 Operation modes: |
67 -h, --help print this help, then exit | 62 -h, --help print this help, then exit |
68 -t, --time-stamp print date of last modification, then exit | 63 -t, --time-stamp print date of last modification, then exit |
69 -v, --version print version number, then exit | 64 -v, --version print version number, then exit |
70 | 65 |
71 Report bugs and patches to <config-patches@gnu.org>." | 66 Report bugs and patches to <config-patches@gnu.org>." |
72 | 67 |
73 version="\ | 68 version="\ |
74 GNU config.sub ($timestamp) | 69 GNU config.sub ($timestamp) |
75 | 70 |
76 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 71 Copyright 1992-2013 Free Software Foundation, Inc. |
77 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
78 Free Software Foundation, Inc. | |
79 | 72 |
80 This is free software; see the source for copying conditions. There is NO | 73 This is free software; see the source for copying conditions. There is NO |
81 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 74 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
82 | 75 |
83 help=" | 76 help=" |
84 Try \`$me --help' for more information." | 77 Try \`$me --help' for more information." |
85 | 78 |
86 # Parse command line | 79 # Parse command line |
87 while test $# -gt 0 ; do | 80 while test $# -gt 0 ; do |
88 case $1 in | 81 case $1 in |
(...skipping 27 matching lines...) Expand all Loading... |
116 1) ;; | 109 1) ;; |
117 *) echo "$me: too many arguments$help" >&2 | 110 *) echo "$me: too many arguments$help" >&2 |
118 exit 1;; | 111 exit 1;; |
119 esac | 112 esac |
120 | 113 |
121 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). | 114 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
122 # Here we must recognize all the valid KERNEL-OS combinations. | 115 # Here we must recognize all the valid KERNEL-OS combinations. |
123 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 116 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
124 case $maybe_os in | 117 case $maybe_os in |
125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | 118 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
126 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | 119 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu*
| \ |
127 knetbsd*-gnu* | netbsd*-gnu* | \ | 120 knetbsd*-gnu* | netbsd*-gnu* | \ |
128 kopensolaris*-gnu* | \ | 121 kopensolaris*-gnu* | \ |
129 storm-chaos* | os2-emx* | rtmk-nova*) | 122 storm-chaos* | os2-emx* | rtmk-nova*) |
130 os=-$maybe_os | 123 os=-$maybe_os |
131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
132 ;; | 125 ;; |
133 android-linux) | 126 android-linux) |
134 os=-linux-android | 127 os=-linux-android |
135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | 128 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown |
136 ;; | 129 ;; |
(...skipping 12 matching lines...) Expand all Loading... |
149 case $os in | 142 case $os in |
150 -sun*os*) | 143 -sun*os*) |
151 # Prevent following clause from handling this invalid input. | 144 # Prevent following clause from handling this invalid input. |
152 ;; | 145 ;; |
153 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ | 146 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ |
154 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | 147 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ |
155 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ | 148 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ |
156 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | 149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
157 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | 150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
158 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | 151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
159 » -apple | -axis | -knuth | -cray | -microblaze) | 152 » -apple | -axis | -knuth | -cray | -microblaze*) |
160 os= | 153 os= |
161 basic_machine=$1 | 154 basic_machine=$1 |
162 ;; | 155 ;; |
163 -bluegene*) | 156 -bluegene*) |
164 os=-cnk | 157 os=-cnk |
165 ;; | 158 ;; |
166 -sim | -cisco | -oki | -wec | -winbond) | 159 -sim | -cisco | -oki | -wec | -winbond) |
167 os= | 160 os= |
168 basic_machine=$1 | 161 basic_machine=$1 |
169 ;; | 162 ;; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 -isc) | 211 -isc) |
219 os=-isc2.2 | 212 os=-isc2.2 |
220 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 213 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
221 ;; | 214 ;; |
222 -clix*) | 215 -clix*) |
223 basic_machine=clipper-intergraph | 216 basic_machine=clipper-intergraph |
224 ;; | 217 ;; |
225 -isc*) | 218 -isc*) |
226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 219 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
227 ;; | 220 ;; |
| 221 -lynx*178) |
| 222 os=-lynxos178 |
| 223 ;; |
| 224 -lynx*5) |
| 225 os=-lynxos5 |
| 226 ;; |
228 -lynx*) | 227 -lynx*) |
229 os=-lynxos | 228 os=-lynxos |
230 ;; | 229 ;; |
231 -ptx*) | 230 -ptx*) |
232 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` | 231 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` |
233 ;; | 232 ;; |
234 -windowsnt*) | 233 -windowsnt*) |
235 os=`echo $os | sed -e 's/windowsnt/winnt/'` | 234 os=`echo $os | sed -e 's/windowsnt/winnt/'` |
236 ;; | 235 ;; |
237 -psos*) | 236 -psos*) |
238 os=-psos | 237 os=-psos |
239 ;; | 238 ;; |
240 -mint | -mint[0-9]*) | 239 -mint | -mint[0-9]*) |
241 basic_machine=m68k-atari | 240 basic_machine=m68k-atari |
242 os=-mint | 241 os=-mint |
243 ;; | 242 ;; |
244 esac | 243 esac |
245 | 244 |
246 # Decode aliases for certain CPU-COMPANY combinations. | 245 # Decode aliases for certain CPU-COMPANY combinations. |
247 case $basic_machine in | 246 case $basic_machine in |
248 # Recognize the basic CPU types without company name. | 247 # Recognize the basic CPU types without company name. |
249 # Some are omitted here because they have special meanings below. | 248 # Some are omitted here because they have special meanings below. |
250 1750a | 580 \ | 249 1750a | 580 \ |
251 | a29k \ | 250 | a29k \ |
252 | aarch64 | aarch64_be \ | 251 | aarch64 | aarch64_be \ |
253 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 252 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
254 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ | 253 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ |
255 | am33_2.0 \ | 254 | am33_2.0 \ |
256 » | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a
vr32 \ | 255 » | arc | arceb \ |
257 | be32 | be64 \ | 256 » | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ |
| 257 » | avr | avr32 \ |
| 258 » | be32 | be64 \ |
258 | bfin \ | 259 | bfin \ |
259 » | c4x | clipper \ | 260 » | c4x | c8051 | clipper \ |
260 | d10v | d30v | dlx | dsp16xx \ | 261 | d10v | d30v | dlx | dsp16xx \ |
261 | epiphany \ | 262 | epiphany \ |
262 | fido | fr30 | frv \ | 263 | fido | fr30 | frv \ |
263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 264 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
264 | hexagon \ | 265 | hexagon \ |
265 | i370 | i860 | i960 | ia64 \ | 266 | i370 | i860 | i960 | ia64 \ |
266 | ip2k | iq2000 \ | 267 | ip2k | iq2000 \ |
267 | le32 | le64 \ | 268 | le32 | le64 \ |
268 | lm32 \ | 269 | lm32 \ |
269 | m32c | m32r | m32rle | m68000 | m68k | m88k \ | 270 | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
270 » | maxq | mb | microblaze | mcore | mep | metag \ | 271 » | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ |
271 | mips | mipsbe | mipseb | mipsel | mipsle \ | 272 | mips | mipsbe | mipseb | mipsel | mipsle \ |
272 | mips16 \ | 273 | mips16 \ |
273 | mips64 | mips64el \ | 274 | mips64 | mips64el \ |
274 | mips64octeon | mips64octeonel \ | 275 | mips64octeon | mips64octeonel \ |
275 | mips64orion | mips64orionel \ | 276 | mips64orion | mips64orionel \ |
276 | mips64r5900 | mips64r5900el \ | 277 | mips64r5900 | mips64r5900el \ |
277 | mips64vr | mips64vrel \ | 278 | mips64vr | mips64vrel \ |
278 | mips64vr4100 | mips64vr4100el \ | 279 | mips64vr4100 | mips64vr4100el \ |
279 | mips64vr4300 | mips64vr4300el \ | 280 | mips64vr4300 | mips64vr4300el \ |
280 | mips64vr5000 | mips64vr5000el \ | 281 | mips64vr5000 | mips64vr5000el \ |
281 | mips64vr5900 | mips64vr5900el \ | 282 | mips64vr5900 | mips64vr5900el \ |
282 | mipsisa32 | mipsisa32el \ | 283 | mipsisa32 | mipsisa32el \ |
283 | mipsisa32r2 | mipsisa32r2el \ | 284 | mipsisa32r2 | mipsisa32r2el \ |
284 | mipsisa64 | mipsisa64el \ | 285 | mipsisa64 | mipsisa64el \ |
285 | mipsisa64r2 | mipsisa64r2el \ | 286 | mipsisa64r2 | mipsisa64r2el \ |
286 | mipsisa64sb1 | mipsisa64sb1el \ | 287 | mipsisa64sb1 | mipsisa64sb1el \ |
287 | mipsisa64sr71k | mipsisa64sr71kel \ | 288 | mipsisa64sr71k | mipsisa64sr71kel \ |
| 289 | mipsr5900 | mipsr5900el \ |
288 | mipstx39 | mipstx39el \ | 290 | mipstx39 | mipstx39el \ |
289 | mn10200 | mn10300 \ | 291 | mn10200 | mn10300 \ |
290 | moxie \ | 292 | moxie \ |
291 | mt \ | 293 | mt \ |
292 | msp430 \ | 294 | msp430 \ |
293 | nds32 | nds32le | nds32be \ | 295 | nds32 | nds32le | nds32be \ |
294 » | nios | nios2 \ | 296 » | nios | nios2 | nios2eb | nios2el \ |
295 | ns16k | ns32k \ | 297 | ns16k | ns32k \ |
296 | open8 \ | 298 | open8 \ |
297 » | or32 \ | 299 » | or1k | or32 \ |
298 | pdp10 | pdp11 | pj | pjl \ | 300 | pdp10 | pdp11 | pj | pjl \ |
299 | powerpc | powerpc64 | powerpc64le | powerpcle \ | 301 | powerpc | powerpc64 | powerpc64le | powerpcle \ |
300 | pyramid \ | 302 | pyramid \ |
301 | rl78 | rx \ | 303 | rl78 | rx \ |
302 | score \ | 304 | score \ |
303 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe
| shle | sh[1234]le | sh3ele \ | 305 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe
| shle | sh[1234]le | sh3ele \ |
304 | sh64 | sh64le \ | 306 | sh64 | sh64le \ |
305 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit
e \ | 307 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit
e \ |
306 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 308 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
307 | spu \ | 309 | spu \ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 *-*-*) | 359 *-*-*) |
358 echo Invalid configuration \`$1\': machine \`$basic_machine\' no
t recognized 1>&2 | 360 echo Invalid configuration \`$1\': machine \`$basic_machine\' no
t recognized 1>&2 |
359 exit 1 | 361 exit 1 |
360 ;; | 362 ;; |
361 # Recognize the basic CPU types with company name. | 363 # Recognize the basic CPU types with company name. |
362 580-* \ | 364 580-* \ |
363 | a29k-* \ | 365 | a29k-* \ |
364 | aarch64-* | aarch64_be-* \ | 366 | aarch64-* | aarch64_be-* \ |
365 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | 367 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
366 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | 368 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
367 » | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | 369 » | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ |
368 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | 370 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
369 | avr-* | avr32-* \ | 371 | avr-* | avr32-* \ |
370 | be32-* | be64-* \ | 372 | be32-* | be64-* \ |
371 | bfin-* | bs2000-* \ | 373 | bfin-* | bs2000-* \ |
372 | c[123]* | c30-* | [cjt]90-* | c4x-* \ | 374 | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
373 » | clipper-* | craynv-* | cydra-* \ | 375 » | c8051-* | clipper-* | craynv-* | cydra-* \ |
374 | d10v-* | d30v-* | dlx-* \ | 376 | d10v-* | d30v-* | dlx-* \ |
375 | elxsi-* \ | 377 | elxsi-* \ |
376 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | 378 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
377 | h8300-* | h8500-* \ | 379 | h8300-* | h8500-* \ |
378 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 380 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
379 | hexagon-* \ | 381 | hexagon-* \ |
380 | i*86-* | i860-* | i960-* | ia64-* \ | 382 | i*86-* | i860-* | i960-* | ia64-* \ |
381 | ip2k-* | iq2000-* \ | 383 | ip2k-* | iq2000-* \ |
382 | le32-* | le64-* \ | 384 | le32-* | le64-* \ |
383 | lm32-* \ | 385 | lm32-* \ |
384 | m32c-* | m32r-* | m32rle-* \ | 386 | m32c-* | m32r-* | m32rle-* \ |
385 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 387 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
386 » | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | 388 » | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
| 389 » | microblaze-* | microblazeel-* \ |
387 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 390 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
388 | mips16-* \ | 391 | mips16-* \ |
389 | mips64-* | mips64el-* \ | 392 | mips64-* | mips64el-* \ |
390 | mips64octeon-* | mips64octeonel-* \ | 393 | mips64octeon-* | mips64octeonel-* \ |
391 | mips64orion-* | mips64orionel-* \ | 394 | mips64orion-* | mips64orionel-* \ |
392 | mips64r5900-* | mips64r5900el-* \ | 395 | mips64r5900-* | mips64r5900el-* \ |
393 | mips64vr-* | mips64vrel-* \ | 396 | mips64vr-* | mips64vrel-* \ |
394 | mips64vr4100-* | mips64vr4100el-* \ | 397 | mips64vr4100-* | mips64vr4100el-* \ |
395 | mips64vr4300-* | mips64vr4300el-* \ | 398 | mips64vr4300-* | mips64vr4300el-* \ |
396 | mips64vr5000-* | mips64vr5000el-* \ | 399 | mips64vr5000-* | mips64vr5000el-* \ |
397 | mips64vr5900-* | mips64vr5900el-* \ | 400 | mips64vr5900-* | mips64vr5900el-* \ |
398 | mipsisa32-* | mipsisa32el-* \ | 401 | mipsisa32-* | mipsisa32el-* \ |
399 | mipsisa32r2-* | mipsisa32r2el-* \ | 402 | mipsisa32r2-* | mipsisa32r2el-* \ |
400 | mipsisa64-* | mipsisa64el-* \ | 403 | mipsisa64-* | mipsisa64el-* \ |
401 | mipsisa64r2-* | mipsisa64r2el-* \ | 404 | mipsisa64r2-* | mipsisa64r2el-* \ |
402 | mipsisa64sb1-* | mipsisa64sb1el-* \ | 405 | mipsisa64sb1-* | mipsisa64sb1el-* \ |
403 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | 406 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| 407 | mipsr5900-* | mipsr5900el-* \ |
404 | mipstx39-* | mipstx39el-* \ | 408 | mipstx39-* | mipstx39el-* \ |
405 | mmix-* \ | 409 | mmix-* \ |
406 | mt-* \ | 410 | mt-* \ |
407 | msp430-* \ | 411 | msp430-* \ |
408 | nds32-* | nds32le-* | nds32be-* \ | 412 | nds32-* | nds32le-* | nds32be-* \ |
409 » | nios-* | nios2-* \ | 413 » | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
410 | none-* | np1-* | ns16k-* | ns32k-* \ | 414 | none-* | np1-* | ns16k-* | ns32k-* \ |
411 | open8-* \ | 415 | open8-* \ |
412 | orion-* \ | 416 | orion-* \ |
413 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 417 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
414 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | 418 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
415 | pyramid-* \ | 419 | pyramid-* \ |
416 | rl78-* | romp-* | rs6000-* | rx-* \ | 420 | rl78-* | romp-* | rs6000-* | rx-* \ |
417 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* |
sheb-* | shbe-* \ | 421 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* |
sheb-* | shbe-* \ |
418 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 422 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
419 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-
* \ | 423 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-
* \ |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 basic_machine=m88k-omron | 779 basic_machine=m88k-omron |
776 ;; | 780 ;; |
777 magnum | m3230) | 781 magnum | m3230) |
778 basic_machine=mips-mips | 782 basic_machine=mips-mips |
779 os=-sysv | 783 os=-sysv |
780 ;; | 784 ;; |
781 merlin) | 785 merlin) |
782 basic_machine=ns32k-utek | 786 basic_machine=ns32k-utek |
783 os=-sysv | 787 os=-sysv |
784 ;; | 788 ;; |
785 » microblaze) | 789 » microblaze*) |
786 basic_machine=microblaze-xilinx | 790 basic_machine=microblaze-xilinx |
787 ;; | 791 ;; |
| 792 mingw64) |
| 793 basic_machine=x86_64-pc |
| 794 os=-mingw64 |
| 795 ;; |
788 mingw32) | 796 mingw32) |
789 » » basic_machine=i386-pc | 797 » » basic_machine=i686-pc |
790 os=-mingw32 | 798 os=-mingw32 |
791 ;; | 799 ;; |
792 mingw32ce) | 800 mingw32ce) |
793 basic_machine=arm-unknown | 801 basic_machine=arm-unknown |
794 os=-mingw32ce | 802 os=-mingw32ce |
795 ;; | 803 ;; |
796 miniframe) | 804 miniframe) |
797 basic_machine=m68000-convergent | 805 basic_machine=m68000-convergent |
798 ;; | 806 ;; |
799 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) | 807 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
(...skipping 15 matching lines...) Expand all Loading... |
815 os=-morphos | 823 os=-morphos |
816 ;; | 824 ;; |
817 msdos) | 825 msdos) |
818 basic_machine=i386-pc | 826 basic_machine=i386-pc |
819 os=-msdos | 827 os=-msdos |
820 ;; | 828 ;; |
821 ms1-*) | 829 ms1-*) |
822 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | 830 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
823 ;; | 831 ;; |
824 msys) | 832 msys) |
825 » » basic_machine=i386-pc | 833 » » basic_machine=i686-pc |
826 os=-msys | 834 os=-msys |
827 ;; | 835 ;; |
828 mvs) | 836 mvs) |
829 basic_machine=i370-ibm | 837 basic_machine=i370-ibm |
830 os=-mvs | 838 os=-mvs |
831 ;; | 839 ;; |
832 nacl) | 840 nacl) |
833 basic_machine=le32-unknown | 841 basic_machine=le32-unknown |
834 os=-nacl | 842 os=-nacl |
835 ;; | 843 ;; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 ppc64le-* | powerpc64little-*) | 1014 ppc64le-* | powerpc64little-*) |
1007 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-/
/'` | 1015 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-/
/'` |
1008 ;; | 1016 ;; |
1009 ps2) | 1017 ps2) |
1010 basic_machine=i386-ibm | 1018 basic_machine=i386-ibm |
1011 ;; | 1019 ;; |
1012 pw32) | 1020 pw32) |
1013 basic_machine=i586-unknown | 1021 basic_machine=i586-unknown |
1014 os=-pw32 | 1022 os=-pw32 |
1015 ;; | 1023 ;; |
1016 » rdos) | 1024 » rdos | rdos64) |
| 1025 » » basic_machine=x86_64-pc |
| 1026 » » os=-rdos |
| 1027 » » ;; |
| 1028 » rdos32) |
1017 basic_machine=i386-pc | 1029 basic_machine=i386-pc |
1018 os=-rdos | 1030 os=-rdos |
1019 ;; | 1031 ;; |
1020 rom68k) | 1032 rom68k) |
1021 basic_machine=m68k-rom68k | 1033 basic_machine=m68k-rom68k |
1022 os=-coff | 1034 os=-coff |
1023 ;; | 1035 ;; |
1024 rm[46]00) | 1036 rm[46]00) |
1025 basic_machine=mips-siemens | 1037 basic_machine=mips-siemens |
1026 ;; | 1038 ;; |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 -gnu/linux*) | 1345 -gnu/linux*) |
1334 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` | 1346 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
1335 ;; | 1347 ;; |
1336 # First accept the basic system types. | 1348 # First accept the basic system types. |
1337 # The portable systems comes first. | 1349 # The portable systems comes first. |
1338 # Each alternative MUST END IN A *, to match a version number. | 1350 # Each alternative MUST END IN A *, to match a version number. |
1339 # -sysv* is not here because it comes later, after sysvr4. | 1351 # -sysv* is not here because it comes later, after sysvr4. |
1340 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 1352 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1341 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -suno
s[34]*\ | 1353 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -suno
s[34]*\ |
1342 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solari
s* \ | 1354 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solari
s* \ |
1343 » | -sym* | -kopensolaris* \ | 1355 » | -sym* | -kopensolaris* | -plan9* \ |
1344 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 1356 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1345 | -aos* | -aros* \ | 1357 | -aos* | -aros* \ |
1346 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1358 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1347 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 1359 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1348 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 1360 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1349 » | -openbsd* | -solidbsd* \ | 1361 » | -bitrig* | -openbsd* | -solidbsd* \ |
1350 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | 1362 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1351 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1363 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1352 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1364 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1353 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1365 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1354 | -chorusos* | -chorusrdb* | -cegcc* \ | 1366 | -chorusos* | -chorusrdb* | -cegcc* \ |
1355 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems*
\ | 1367 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems*
\ |
1356 » | -mingw32* | -linux-gnu* | -linux-android* \ | 1368 » | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1357 » | -linux-newlib* | -linux-uclibc* \ | 1369 » | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1358 | -uxpv* | -beos* | -mpeix* | -udk* \ | 1370 | -uxpv* | -beos* | -mpeix* | -udk* \ |
1359 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1371 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1360 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1372 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1361 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1373 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1362 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1374 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1363 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1375 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1364 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1376 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1365 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) | 1377 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
1366 # Remember, each alternative MUST END IN *, to match a version number. | 1378 # Remember, each alternative MUST END IN *, to match a version number. |
1367 ;; | 1379 ;; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1479 ;; | 1491 ;; |
1480 -xenix) | 1492 -xenix) |
1481 os=-xenix | 1493 os=-xenix |
1482 ;; | 1494 ;; |
1483 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) | 1495 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1484 os=-mint | 1496 os=-mint |
1485 ;; | 1497 ;; |
1486 -aros*) | 1498 -aros*) |
1487 os=-aros | 1499 os=-aros |
1488 ;; | 1500 ;; |
1489 -kaos*) | |
1490 os=-kaos | |
1491 ;; | |
1492 -zvmoe) | 1501 -zvmoe) |
1493 os=-zvmoe | 1502 os=-zvmoe |
1494 ;; | 1503 ;; |
1495 -dicos*) | 1504 -dicos*) |
1496 os=-dicos | 1505 os=-dicos |
1497 ;; | 1506 ;; |
1498 -nacl*) | 1507 -nacl*) |
1499 ;; | 1508 ;; |
1500 -none) | 1509 -none) |
1501 ;; | 1510 ;; |
(...skipping 28 matching lines...) Expand all Loading... |
1530 ;; | 1539 ;; |
1531 arm*-rebel) | 1540 arm*-rebel) |
1532 os=-linux | 1541 os=-linux |
1533 ;; | 1542 ;; |
1534 arm*-semi) | 1543 arm*-semi) |
1535 os=-aout | 1544 os=-aout |
1536 ;; | 1545 ;; |
1537 c4x-* | tic4x-*) | 1546 c4x-* | tic4x-*) |
1538 os=-coff | 1547 os=-coff |
1539 ;; | 1548 ;; |
| 1549 c8051-*) |
| 1550 os=-elf |
| 1551 ;; |
| 1552 hexagon-*) |
| 1553 os=-elf |
| 1554 ;; |
1540 tic54x-*) | 1555 tic54x-*) |
1541 os=-coff | 1556 os=-coff |
1542 ;; | 1557 ;; |
1543 tic55x-*) | 1558 tic55x-*) |
1544 os=-coff | 1559 os=-coff |
1545 ;; | 1560 ;; |
1546 tic6x-*) | 1561 tic6x-*) |
1547 os=-coff | 1562 os=-coff |
1548 ;; | 1563 ;; |
1549 # This must come before the *-dec entry. | 1564 # This must come before the *-dec entry. |
(...skipping 20 matching lines...) Expand all Loading... |
1570 ;; | 1585 ;; |
1571 mep-*) | 1586 mep-*) |
1572 os=-elf | 1587 os=-elf |
1573 ;; | 1588 ;; |
1574 mips*-cisco) | 1589 mips*-cisco) |
1575 os=-elf | 1590 os=-elf |
1576 ;; | 1591 ;; |
1577 mips*-*) | 1592 mips*-*) |
1578 os=-elf | 1593 os=-elf |
1579 ;; | 1594 ;; |
| 1595 or1k-*) |
| 1596 os=-elf |
| 1597 ;; |
1580 or32-*) | 1598 or32-*) |
1581 os=-coff | 1599 os=-coff |
1582 ;; | 1600 ;; |
1583 *-tti) # must be before sparc entry or we get the wrong os. | 1601 *-tti) # must be before sparc entry or we get the wrong os. |
1584 os=-sysv3 | 1602 os=-sysv3 |
1585 ;; | 1603 ;; |
1586 sparc-* | *-sun) | 1604 sparc-* | *-sun) |
1587 os=-sunos4.1.1 | 1605 os=-sunos4.1.1 |
1588 ;; | 1606 ;; |
1589 *-be) | 1607 *-be) |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1764 | 1782 |
1765 echo $basic_machine$os | 1783 echo $basic_machine$os |
1766 exit | 1784 exit |
1767 | 1785 |
1768 # Local variables: | 1786 # Local variables: |
1769 # eval: (add-hook 'write-file-hooks 'time-stamp) | 1787 # eval: (add-hook 'write-file-hooks 'time-stamp) |
1770 # time-stamp-start: "timestamp='" | 1788 # time-stamp-start: "timestamp='" |
1771 # time-stamp-format: "%:y-%02m-%02d" | 1789 # time-stamp-format: "%:y-%02m-%02d" |
1772 # time-stamp-end: "'" | 1790 # time-stamp-end: "'" |
1773 # End: | 1791 # End: |
OLD | NEW |