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-2014 Free Software Foundation, Inc. |
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 | |
5 # Free Software Foundation, Inc. | |
6 | 4 |
7 timestamp='2008-01-16' | 5 timestamp='2014-12-03' |
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, write to the Free Software | 18 # along with this program; if not, see <http://www.gnu.org/licenses/>. |
25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
26 # 02110-1301, USA. | |
27 # | 19 # |
28 # 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 |
29 # distribute this file as part of a program that contains a | 21 # distribute this file as part of a program that contains a |
30 # configuration script generated by Autoconf, you may include it under | 22 # configuration script generated by Autoconf, you may include it under |
31 # 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"). |
32 | 26 |
33 | 27 |
34 # Please send patches to <config-patches@gnu.org>. Submit a context | 28 # Please send patches to <config-patches@gnu.org>. |
35 # diff and a properly formatted ChangeLog entry. | |
36 # | 29 # |
37 # Configuration subroutine to validate and canonicalize a configuration type. | 30 # Configuration subroutine to validate and canonicalize a configuration type. |
38 # Supply the specified configuration type as an argument. | 31 # Supply the specified configuration type as an argument. |
39 # 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. |
40 # Otherwise, we print the canonical config type on stdout and succeed. | 33 # Otherwise, we print the canonical config type on stdout and succeed. |
41 | 34 |
| 35 # You can get the latest version of this script from: |
| 36 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=
HEAD |
| 37 |
42 # 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 |
43 # and recognize all the CPU types, system types and aliases | 39 # and recognize all the CPU types, system types and aliases |
44 # that are meaningful with *any* GNU software. | 40 # that are meaningful with *any* GNU software. |
45 # Each package is responsible for reporting which valid configurations | 41 # Each package is responsible for reporting which valid configurations |
46 # it does not support. The user should be able to distinguish | 42 # it does not support. The user should be able to distinguish |
47 # a failure to support a valid configuration from a meaningless | 43 # a failure to support a valid configuration from a meaningless |
48 # configuration. | 44 # configuration. |
49 | 45 |
50 # The goal of this file is to map all the various variations of a given | 46 # The goal of this file is to map all the various variations of a given |
51 # machine specification into a single specification in the form: | 47 # machine specification into a single specification in the form: |
(...skipping 13 matching lines...) Expand all Loading... |
65 Operation modes: | 61 Operation modes: |
66 -h, --help print this help, then exit | 62 -h, --help print this help, then exit |
67 -t, --time-stamp print date of last modification, then exit | 63 -t, --time-stamp print date of last modification, then exit |
68 -v, --version print version number, then exit | 64 -v, --version print version number, then exit |
69 | 65 |
70 Report bugs and patches to <config-patches@gnu.org>." | 66 Report bugs and patches to <config-patches@gnu.org>." |
71 | 67 |
72 version="\ | 68 version="\ |
73 GNU config.sub ($timestamp) | 69 GNU config.sub ($timestamp) |
74 | 70 |
75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | 71 Copyright 1992-2014 Free Software Foundation, Inc. |
76 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
77 | 72 |
78 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 |
79 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 74 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
80 | 75 |
81 help=" | 76 help=" |
82 Try \`$me --help' for more information." | 77 Try \`$me --help' for more information." |
83 | 78 |
84 # Parse command line | 79 # Parse command line |
85 while test $# -gt 0 ; do | 80 while test $# -gt 0 ; do |
86 case $1 in | 81 case $1 in |
(...skipping 26 matching lines...) Expand all Loading... |
113 exit 1;; | 108 exit 1;; |
114 1) ;; | 109 1) ;; |
115 *) echo "$me: too many arguments$help" >&2 | 110 *) echo "$me: too many arguments$help" >&2 |
116 exit 1;; | 111 exit 1;; |
117 esac | 112 esac |
118 | 113 |
119 # 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). |
120 # Here we must recognize all the valid KERNEL-OS combinations. | 115 # Here we must recognize all the valid KERNEL-OS combinations. |
121 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 116 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
122 case $maybe_os in | 117 case $maybe_os in |
123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ | 118 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu*
| \ | 119 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu*
| \ |
| 120 knetbsd*-gnu* | netbsd*-gnu* | \ |
| 121 kopensolaris*-gnu* | \ |
125 storm-chaos* | os2-emx* | rtmk-nova*) | 122 storm-chaos* | os2-emx* | rtmk-nova*) |
126 os=-$maybe_os | 123 os=-$maybe_os |
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
128 ;; | 125 ;; |
| 126 android-linux) |
| 127 os=-linux-android |
| 128 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown |
| 129 ;; |
129 *) | 130 *) |
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'` | 131 basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
131 if [ $basic_machine != $1 ] | 132 if [ $basic_machine != $1 ] |
132 then os=`echo $1 | sed 's/.*-/-/'` | 133 then os=`echo $1 | sed 's/.*-/-/'` |
133 else os=; fi | 134 else os=; fi |
134 ;; | 135 ;; |
135 esac | 136 esac |
136 | 137 |
137 ### Let's recognize common machines as not being operating systems so | 138 ### Let's recognize common machines as not being operating systems so |
138 ### that things like config.sub decstation-3100 work. We also | 139 ### that things like config.sub decstation-3100 work. We also |
139 ### recognize some manufacturers as not being operating systems, so we | 140 ### recognize some manufacturers as not being operating systems, so we |
140 ### can provide default operating systems below. | 141 ### can provide default operating systems below. |
141 case $os in | 142 case $os in |
142 -sun*os*) | 143 -sun*os*) |
143 # Prevent following clause from handling this invalid input. | 144 # Prevent following clause from handling this invalid input. |
144 ;; | 145 ;; |
145 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ | 146 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ |
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | 147 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ |
147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ | 148 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ |
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | 149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | 150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | 151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
151 » -apple | -axis | -knuth | -cray) | 152 » -apple | -axis | -knuth | -cray | -microblaze*) |
152 os= | 153 os= |
153 basic_machine=$1 | 154 basic_machine=$1 |
154 ;; | 155 ;; |
| 156 -bluegene*) |
| 157 os=-cnk |
| 158 ;; |
155 -sim | -cisco | -oki | -wec | -winbond) | 159 -sim | -cisco | -oki | -wec | -winbond) |
156 os= | 160 os= |
157 basic_machine=$1 | 161 basic_machine=$1 |
158 ;; | 162 ;; |
159 -scout) | 163 -scout) |
160 ;; | 164 ;; |
161 -wrs) | 165 -wrs) |
162 os=-vxworks | 166 os=-vxworks |
163 basic_machine=$1 | 167 basic_machine=$1 |
164 ;; | 168 ;; |
165 -chorusos*) | 169 -chorusos*) |
166 os=-chorusos | 170 os=-chorusos |
167 basic_machine=$1 | 171 basic_machine=$1 |
168 ;; | 172 ;; |
169 » -chorusrdb) | 173 » -chorusrdb) |
170 » » os=-chorusrdb | 174 » » os=-chorusrdb |
171 basic_machine=$1 | 175 basic_machine=$1 |
172 » » ;; | 176 » » ;; |
173 -hiux*) | 177 -hiux*) |
174 os=-hiuxwe2 | 178 os=-hiuxwe2 |
175 ;; | 179 ;; |
176 -sco6) | 180 -sco6) |
177 os=-sco5v6 | 181 os=-sco5v6 |
178 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 182 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
179 ;; | 183 ;; |
180 -sco5) | 184 -sco5) |
181 os=-sco3.2v5 | 185 os=-sco3.2v5 |
182 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 186 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
(...skipping 24 matching lines...) Expand all Loading... |
207 -isc) | 211 -isc) |
208 os=-isc2.2 | 212 os=-isc2.2 |
209 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 213 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
210 ;; | 214 ;; |
211 -clix*) | 215 -clix*) |
212 basic_machine=clipper-intergraph | 216 basic_machine=clipper-intergraph |
213 ;; | 217 ;; |
214 -isc*) | 218 -isc*) |
215 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 219 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
216 ;; | 220 ;; |
| 221 -lynx*178) |
| 222 os=-lynxos178 |
| 223 ;; |
| 224 -lynx*5) |
| 225 os=-lynxos5 |
| 226 ;; |
217 -lynx*) | 227 -lynx*) |
218 os=-lynxos | 228 os=-lynxos |
219 ;; | 229 ;; |
220 -ptx*) | 230 -ptx*) |
221 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` | 231 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` |
222 ;; | 232 ;; |
223 -windowsnt*) | 233 -windowsnt*) |
224 os=`echo $os | sed -e 's/windowsnt/winnt/'` | 234 os=`echo $os | sed -e 's/windowsnt/winnt/'` |
225 ;; | 235 ;; |
226 -psos*) | 236 -psos*) |
227 os=-psos | 237 os=-psos |
228 ;; | 238 ;; |
229 -mint | -mint[0-9]*) | 239 -mint | -mint[0-9]*) |
230 basic_machine=m68k-atari | 240 basic_machine=m68k-atari |
231 os=-mint | 241 os=-mint |
232 ;; | 242 ;; |
233 esac | 243 esac |
234 | 244 |
235 # Decode aliases for certain CPU-COMPANY combinations. | 245 # Decode aliases for certain CPU-COMPANY combinations. |
236 case $basic_machine in | 246 case $basic_machine in |
237 # Recognize the basic CPU types without company name. | 247 # Recognize the basic CPU types without company name. |
238 # Some are omitted here because they have special meanings below. | 248 # Some are omitted here because they have special meanings below. |
239 1750a | 580 \ | 249 1750a | 580 \ |
240 | a29k \ | 250 | a29k \ |
| 251 | aarch64 | aarch64_be \ |
241 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 252 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ | 253 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ |
243 | am33_2.0 \ | 254 | am33_2.0 \ |
244 » | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a
vr32 \ | 255 » | arc | arceb \ |
| 256 » | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ |
| 257 » | avr | avr32 \ |
| 258 » | be32 | be64 \ |
245 | bfin \ | 259 | bfin \ |
246 » | c4x | clipper \ | 260 » | c4x | c8051 | clipper \ |
247 | d10v | d30v | dlx | dsp16xx \ | 261 | d10v | d30v | dlx | dsp16xx \ |
| 262 | epiphany \ |
248 | fido | fr30 | frv \ | 263 | fido | fr30 | frv \ |
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 264 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| 265 | hexagon \ |
250 | i370 | i860 | i960 | ia64 \ | 266 | i370 | i860 | i960 | ia64 \ |
251 | ip2k | iq2000 \ | 267 | ip2k | iq2000 \ |
| 268 | k1om \ |
| 269 | le32 | le64 \ |
| 270 | lm32 \ |
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ | 271 | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
253 » | maxq | mb | microblaze | mcore | mep \ | 272 » | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ |
254 | mips | mipsbe | mipseb | mipsel | mipsle \ | 273 | mips | mipsbe | mipseb | mipsel | mipsle \ |
255 | mips16 \ | 274 | mips16 \ |
256 | mips64 | mips64el \ | 275 | mips64 | mips64el \ |
| 276 | mips64octeon | mips64octeonel \ |
| 277 | mips64orion | mips64orionel \ |
| 278 | mips64r5900 | mips64r5900el \ |
257 | mips64vr | mips64vrel \ | 279 | mips64vr | mips64vrel \ |
258 | mips64orion | mips64orionel \ | |
259 | mips64vr4100 | mips64vr4100el \ | 280 | mips64vr4100 | mips64vr4100el \ |
260 | mips64vr4300 | mips64vr4300el \ | 281 | mips64vr4300 | mips64vr4300el \ |
261 | mips64vr5000 | mips64vr5000el \ | 282 | mips64vr5000 | mips64vr5000el \ |
262 | mips64vr5900 | mips64vr5900el \ | 283 | mips64vr5900 | mips64vr5900el \ |
263 | mipsisa32 | mipsisa32el \ | 284 | mipsisa32 | mipsisa32el \ |
264 | mipsisa32r2 | mipsisa32r2el \ | 285 | mipsisa32r2 | mipsisa32r2el \ |
| 286 | mipsisa32r6 | mipsisa32r6el \ |
265 | mipsisa64 | mipsisa64el \ | 287 | mipsisa64 | mipsisa64el \ |
266 | mipsisa64r2 | mipsisa64r2el \ | 288 | mipsisa64r2 | mipsisa64r2el \ |
| 289 | mipsisa64r6 | mipsisa64r6el \ |
267 | mipsisa64sb1 | mipsisa64sb1el \ | 290 | mipsisa64sb1 | mipsisa64sb1el \ |
268 | mipsisa64sr71k | mipsisa64sr71kel \ | 291 | mipsisa64sr71k | mipsisa64sr71kel \ |
| 292 | mipsr5900 | mipsr5900el \ |
269 | mipstx39 | mipstx39el \ | 293 | mipstx39 | mipstx39el \ |
270 | mn10200 | mn10300 \ | 294 | mn10200 | mn10300 \ |
| 295 | moxie \ |
271 | mt \ | 296 | mt \ |
272 | msp430 \ | 297 | msp430 \ |
273 » | nios | nios2 \ | 298 » | nds32 | nds32le | nds32be \ |
| 299 » | nios | nios2 | nios2eb | nios2el \ |
274 | ns16k | ns32k \ | 300 | ns16k | ns32k \ |
275 » | or32 \ | 301 » | open8 | or1k | or1knd | or32 \ |
276 | pdp10 | pdp11 | pj | pjl \ | 302 | pdp10 | pdp11 | pj | pjl \ |
277 » | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 303 » | powerpc | powerpc64 | powerpc64le | powerpcle \ |
278 | pyramid \ | 304 | pyramid \ |
| 305 | riscv32 | riscv64 \ |
| 306 | rl78 | rx \ |
279 | score \ | 307 | score \ |
280 » | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh
[1234]le | sh3ele \ | 308 » | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe
| shle | sh[1234]le | sh3ele \ |
281 | sh64 | sh64le \ | 309 | sh64 | sh64le \ |
282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit
e \ | 310 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit
e \ |
283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 311 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
284 » | spu | strongarm \ | 312 » | spu \ |
285 » | tahoe | thumb | tic4x | tic80 | tron \ | 313 » | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ |
286 » | v850 | v850e \ | 314 » | ubicom32 \ |
| 315 » | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
| 316 » | visium \ |
287 | we32k \ | 317 | we32k \ |
288 » | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | 318 » | x86 | xc16x | xstormy16 | xtensa \ |
289 » | z8k) | 319 » | z8k | z80) |
290 basic_machine=$basic_machine-unknown | 320 basic_machine=$basic_machine-unknown |
291 ;; | 321 ;; |
292 » m6811 | m68hc11 | m6812 | m68hc12) | 322 » c54x) |
293 » » # Motorola 68HC11/12. | 323 » » basic_machine=tic54x-unknown |
| 324 » » ;; |
| 325 » c55x) |
| 326 » » basic_machine=tic55x-unknown |
| 327 » » ;; |
| 328 » c6x) |
| 329 » » basic_machine=tic6x-unknown |
| 330 » » ;; |
| 331 » leon|leon[3-9]) |
| 332 » » basic_machine=sparc-$basic_machine |
| 333 » » ;; |
| 334 » m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) |
294 basic_machine=$basic_machine-unknown | 335 basic_machine=$basic_machine-unknown |
295 os=-none | 336 os=-none |
296 ;; | 337 ;; |
297 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | 338 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
298 ;; | 339 ;; |
299 ms1) | 340 ms1) |
300 basic_machine=mt-unknown | 341 basic_machine=mt-unknown |
301 ;; | 342 ;; |
302 | 343 |
| 344 strongarm | thumb | xscale) |
| 345 basic_machine=arm-unknown |
| 346 ;; |
| 347 xgate) |
| 348 basic_machine=$basic_machine-unknown |
| 349 os=-none |
| 350 ;; |
| 351 xscaleeb) |
| 352 basic_machine=armeb-unknown |
| 353 ;; |
| 354 |
| 355 xscaleel) |
| 356 basic_machine=armel-unknown |
| 357 ;; |
| 358 |
303 # We use `pc' rather than `unknown' | 359 # We use `pc' rather than `unknown' |
304 # because (1) that's what they normally are, and | 360 # because (1) that's what they normally are, and |
305 # (2) the word "unknown" tends to confuse beginning users. | 361 # (2) the word "unknown" tends to confuse beginning users. |
306 i*86 | x86_64) | 362 i*86 | x86_64) |
307 basic_machine=$basic_machine-pc | 363 basic_machine=$basic_machine-pc |
308 ;; | 364 ;; |
309 # Object if more than one company name word. | 365 # Object if more than one company name word. |
310 *-*-*) | 366 *-*-*) |
311 echo Invalid configuration \`$1\': machine \`$basic_machine\' no
t recognized 1>&2 | 367 echo Invalid configuration \`$1\': machine \`$basic_machine\' no
t recognized 1>&2 |
312 exit 1 | 368 exit 1 |
313 ;; | 369 ;; |
314 # Recognize the basic CPU types with company name. | 370 # Recognize the basic CPU types with company name. |
315 580-* \ | 371 580-* \ |
316 | a29k-* \ | 372 | a29k-* \ |
| 373 | aarch64-* | aarch64_be-* \ |
317 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | 374 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
318 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | 375 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
319 » | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | 376 » | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ |
320 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | 377 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
321 | avr-* | avr32-* \ | 378 | avr-* | avr32-* \ |
| 379 | be32-* | be64-* \ |
322 | bfin-* | bs2000-* \ | 380 | bfin-* | bs2000-* \ |
323 » | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | 381 » | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
324 » | clipper-* | craynv-* | cydra-* \ | 382 » | c8051-* | clipper-* | craynv-* | cydra-* \ |
325 | d10v-* | d30v-* | dlx-* \ | 383 | d10v-* | d30v-* | dlx-* \ |
326 | elxsi-* \ | 384 | elxsi-* \ |
327 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | 385 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
328 | h8300-* | h8500-* \ | 386 | h8300-* | h8500-* \ |
329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 387 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
| 388 | hexagon-* \ |
330 | i*86-* | i860-* | i960-* | ia64-* \ | 389 | i*86-* | i860-* | i960-* | ia64-* \ |
331 | ip2k-* | iq2000-* \ | 390 | ip2k-* | iq2000-* \ |
| 391 | k1om-* \ |
| 392 | le32-* | le64-* \ |
| 393 | lm32-* \ |
332 | m32c-* | m32r-* | m32rle-* \ | 394 | m32c-* | m32r-* | m32rle-* \ |
333 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 395 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
334 » | m88110-* | m88k-* | maxq-* | mcore-* \ | 396 » | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
| 397 » | microblaze-* | microblazeel-* \ |
335 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 398 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
336 | mips16-* \ | 399 | mips16-* \ |
337 | mips64-* | mips64el-* \ | 400 | mips64-* | mips64el-* \ |
| 401 | mips64octeon-* | mips64octeonel-* \ |
| 402 | mips64orion-* | mips64orionel-* \ |
| 403 | mips64r5900-* | mips64r5900el-* \ |
338 | mips64vr-* | mips64vrel-* \ | 404 | mips64vr-* | mips64vrel-* \ |
339 | mips64orion-* | mips64orionel-* \ | |
340 | mips64vr4100-* | mips64vr4100el-* \ | 405 | mips64vr4100-* | mips64vr4100el-* \ |
341 | mips64vr4300-* | mips64vr4300el-* \ | 406 | mips64vr4300-* | mips64vr4300el-* \ |
342 | mips64vr5000-* | mips64vr5000el-* \ | 407 | mips64vr5000-* | mips64vr5000el-* \ |
343 | mips64vr5900-* | mips64vr5900el-* \ | 408 | mips64vr5900-* | mips64vr5900el-* \ |
344 | mipsisa32-* | mipsisa32el-* \ | 409 | mipsisa32-* | mipsisa32el-* \ |
345 | mipsisa32r2-* | mipsisa32r2el-* \ | 410 | mipsisa32r2-* | mipsisa32r2el-* \ |
| 411 | mipsisa32r6-* | mipsisa32r6el-* \ |
346 | mipsisa64-* | mipsisa64el-* \ | 412 | mipsisa64-* | mipsisa64el-* \ |
347 | mipsisa64r2-* | mipsisa64r2el-* \ | 413 | mipsisa64r2-* | mipsisa64r2el-* \ |
| 414 | mipsisa64r6-* | mipsisa64r6el-* \ |
348 | mipsisa64sb1-* | mipsisa64sb1el-* \ | 415 | mipsisa64sb1-* | mipsisa64sb1el-* \ |
349 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | 416 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| 417 | mipsr5900-* | mipsr5900el-* \ |
350 | mipstx39-* | mipstx39el-* \ | 418 | mipstx39-* | mipstx39el-* \ |
351 | mmix-* \ | 419 | mmix-* \ |
352 | mt-* \ | 420 | mt-* \ |
353 | msp430-* \ | 421 | msp430-* \ |
354 » | nios-* | nios2-* \ | 422 » | nds32-* | nds32le-* | nds32be-* \ |
| 423 » | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
355 | none-* | np1-* | ns16k-* | ns32k-* \ | 424 | none-* | np1-* | ns16k-* | ns32k-* \ |
| 425 | open8-* \ |
| 426 | or1k*-* \ |
356 | orion-* \ | 427 | orion-* \ |
357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 428 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
358 » | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 429 » | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
359 | pyramid-* \ | 430 | pyramid-* \ |
360 » | romp-* | rs6000-* \ | 431 » | rl78-* | romp-* | rs6000-* | rx-* \ |
361 » | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe
-* \ | 432 » | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* |
sheb-* | shbe-* \ |
362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 433 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-
* \ | 434 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-
* \ |
364 | sparclite-* \ | 435 | sparclite-* \ |
365 » | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-*
| sx?-* \ | 436 » | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ |
366 » | tahoe-* | thumb-* \ | 437 » | tahoe-* \ |
367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 438 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
| 439 | tile*-* \ |
368 | tron-* \ | 440 | tron-* \ |
369 » | v850-* | v850e-* | vax-* \ | 441 » | ubicom32-* \ |
| 442 » | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
| 443 » | vax-* \ |
| 444 » | visium-* \ |
370 | we32k-* \ | 445 | we32k-* \ |
371 » | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | 446 » | x86-* | x86_64-* | xc16x-* | xps100-* \ |
372 | xstormy16-* | xtensa*-* \ | 447 | xstormy16-* | xtensa*-* \ |
373 | ymp-* \ | 448 | ymp-* \ |
374 » | z8k-*) | 449 » | z8k-* | z80-*) |
375 ;; | 450 ;; |
376 # Recognize the basic CPU types without company name, with glob match. | 451 # Recognize the basic CPU types without company name, with glob match. |
377 xtensa*) | 452 xtensa*) |
378 basic_machine=$basic_machine-unknown | 453 basic_machine=$basic_machine-unknown |
379 ;; | 454 ;; |
380 # Recognize the various machine names and aliases which stand | 455 # Recognize the various machine names and aliases which stand |
381 # for a CPU type and a company and sometimes even an OS. | 456 # for a CPU type and a company and sometimes even an OS. |
382 386bsd) | 457 386bsd) |
383 basic_machine=i386-unknown | 458 basic_machine=i386-unknown |
384 os=-bsd | 459 os=-bsd |
385 ;; | 460 ;; |
386 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | 461 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
387 basic_machine=m68000-att | 462 basic_machine=m68000-att |
388 ;; | 463 ;; |
389 3b*) | 464 3b*) |
390 basic_machine=we32k-att | 465 basic_machine=we32k-att |
391 ;; | 466 ;; |
392 a29khif) | 467 a29khif) |
393 basic_machine=a29k-amd | 468 basic_machine=a29k-amd |
394 os=-udi | 469 os=-udi |
395 ;; | 470 ;; |
396 » abacus) | 471 » abacus) |
397 basic_machine=abacus-unknown | 472 basic_machine=abacus-unknown |
398 ;; | 473 ;; |
399 adobe68k) | 474 adobe68k) |
400 basic_machine=m68010-adobe | 475 basic_machine=m68010-adobe |
401 os=-scout | 476 os=-scout |
402 ;; | 477 ;; |
403 alliant | fx80) | 478 alliant | fx80) |
404 basic_machine=fx80-alliant | 479 basic_machine=fx80-alliant |
405 ;; | 480 ;; |
406 altos | altos3068) | 481 altos | altos3068) |
(...skipping 25 matching lines...) Expand all Loading... |
432 os=-sysv4 | 507 os=-sysv4 |
433 ;; | 508 ;; |
434 apollo68) | 509 apollo68) |
435 basic_machine=m68k-apollo | 510 basic_machine=m68k-apollo |
436 os=-sysv | 511 os=-sysv |
437 ;; | 512 ;; |
438 apollo68bsd) | 513 apollo68bsd) |
439 basic_machine=m68k-apollo | 514 basic_machine=m68k-apollo |
440 os=-bsd | 515 os=-bsd |
441 ;; | 516 ;; |
| 517 aros) |
| 518 basic_machine=i386-pc |
| 519 os=-aros |
| 520 ;; |
442 aux) | 521 aux) |
443 basic_machine=m68k-apple | 522 basic_machine=m68k-apple |
444 os=-aux | 523 os=-aux |
445 ;; | 524 ;; |
446 balance) | 525 balance) |
447 basic_machine=ns32k-sequent | 526 basic_machine=ns32k-sequent |
448 os=-dynix | 527 os=-dynix |
449 ;; | 528 ;; |
450 blackfin) | 529 blackfin) |
451 basic_machine=bfin-unknown | 530 basic_machine=bfin-unknown |
452 os=-linux | 531 os=-linux |
453 ;; | 532 ;; |
454 blackfin-*) | 533 blackfin-*) |
455 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | 534 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` |
456 os=-linux | 535 os=-linux |
457 ;; | 536 ;; |
| 537 bluegene*) |
| 538 basic_machine=powerpc-ibm |
| 539 os=-cnk |
| 540 ;; |
| 541 c54x-*) |
| 542 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 543 ;; |
| 544 c55x-*) |
| 545 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 546 ;; |
| 547 c6x-*) |
| 548 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 549 ;; |
458 c90) | 550 c90) |
459 basic_machine=c90-cray | 551 basic_machine=c90-cray |
460 os=-unicos | 552 os=-unicos |
461 ;; | 553 ;; |
| 554 cegcc) |
| 555 basic_machine=arm-unknown |
| 556 os=-cegcc |
| 557 ;; |
462 convex-c1) | 558 convex-c1) |
463 basic_machine=c1-convex | 559 basic_machine=c1-convex |
464 os=-bsd | 560 os=-bsd |
465 ;; | 561 ;; |
466 convex-c2) | 562 convex-c2) |
467 basic_machine=c2-convex | 563 basic_machine=c2-convex |
468 os=-bsd | 564 os=-bsd |
469 ;; | 565 ;; |
470 convex-c32) | 566 convex-c32) |
471 basic_machine=c32-convex | 567 basic_machine=c32-convex |
472 os=-bsd | 568 os=-bsd |
473 ;; | 569 ;; |
474 convex-c34) | 570 convex-c34) |
475 basic_machine=c34-convex | 571 basic_machine=c34-convex |
476 os=-bsd | 572 os=-bsd |
477 ;; | 573 ;; |
478 convex-c38) | 574 convex-c38) |
479 basic_machine=c38-convex | 575 basic_machine=c38-convex |
480 os=-bsd | 576 os=-bsd |
481 ;; | 577 ;; |
482 cray | j90) | 578 cray | j90) |
483 basic_machine=j90-cray | 579 basic_machine=j90-cray |
484 os=-unicos | 580 os=-unicos |
485 ;; | 581 ;; |
486 craynv) | 582 craynv) |
487 basic_machine=craynv-cray | 583 basic_machine=craynv-cray |
488 os=-unicosmp | 584 os=-unicosmp |
489 ;; | 585 ;; |
490 » cr16) | 586 » cr16 | cr16-*) |
491 basic_machine=cr16-unknown | 587 basic_machine=cr16-unknown |
492 os=-elf | 588 os=-elf |
493 ;; | 589 ;; |
494 crds | unos) | 590 crds | unos) |
495 basic_machine=m68k-crds | 591 basic_machine=m68k-crds |
496 ;; | 592 ;; |
497 crisv32 | crisv32-* | etraxfs*) | 593 crisv32 | crisv32-* | etraxfs*) |
498 basic_machine=crisv32-axis | 594 basic_machine=crisv32-axis |
499 ;; | 595 ;; |
500 cris | cris-* | etrax*) | 596 cris | cris-* | etrax*) |
(...skipping 18 matching lines...) Expand all Loading... |
519 os=-tops20 | 615 os=-tops20 |
520 ;; | 616 ;; |
521 delta | 3300 | motorola-3300 | motorola-delta \ | 617 delta | 3300 | motorola-3300 | motorola-delta \ |
522 | 3300-motorola | delta-motorola) | 618 | 3300-motorola | delta-motorola) |
523 basic_machine=m68k-motorola | 619 basic_machine=m68k-motorola |
524 ;; | 620 ;; |
525 delta88) | 621 delta88) |
526 basic_machine=m88k-motorola | 622 basic_machine=m88k-motorola |
527 os=-sysv3 | 623 os=-sysv3 |
528 ;; | 624 ;; |
| 625 dicos) |
| 626 basic_machine=i686-pc |
| 627 os=-dicos |
| 628 ;; |
529 djgpp) | 629 djgpp) |
530 basic_machine=i586-pc | 630 basic_machine=i586-pc |
531 os=-msdosdjgpp | 631 os=-msdosdjgpp |
532 ;; | 632 ;; |
533 dpx20 | dpx20-*) | 633 dpx20 | dpx20-*) |
534 basic_machine=rs6000-bull | 634 basic_machine=rs6000-bull |
535 os=-bosx | 635 os=-bosx |
536 ;; | 636 ;; |
537 dpx2* | dpx2*-bull) | 637 dpx2* | dpx2*-bull) |
538 basic_machine=m68k-bull | 638 basic_machine=m68k-bull |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 basic_machine=hppa1.1-hp | 734 basic_machine=hppa1.1-hp |
635 os=-osf | 735 os=-osf |
636 ;; | 736 ;; |
637 hppro) | 737 hppro) |
638 basic_machine=hppa1.1-hp | 738 basic_machine=hppa1.1-hp |
639 os=-proelf | 739 os=-proelf |
640 ;; | 740 ;; |
641 i370-ibm* | ibm*) | 741 i370-ibm* | ibm*) |
642 basic_machine=i370-ibm | 742 basic_machine=i370-ibm |
643 ;; | 743 ;; |
644 # I'm not sure what "Sysv32" means. Should this be sysv3.2? | |
645 i*86v32) | 744 i*86v32) |
646 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 745 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
647 os=-sysv32 | 746 os=-sysv32 |
648 ;; | 747 ;; |
649 i*86v4*) | 748 i*86v4*) |
650 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 749 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
651 os=-sysv4 | 750 os=-sysv4 |
652 ;; | 751 ;; |
653 i*86v) | 752 i*86v) |
654 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 753 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
(...skipping 18 matching lines...) Expand all Loading... |
673 ;; | 772 ;; |
674 *) | 773 *) |
675 os=-irix4 | 774 os=-irix4 |
676 ;; | 775 ;; |
677 esac | 776 esac |
678 ;; | 777 ;; |
679 isi68 | isi) | 778 isi68 | isi) |
680 basic_machine=m68k-isi | 779 basic_machine=m68k-isi |
681 os=-sysv | 780 os=-sysv |
682 ;; | 781 ;; |
| 782 leon-*|leon[3-9]-*) |
| 783 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` |
| 784 ;; |
683 m68knommu) | 785 m68knommu) |
684 basic_machine=m68k-unknown | 786 basic_machine=m68k-unknown |
685 os=-linux | 787 os=-linux |
686 ;; | 788 ;; |
687 m68knommu-*) | 789 m68knommu-*) |
688 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | 790 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` |
689 os=-linux | 791 os=-linux |
690 ;; | 792 ;; |
691 m88k-omron*) | 793 m88k-omron*) |
692 basic_machine=m88k-omron | 794 basic_machine=m88k-omron |
693 ;; | 795 ;; |
694 magnum | m3230) | 796 magnum | m3230) |
695 basic_machine=mips-mips | 797 basic_machine=mips-mips |
696 os=-sysv | 798 os=-sysv |
697 ;; | 799 ;; |
698 merlin) | 800 merlin) |
699 basic_machine=ns32k-utek | 801 basic_machine=ns32k-utek |
700 os=-sysv | 802 os=-sysv |
701 ;; | 803 ;; |
| 804 microblaze*) |
| 805 basic_machine=microblaze-xilinx |
| 806 ;; |
| 807 mingw64) |
| 808 basic_machine=x86_64-pc |
| 809 os=-mingw64 |
| 810 ;; |
702 mingw32) | 811 mingw32) |
703 » » basic_machine=i386-pc | 812 » » basic_machine=i686-pc |
704 os=-mingw32 | 813 os=-mingw32 |
705 ;; | 814 ;; |
706 mingw32ce) | 815 mingw32ce) |
707 basic_machine=arm-unknown | 816 basic_machine=arm-unknown |
708 os=-mingw32ce | 817 os=-mingw32ce |
709 ;; | 818 ;; |
710 miniframe) | 819 miniframe) |
711 basic_machine=m68000-convergent | 820 basic_machine=m68000-convergent |
712 ;; | 821 ;; |
713 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) | 822 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
714 basic_machine=m68k-atari | 823 basic_machine=m68k-atari |
715 os=-mint | 824 os=-mint |
716 ;; | 825 ;; |
717 mips3*-*) | 826 mips3*-*) |
718 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | 827 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
719 ;; | 828 ;; |
720 mips3*) | 829 mips3*) |
721 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-u
nknown | 830 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-u
nknown |
722 ;; | 831 ;; |
723 monitor) | 832 monitor) |
724 basic_machine=m68k-rom68k | 833 basic_machine=m68k-rom68k |
725 os=-coff | 834 os=-coff |
726 ;; | 835 ;; |
727 morphos) | 836 morphos) |
728 basic_machine=powerpc-unknown | 837 basic_machine=powerpc-unknown |
729 os=-morphos | 838 os=-morphos |
730 ;; | 839 ;; |
| 840 moxiebox) |
| 841 basic_machine=moxie-unknown |
| 842 os=-moxiebox |
| 843 ;; |
731 msdos) | 844 msdos) |
732 basic_machine=i386-pc | 845 basic_machine=i386-pc |
733 os=-msdos | 846 os=-msdos |
734 ;; | 847 ;; |
735 ms1-*) | 848 ms1-*) |
736 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | 849 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
737 ;; | 850 ;; |
| 851 msys) |
| 852 basic_machine=i686-pc |
| 853 os=-msys |
| 854 ;; |
738 mvs) | 855 mvs) |
739 basic_machine=i370-ibm | 856 basic_machine=i370-ibm |
740 os=-mvs | 857 os=-mvs |
741 ;; | 858 ;; |
| 859 nacl) |
| 860 basic_machine=le32-unknown |
| 861 os=-nacl |
| 862 ;; |
742 ncr3000) | 863 ncr3000) |
743 basic_machine=i486-ncr | 864 basic_machine=i486-ncr |
744 os=-sysv4 | 865 os=-sysv4 |
745 ;; | 866 ;; |
746 netbsd386) | 867 netbsd386) |
747 basic_machine=i386-unknown | 868 basic_machine=i386-unknown |
748 os=-netbsd | 869 os=-netbsd |
749 ;; | 870 ;; |
750 netwinder) | 871 netwinder) |
751 basic_machine=armv4l-rebel | 872 basic_machine=armv4l-rebel |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 basic_machine=i960-intel | 917 basic_machine=i960-intel |
797 os=-mon960 | 918 os=-mon960 |
798 ;; | 919 ;; |
799 nonstopux) | 920 nonstopux) |
800 basic_machine=mips-compaq | 921 basic_machine=mips-compaq |
801 os=-nonstopux | 922 os=-nonstopux |
802 ;; | 923 ;; |
803 np1) | 924 np1) |
804 basic_machine=np1-gould | 925 basic_machine=np1-gould |
805 ;; | 926 ;; |
| 927 neo-tandem) |
| 928 basic_machine=neo-tandem |
| 929 ;; |
| 930 nse-tandem) |
| 931 basic_machine=nse-tandem |
| 932 ;; |
806 nsr-tandem) | 933 nsr-tandem) |
807 basic_machine=nsr-tandem | 934 basic_machine=nsr-tandem |
808 ;; | 935 ;; |
809 op50n-* | op60c-*) | 936 op50n-* | op60c-*) |
810 basic_machine=hppa1.1-oki | 937 basic_machine=hppa1.1-oki |
811 os=-proelf | 938 os=-proelf |
812 ;; | 939 ;; |
813 openrisc | openrisc-*) | 940 openrisc | openrisc-*) |
814 basic_machine=or32-unknown | 941 basic_machine=or32-unknown |
815 ;; | 942 ;; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | 1005 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
879 ;; | 1006 ;; |
880 pentium4-*) | 1007 pentium4-*) |
881 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | 1008 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` |
882 ;; | 1009 ;; |
883 pn) | 1010 pn) |
884 basic_machine=pn-gould | 1011 basic_machine=pn-gould |
885 ;; | 1012 ;; |
886 power) basic_machine=power-ibm | 1013 power) basic_machine=power-ibm |
887 ;; | 1014 ;; |
888 » ppc)» basic_machine=powerpc-unknown | 1015 » ppc | ppcbe)» basic_machine=powerpc-unknown |
889 ;; | 1016 ;; |
890 » ppc-*)» basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | 1017 » ppc-* | ppcbe-*) |
| 1018 » » basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
891 ;; | 1019 ;; |
892 ppcle | powerpclittle | ppc-le | powerpc-little) | 1020 ppcle | powerpclittle | ppc-le | powerpc-little) |
893 basic_machine=powerpcle-unknown | 1021 basic_machine=powerpcle-unknown |
894 ;; | 1022 ;; |
895 ppcle-* | powerpclittle-*) | 1023 ppcle-* | powerpclittle-*) |
896 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'
` | 1024 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'
` |
897 ;; | 1025 ;; |
898 ppc64) basic_machine=powerpc64-unknown | 1026 ppc64) basic_machine=powerpc64-unknown |
899 ;; | 1027 ;; |
900 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//
'` | 1028 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//
'` |
901 ;; | 1029 ;; |
902 ppc64le | powerpc64little | ppc64-le | powerpc64-little) | 1030 ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
903 basic_machine=powerpc64le-unknown | 1031 basic_machine=powerpc64le-unknown |
904 ;; | 1032 ;; |
905 ppc64le-* | powerpc64little-*) | 1033 ppc64le-* | powerpc64little-*) |
906 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-/
/'` | 1034 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-/
/'` |
907 ;; | 1035 ;; |
908 ps2) | 1036 ps2) |
909 basic_machine=i386-ibm | 1037 basic_machine=i386-ibm |
910 ;; | 1038 ;; |
911 pw32) | 1039 pw32) |
912 basic_machine=i586-unknown | 1040 basic_machine=i586-unknown |
913 os=-pw32 | 1041 os=-pw32 |
914 ;; | 1042 ;; |
915 » rdos) | 1043 » rdos | rdos64) |
| 1044 » » basic_machine=x86_64-pc |
| 1045 » » os=-rdos |
| 1046 » » ;; |
| 1047 » rdos32) |
916 basic_machine=i386-pc | 1048 basic_machine=i386-pc |
917 os=-rdos | 1049 os=-rdos |
918 ;; | 1050 ;; |
919 rom68k) | 1051 rom68k) |
920 basic_machine=m68k-rom68k | 1052 basic_machine=m68k-rom68k |
921 os=-coff | 1053 os=-coff |
922 ;; | 1054 ;; |
923 rm[46]00) | 1055 rm[46]00) |
924 basic_machine=mips-siemens | 1056 basic_machine=mips-siemens |
925 ;; | 1057 ;; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 spur) | 1106 spur) |
975 basic_machine=spur-unknown | 1107 basic_machine=spur-unknown |
976 ;; | 1108 ;; |
977 st2000) | 1109 st2000) |
978 basic_machine=m68k-tandem | 1110 basic_machine=m68k-tandem |
979 ;; | 1111 ;; |
980 stratus) | 1112 stratus) |
981 basic_machine=i860-stratus | 1113 basic_machine=i860-stratus |
982 os=-sysv4 | 1114 os=-sysv4 |
983 ;; | 1115 ;; |
| 1116 strongarm-* | thumb-*) |
| 1117 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 1118 ;; |
984 sun2) | 1119 sun2) |
985 basic_machine=m68000-sun | 1120 basic_machine=m68000-sun |
986 ;; | 1121 ;; |
987 sun2os3) | 1122 sun2os3) |
988 basic_machine=m68000-sun | 1123 basic_machine=m68000-sun |
989 os=-sunos3 | 1124 os=-sunos3 |
990 ;; | 1125 ;; |
991 sun2os4) | 1126 sun2os4) |
992 basic_machine=m68000-sun | 1127 basic_machine=m68000-sun |
993 os=-sunos4 | 1128 os=-sunos4 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1030 os=-dynix | 1165 os=-dynix |
1031 ;; | 1166 ;; |
1032 t3e) | 1167 t3e) |
1033 basic_machine=alphaev5-cray | 1168 basic_machine=alphaev5-cray |
1034 os=-unicos | 1169 os=-unicos |
1035 ;; | 1170 ;; |
1036 t90) | 1171 t90) |
1037 basic_machine=t90-cray | 1172 basic_machine=t90-cray |
1038 os=-unicos | 1173 os=-unicos |
1039 ;; | 1174 ;; |
1040 tic54x | c54x*) | |
1041 basic_machine=tic54x-unknown | |
1042 os=-coff | |
1043 ;; | |
1044 tic55x | c55x*) | |
1045 basic_machine=tic55x-unknown | |
1046 os=-coff | |
1047 ;; | |
1048 tic6x | c6x*) | |
1049 basic_machine=tic6x-unknown | |
1050 os=-coff | |
1051 ;; | |
1052 tile*) | 1175 tile*) |
1053 » » basic_machine=tile-unknown | 1176 » » basic_machine=$basic_machine-unknown |
1054 os=-linux-gnu | 1177 os=-linux-gnu |
1055 ;; | 1178 ;; |
1056 tx39) | 1179 tx39) |
1057 basic_machine=mipstx39-unknown | 1180 basic_machine=mipstx39-unknown |
1058 ;; | 1181 ;; |
1059 tx39el) | 1182 tx39el) |
1060 basic_machine=mipstx39el-unknown | 1183 basic_machine=mipstx39el-unknown |
1061 ;; | 1184 ;; |
1062 toad1) | 1185 toad1) |
1063 basic_machine=pdp10-xkl | 1186 basic_machine=pdp10-xkl |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1113 basic_machine=hppa1.1-winbond | 1236 basic_machine=hppa1.1-winbond |
1114 os=-proelf | 1237 os=-proelf |
1115 ;; | 1238 ;; |
1116 xbox) | 1239 xbox) |
1117 basic_machine=i686-pc | 1240 basic_machine=i686-pc |
1118 os=-mingw32 | 1241 os=-mingw32 |
1119 ;; | 1242 ;; |
1120 xps | xps100) | 1243 xps | xps100) |
1121 basic_machine=xps100-honeywell | 1244 basic_machine=xps100-honeywell |
1122 ;; | 1245 ;; |
| 1246 xscale-* | xscalee[bl]-*) |
| 1247 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` |
| 1248 ;; |
1123 ymp) | 1249 ymp) |
1124 basic_machine=ymp-cray | 1250 basic_machine=ymp-cray |
1125 os=-unicos | 1251 os=-unicos |
1126 ;; | 1252 ;; |
1127 z8k-*-coff) | 1253 z8k-*-coff) |
1128 basic_machine=z8k-unknown | 1254 basic_machine=z8k-unknown |
1129 os=-sim | 1255 os=-sim |
1130 ;; | 1256 ;; |
| 1257 z80-*-coff) |
| 1258 basic_machine=z80-unknown |
| 1259 os=-sim |
| 1260 ;; |
1131 none) | 1261 none) |
1132 basic_machine=none-none | 1262 basic_machine=none-none |
1133 os=-none | 1263 os=-none |
1134 ;; | 1264 ;; |
1135 | 1265 |
1136 # Here we handle the default manufacturer of certain CPU types. It is in | 1266 # Here we handle the default manufacturer of certain CPU types. It is in |
1137 # some cases the only manufacturer, in others, it is the most popular. | 1267 # some cases the only manufacturer, in others, it is the most popular. |
1138 w89k) | 1268 w89k) |
1139 basic_machine=hppa1.1-winbond | 1269 basic_machine=hppa1.1-winbond |
1140 ;; | 1270 ;; |
(...skipping 18 matching lines...) Expand all Loading... |
1159 pdp10) | 1289 pdp10) |
1160 # there are many clones, so DEC is not a safe bet | 1290 # there are many clones, so DEC is not a safe bet |
1161 basic_machine=pdp10-unknown | 1291 basic_machine=pdp10-unknown |
1162 ;; | 1292 ;; |
1163 pdp11) | 1293 pdp11) |
1164 basic_machine=pdp11-dec | 1294 basic_machine=pdp11-dec |
1165 ;; | 1295 ;; |
1166 we32k) | 1296 we32k) |
1167 basic_machine=we32k-att | 1297 basic_machine=we32k-att |
1168 ;; | 1298 ;; |
1169 » sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) | 1299 » sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
1170 basic_machine=sh-unknown | 1300 basic_machine=sh-unknown |
1171 ;; | 1301 ;; |
1172 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | 1302 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
1173 basic_machine=sparc-sun | 1303 basic_machine=sparc-sun |
1174 ;; | 1304 ;; |
1175 cydra) | 1305 cydra) |
1176 basic_machine=cydra-cydrome | 1306 basic_machine=cydra-cydrome |
1177 ;; | 1307 ;; |
1178 orion) | 1308 orion) |
1179 basic_machine=orion-highlevel | 1309 basic_machine=orion-highlevel |
(...skipping 26 matching lines...) Expand all Loading... |
1206 ;; | 1336 ;; |
1207 *) | 1337 *) |
1208 ;; | 1338 ;; |
1209 esac | 1339 esac |
1210 | 1340 |
1211 # Decode manufacturer-specific aliases for certain operating systems. | 1341 # Decode manufacturer-specific aliases for certain operating systems. |
1212 | 1342 |
1213 if [ x"$os" != x"" ] | 1343 if [ x"$os" != x"" ] |
1214 then | 1344 then |
1215 case $os in | 1345 case $os in |
1216 # First match some system type aliases | 1346 » # First match some system type aliases |
1217 # that might get confused with valid system types. | 1347 » # that might get confused with valid system types. |
1218 # -solaris* is a basic system type, with this one exception. | 1348 # -solaris* is a basic system type, with this one exception. |
| 1349 -auroraux) |
| 1350 os=-auroraux |
| 1351 ;; |
1219 -solaris1 | -solaris1.*) | 1352 -solaris1 | -solaris1.*) |
1220 os=`echo $os | sed -e 's|solaris1|sunos4|'` | 1353 os=`echo $os | sed -e 's|solaris1|sunos4|'` |
1221 ;; | 1354 ;; |
1222 -solaris) | 1355 -solaris) |
1223 os=-solaris2 | 1356 os=-solaris2 |
1224 ;; | 1357 ;; |
1225 -svr4*) | 1358 -svr4*) |
1226 os=-sysv4 | 1359 os=-sysv4 |
1227 ;; | 1360 ;; |
1228 -unixware*) | 1361 -unixware*) |
1229 os=-sysv4.2uw | 1362 os=-sysv4.2uw |
1230 ;; | 1363 ;; |
1231 -gnu/linux*) | 1364 -gnu/linux*) |
1232 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` | 1365 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
1233 ;; | 1366 ;; |
1234 # First accept the basic system types. | 1367 # First accept the basic system types. |
1235 # The portable systems comes first. | 1368 # The portable systems comes first. |
1236 # Each alternative MUST END IN A *, to match a version number. | 1369 # Each alternative MUST END IN A *, to match a version number. |
1237 # -sysv* is not here because it comes later, after sysvr4. | 1370 # -sysv* is not here because it comes later, after sysvr4. |
1238 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 1371 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1239 » | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | 1372 » | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -suno
s[34]*\ |
1240 » | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | 1373 » | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solari
s* \ |
| 1374 » | -sym* | -kopensolaris* | -plan9* \ |
1241 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 1375 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1242 » | -aos* \ | 1376 » | -aos* | -aros* \ |
1243 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1377 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1244 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 1378 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1245 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 1379 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1246 » | -openbsd* | -solidbsd* \ | 1380 » | -bitrig* | -openbsd* | -solidbsd* \ |
1247 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | 1381 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1248 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1382 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1249 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1383 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1250 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1384 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1251 » | -chorusos* | -chorusrdb* \ | 1385 » | -chorusos* | -chorusrdb* | -cegcc* \ |
1252 » | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1386 » | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems*
\ |
1253 » | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | 1387 » | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1254 » | -uxpv* | -beos* | -mpeix* | -udk* \ | 1388 » | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
| 1389 » | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
1255 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1390 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1256 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1391 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1257 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1392 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1258 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1393 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1259 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1394 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1260 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1395 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1261 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) | 1396 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirto
s*) |
1262 # Remember, each alternative MUST END IN *, to match a version number. | 1397 # Remember, each alternative MUST END IN *, to match a version number. |
1263 ;; | 1398 ;; |
1264 -qnx*) | 1399 -qnx*) |
1265 case $basic_machine in | 1400 case $basic_machine in |
1266 x86-* | i*86-*) | 1401 x86-* | i*86-*) |
1267 ;; | 1402 ;; |
1268 *) | 1403 *) |
1269 os=-nto$os | 1404 os=-nto$os |
1270 ;; | 1405 ;; |
1271 esac | 1406 esac |
(...skipping 18 matching lines...) Expand all Loading... |
1290 ;; | 1425 ;; |
1291 -sunos5*) | 1426 -sunos5*) |
1292 os=`echo $os | sed -e 's|sunos5|solaris2|'` | 1427 os=`echo $os | sed -e 's|sunos5|solaris2|'` |
1293 ;; | 1428 ;; |
1294 -sunos6*) | 1429 -sunos6*) |
1295 os=`echo $os | sed -e 's|sunos6|solaris3|'` | 1430 os=`echo $os | sed -e 's|sunos6|solaris3|'` |
1296 ;; | 1431 ;; |
1297 -opened*) | 1432 -opened*) |
1298 os=-openedition | 1433 os=-openedition |
1299 ;; | 1434 ;; |
1300 -os400*) | 1435 » -os400*) |
1301 os=-os400 | 1436 os=-os400 |
1302 ;; | 1437 ;; |
1303 -wince*) | 1438 -wince*) |
1304 os=-wince | 1439 os=-wince |
1305 ;; | 1440 ;; |
1306 -osfrose*) | 1441 -osfrose*) |
1307 os=-osfrose | 1442 os=-osfrose |
1308 ;; | 1443 ;; |
1309 -osf*) | 1444 -osf*) |
1310 os=-osf | 1445 os=-osf |
(...skipping 28 matching lines...) Expand all Loading... |
1339 -nsk*) | 1474 -nsk*) |
1340 os=-nsk | 1475 os=-nsk |
1341 ;; | 1476 ;; |
1342 # Preserve the version number of sinix5. | 1477 # Preserve the version number of sinix5. |
1343 -sinix5.*) | 1478 -sinix5.*) |
1344 os=`echo $os | sed -e 's|sinix|sysv|'` | 1479 os=`echo $os | sed -e 's|sinix|sysv|'` |
1345 ;; | 1480 ;; |
1346 -sinix*) | 1481 -sinix*) |
1347 os=-sysv4 | 1482 os=-sysv4 |
1348 ;; | 1483 ;; |
1349 -tpf*) | 1484 » -tpf*) |
1350 os=-tpf | 1485 os=-tpf |
1351 ;; | 1486 ;; |
1352 -triton*) | 1487 -triton*) |
1353 os=-sysv3 | 1488 os=-sysv3 |
1354 ;; | 1489 ;; |
1355 -oss*) | 1490 -oss*) |
1356 os=-sysv3 | 1491 os=-sysv3 |
1357 ;; | 1492 ;; |
1358 -svr4) | 1493 -svr4) |
1359 os=-sysv4 | 1494 os=-sysv4 |
(...skipping 15 matching lines...) Expand all Loading... |
1375 ;; | 1510 ;; |
1376 -xenix) | 1511 -xenix) |
1377 os=-xenix | 1512 os=-xenix |
1378 ;; | 1513 ;; |
1379 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) | 1514 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1380 os=-mint | 1515 os=-mint |
1381 ;; | 1516 ;; |
1382 -aros*) | 1517 -aros*) |
1383 os=-aros | 1518 os=-aros |
1384 ;; | 1519 ;; |
1385 -kaos*) | |
1386 os=-kaos | |
1387 ;; | |
1388 -zvmoe) | 1520 -zvmoe) |
1389 os=-zvmoe | 1521 os=-zvmoe |
1390 ;; | 1522 ;; |
| 1523 -dicos*) |
| 1524 os=-dicos |
| 1525 ;; |
| 1526 -nacl*) |
| 1527 ;; |
1391 -none) | 1528 -none) |
1392 ;; | 1529 ;; |
1393 *) | 1530 *) |
1394 # Get rid of the `-' at the beginning of $os. | 1531 # Get rid of the `-' at the beginning of $os. |
1395 os=`echo $os | sed 's/[^-]*-//'` | 1532 os=`echo $os | sed 's/[^-]*-//'` |
1396 echo Invalid configuration \`$1\': system \`$os\' not recognized
1>&2 | 1533 echo Invalid configuration \`$1\': system \`$os\' not recognized
1>&2 |
1397 exit 1 | 1534 exit 1 |
1398 ;; | 1535 ;; |
1399 esac | 1536 esac |
1400 else | 1537 else |
1401 | 1538 |
1402 # Here we handle the default operating systems that come with various machines. | 1539 # Here we handle the default operating systems that come with various machines. |
1403 # The value should be what the vendor currently ships out the door with their | 1540 # The value should be what the vendor currently ships out the door with their |
1404 # machine or put another way, the most popular os provided with the machine. | 1541 # machine or put another way, the most popular os provided with the machine. |
1405 | 1542 |
1406 # Note that if you're going to try to match "-MANUFACTURER" here (say, | 1543 # Note that if you're going to try to match "-MANUFACTURER" here (say, |
1407 # "-sun"), then you have to tell the case statement up towards the top | 1544 # "-sun"), then you have to tell the case statement up towards the top |
1408 # that MANUFACTURER isn't an operating system. Otherwise, code above | 1545 # that MANUFACTURER isn't an operating system. Otherwise, code above |
1409 # will signal an error saying that MANUFACTURER isn't an operating | 1546 # will signal an error saying that MANUFACTURER isn't an operating |
1410 # system, and we'll never get to this point. | 1547 # system, and we'll never get to this point. |
1411 | 1548 |
1412 case $basic_machine in | 1549 case $basic_machine in |
1413 score-*) | 1550 » score-*) |
1414 os=-elf | 1551 os=-elf |
1415 ;; | 1552 ;; |
1416 spu-*) | 1553 » spu-*) |
1417 os=-elf | 1554 os=-elf |
1418 ;; | 1555 ;; |
1419 *-acorn) | 1556 *-acorn) |
1420 os=-riscix1.2 | 1557 os=-riscix1.2 |
1421 ;; | 1558 ;; |
1422 arm*-rebel) | 1559 arm*-rebel) |
1423 os=-linux | 1560 os=-linux |
1424 ;; | 1561 ;; |
1425 arm*-semi) | 1562 arm*-semi) |
1426 os=-aout | 1563 os=-aout |
1427 ;; | 1564 ;; |
1428 c4x-* | tic4x-*) | 1565 » c4x-* | tic4x-*) |
1429 » os=-coff | 1566 » » os=-coff |
| 1567 » » ;; |
| 1568 » c8051-*) |
| 1569 » » os=-elf |
| 1570 » » ;; |
| 1571 » hexagon-*) |
| 1572 » » os=-elf |
| 1573 » » ;; |
| 1574 » tic54x-*) |
| 1575 » » os=-coff |
| 1576 » » ;; |
| 1577 » tic55x-*) |
| 1578 » » os=-coff |
| 1579 » » ;; |
| 1580 » tic6x-*) |
| 1581 » » os=-coff |
1430 ;; | 1582 ;; |
1431 # This must come before the *-dec entry. | 1583 # This must come before the *-dec entry. |
1432 pdp10-*) | 1584 pdp10-*) |
1433 os=-tops20 | 1585 os=-tops20 |
1434 ;; | 1586 ;; |
1435 pdp11-*) | 1587 pdp11-*) |
1436 os=-none | 1588 os=-none |
1437 ;; | 1589 ;; |
1438 *-dec | vax-*) | 1590 *-dec | vax-*) |
1439 os=-ultrix4.2 | 1591 os=-ultrix4.2 |
1440 ;; | 1592 ;; |
1441 m68*-apollo) | 1593 m68*-apollo) |
1442 os=-domain | 1594 os=-domain |
1443 ;; | 1595 ;; |
1444 i386-sun) | 1596 i386-sun) |
1445 os=-sunos4.0.2 | 1597 os=-sunos4.0.2 |
1446 ;; | 1598 ;; |
1447 m68000-sun) | 1599 m68000-sun) |
1448 os=-sunos3 | 1600 os=-sunos3 |
1449 # This also exists in the configure program, but was not the | |
1450 # default. | |
1451 # os=-sunos4 | |
1452 ;; | 1601 ;; |
1453 m68*-cisco) | 1602 m68*-cisco) |
1454 os=-aout | 1603 os=-aout |
1455 ;; | 1604 ;; |
1456 mep-*) | 1605 » mep-*) |
1457 os=-elf | 1606 os=-elf |
1458 ;; | 1607 ;; |
1459 mips*-cisco) | 1608 mips*-cisco) |
1460 os=-elf | 1609 os=-elf |
1461 ;; | 1610 ;; |
1462 mips*-*) | 1611 mips*-*) |
1463 os=-elf | 1612 os=-elf |
1464 ;; | 1613 ;; |
1465 or32-*) | 1614 or32-*) |
1466 os=-coff | 1615 os=-coff |
1467 ;; | 1616 ;; |
1468 *-tti) # must be before sparc entry or we get the wrong os. | 1617 *-tti) # must be before sparc entry or we get the wrong os. |
1469 os=-sysv3 | 1618 os=-sysv3 |
1470 ;; | 1619 ;; |
1471 sparc-* | *-sun) | 1620 sparc-* | *-sun) |
1472 os=-sunos4.1.1 | 1621 os=-sunos4.1.1 |
1473 ;; | 1622 ;; |
1474 *-be) | 1623 *-be) |
1475 os=-beos | 1624 os=-beos |
1476 ;; | 1625 ;; |
1477 *-haiku) | 1626 *-haiku) |
1478 os=-haiku | 1627 os=-haiku |
1479 ;; | 1628 ;; |
1480 *-ibm) | 1629 *-ibm) |
1481 os=-aix | 1630 os=-aix |
1482 ;; | 1631 ;; |
1483 » *-knuth) | 1632 » *-knuth) |
1484 os=-mmixware | 1633 os=-mmixware |
1485 ;; | 1634 ;; |
1486 *-wec) | 1635 *-wec) |
1487 os=-proelf | 1636 os=-proelf |
1488 ;; | 1637 ;; |
1489 *-winbond) | 1638 *-winbond) |
1490 os=-proelf | 1639 os=-proelf |
1491 ;; | 1640 ;; |
1492 *-oki) | 1641 *-oki) |
1493 os=-proelf | 1642 os=-proelf |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1578 vendor=unknown | 1727 vendor=unknown |
1579 case $basic_machine in | 1728 case $basic_machine in |
1580 *-unknown) | 1729 *-unknown) |
1581 case $os in | 1730 case $os in |
1582 -riscix*) | 1731 -riscix*) |
1583 vendor=acorn | 1732 vendor=acorn |
1584 ;; | 1733 ;; |
1585 -sunos*) | 1734 -sunos*) |
1586 vendor=sun | 1735 vendor=sun |
1587 ;; | 1736 ;; |
1588 » » » -aix*) | 1737 » » » -cnk*|-aix*) |
1589 vendor=ibm | 1738 vendor=ibm |
1590 ;; | 1739 ;; |
1591 -beos*) | 1740 -beos*) |
1592 vendor=be | 1741 vendor=be |
1593 ;; | 1742 ;; |
1594 -hpux*) | 1743 -hpux*) |
1595 vendor=hp | 1744 vendor=hp |
1596 ;; | 1745 ;; |
1597 -mpeix*) | 1746 -mpeix*) |
1598 vendor=hp | 1747 vendor=hp |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 | 1798 |
1650 echo $basic_machine$os | 1799 echo $basic_machine$os |
1651 exit | 1800 exit |
1652 | 1801 |
1653 # Local variables: | 1802 # Local variables: |
1654 # eval: (add-hook 'write-file-hooks 'time-stamp) | 1803 # eval: (add-hook 'write-file-hooks 'time-stamp) |
1655 # time-stamp-start: "timestamp='" | 1804 # time-stamp-start: "timestamp='" |
1656 # time-stamp-format: "%:y-%02m-%02d" | 1805 # time-stamp-format: "%:y-%02m-%02d" |
1657 # time-stamp-end: "'" | 1806 # time-stamp-end: "'" |
1658 # End: | 1807 # End: |
OLD | NEW |