Deleted Added
full compact
config.sub (251886) config.sub (269851)
1#! /bin/sh
2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1#! /bin/sh
2# Configuration validation subroutine script.
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, 2009, 2010,
5# 2011, 2012 Free Software Foundation, Inc.
5
6
6timestamp='2005-07-08'
7timestamp='2012-02-10'
7
8# 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# can handle that machine. It does not imply ALL GNU software can.
11#
12# This file is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License as published by
14# the Free Software Foundation; either version 2 of the License, or
15# (at your option) any later version.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
8
9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software
11# can handle that machine. It does not imply ALL GNU software can.
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.
17#
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU General Public License for more details.
22#
23# You should have received a copy of the GNU General Public License
23# along with this program; if not, write to the Free Software
24# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
25# 02110-1301, USA.
24# along with this program; if not, see <http://www.gnu.org/licenses/>.
26#
27# As a special exception to the GNU General Public License, if you
28# distribute this file as part of a program that contains a
29# configuration script generated by Autoconf, you may include it under
30# the same distribution terms that you use for the rest of that program.
31
32
33# Please send patches to <config-patches@gnu.org>. Submit a context
25#
26# As a special exception to the GNU General Public License, if you
27# distribute this file as part of a program that contains a
28# configuration script generated by Autoconf, you may include it under
29# the same distribution terms that you use for the rest of that program.
30
31
32# Please send patches to <config-patches@gnu.org>. Submit a context
34# diff and a properly formatted ChangeLog entry.
33# diff and a properly formatted GNU ChangeLog entry.
35#
36# Configuration subroutine to validate and canonicalize a configuration type.
37# Supply the specified configuration type as an argument.
38# If it is invalid, we print an error message on stderr and exit with code 1.
39# Otherwise, we print the canonical config type on stdout and succeed.
40
34#
35# Configuration subroutine to validate and canonicalize a configuration type.
36# 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.
38# Otherwise, we print the canonical config type on stdout and succeed.
39
40# 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
42
41# This file is supposed to be the same for all GNU packages
42# and recognize all the CPU types, system types and aliases
43# that are meaningful with *any* GNU software.
44# Each package is responsible for reporting which valid configurations
45# it does not support. The user should be able to distinguish
46# a failure to support a valid configuration from a meaningless
47# configuration.
48

--- 17 unchanged lines hidden (view full) ---

66 -t, --time-stamp print date of last modification, then exit
67 -v, --version print version number, then exit
68
69Report bugs and patches to <config-patches@gnu.org>."
70
71version="\
72GNU config.sub ($timestamp)
73
43# This file is supposed to be the same for all GNU packages
44# and recognize all the CPU types, system types and aliases
45# that are meaningful with *any* GNU software.
46# Each package is responsible for reporting which valid configurations
47# it does not support. The user should be able to distinguish
48# a failure to support a valid configuration from a meaningless
49# configuration.
50

--- 17 unchanged lines hidden (view full) ---

68 -t, --time-stamp print date of last modification, then exit
69 -v, --version print version number, then exit
70
71Report bugs and patches to <config-patches@gnu.org>."
72
73version="\
74GNU config.sub ($timestamp)
75
74Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
76Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
772001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
75Free Software Foundation, Inc.
76
77This is free software; see the source for copying conditions. There is NO
78warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
79
80help="
81Try \`$me --help' for more information."
82

--- 31 unchanged lines hidden (view full) ---

114 *) echo "$me: too many arguments$help" >&2
115 exit 1;;
116esac
117
118# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
119# Here we must recognize all the valid KERNEL-OS combinations.
120maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
121case $maybe_os in
78Free Software Foundation, Inc.
79
80This is free software; see the source for copying conditions. There is NO
81warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
82
83help="
84Try \`$me --help' for more information."
85

--- 31 unchanged lines hidden (view full) ---

117 *) echo "$me: too many arguments$help" >&2
118 exit 1;;
119esac
120
121# 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.
123maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
124case $maybe_os in
122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
123 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
126 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
127 knetbsd*-gnu* | netbsd*-gnu* | \
128 kopensolaris*-gnu* | \
129 storm-chaos* | os2-emx* | rtmk-nova*)
124 os=-$maybe_os
125 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
126 ;;
130 os=-$maybe_os
131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
132 ;;
133 android-linux)
134 os=-linux-android
135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
136 ;;
127 *)
128 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
129 if [ $basic_machine != $1 ]
130 then os=`echo $1 | sed 's/.*-/-/'`
131 else os=; fi
132 ;;
133esac
134

--- 6 unchanged lines hidden (view full) ---

141 # Prevent following clause from handling this invalid input.
142 ;;
143 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
144 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
145 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
146 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
147 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
148 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
137 *)
138 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
139 if [ $basic_machine != $1 ]
140 then os=`echo $1 | sed 's/.*-/-/'`
141 else os=; fi
142 ;;
143esac
144

--- 6 unchanged lines hidden (view full) ---

151 # Prevent following clause from handling this invalid input.
152 ;;
153 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
154 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
155 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
156 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
157 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
158 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
149 -apple | -axis | -knuth | -cray)
159 -apple | -axis | -knuth | -cray | -microblaze)
150 os=
151 basic_machine=$1
152 ;;
160 os=
161 basic_machine=$1
162 ;;
163 -bluegene*)
164 os=-cnk
165 ;;
153 -sim | -cisco | -oki | -wec | -winbond)
154 os=
155 basic_machine=$1
156 ;;
157 -scout)
158 ;;
159 -wrs)
160 os=-vxworks
161 basic_machine=$1
162 ;;
163 -chorusos*)
164 os=-chorusos
165 basic_machine=$1
166 ;;
166 -sim | -cisco | -oki | -wec | -winbond)
167 os=
168 basic_machine=$1
169 ;;
170 -scout)
171 ;;
172 -wrs)
173 os=-vxworks
174 basic_machine=$1
175 ;;
176 -chorusos*)
177 os=-chorusos
178 basic_machine=$1
179 ;;
167 -chorusrdb)
168 os=-chorusrdb
180 -chorusrdb)
181 os=-chorusrdb
169 basic_machine=$1
182 basic_machine=$1
170 ;;
183 ;;
171 -hiux*)
172 os=-hiuxwe2
173 ;;
184 -hiux*)
185 os=-hiuxwe2
186 ;;
187 -sco6)
188 os=-sco5v6
189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
190 ;;
174 -sco5)
175 os=-sco3.2v5
176 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
177 ;;
178 -sco4)
179 os=-sco3.2v4
180 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
181 ;;
182 -sco3.2.[4-9]*)
183 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
184 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
185 ;;
186 -sco3.2v[4-9]*)
187 # Don't forget version if it is 3.2v4 or newer.
188 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
189 ;;
191 -sco5)
192 os=-sco3.2v5
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
194 ;;
195 -sco4)
196 os=-sco3.2v4
197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
198 ;;
199 -sco3.2.[4-9]*)
200 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
201 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
202 ;;
203 -sco3.2v[4-9]*)
204 # Don't forget version if it is 3.2v4 or newer.
205 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
206 ;;
207 -sco5v6*)
208 # Don't forget version if it is 3.2v4 or newer.
209 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
210 ;;
190 -sco*)
191 os=-sco3.2v2
192 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193 ;;
194 -udk*)
195 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
196 ;;
197 -isc)

--- 25 unchanged lines hidden (view full) ---

223esac
224
225# Decode aliases for certain CPU-COMPANY combinations.
226case $basic_machine in
227 # Recognize the basic CPU types without company name.
228 # Some are omitted here because they have special meanings below.
229 1750a | 580 \
230 | a29k \
211 -sco*)
212 os=-sco3.2v2
213 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
214 ;;
215 -udk*)
216 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
217 ;;
218 -isc)

--- 25 unchanged lines hidden (view full) ---

244esac
245
246# Decode aliases for certain CPU-COMPANY combinations.
247case $basic_machine in
248 # Recognize the basic CPU types without company name.
249 # Some are omitted here because they have special meanings below.
250 1750a | 580 \
251 | a29k \
252 | aarch64 | aarch64_be \
231 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
232 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
233 | am33_2.0 \
253 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
254 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
255 | am33_2.0 \
234 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
256 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
257 | be32 | be64 \
235 | bfin \
236 | c4x | clipper \
237 | d10v | d30v | dlx | dsp16xx \
258 | bfin \
259 | c4x | clipper \
260 | d10v | d30v | dlx | dsp16xx \
238 | fr30 | frv \
261 | epiphany \
262 | fido | fr30 | frv \
239 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264 | hexagon \
240 | i370 | i860 | i960 | ia64 \
241 | ip2k | iq2000 \
265 | i370 | i860 | i960 | ia64 \
266 | ip2k | iq2000 \
242 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
267 | le32 | le64 \
268 | lm32 \
269 | m32c | m32r | m32rle | m68000 | m68k | m88k \
270 | maxq | mb | microblaze | mcore | mep | metag \
243 | mips | mipsbe | mipseb | mipsel | mipsle \
244 | mips16 \
245 | mips64 | mips64el \
271 | mips | mipsbe | mipseb | mipsel | mipsle \
272 | mips16 \
273 | mips64 | mips64el \
246 | mips64vr | mips64vrel \
274 | mips64octeon | mips64octeonel \
247 | mips64orion | mips64orionel \
275 | mips64orion | mips64orionel \
276 | mips64r5900 | mips64r5900el \
277 | mips64vr | mips64vrel \
248 | mips64vr4100 | mips64vr4100el \
249 | mips64vr4300 | mips64vr4300el \
250 | mips64vr5000 | mips64vr5000el \
251 | mips64vr5900 | mips64vr5900el \
252 | mipsisa32 | mipsisa32el \
253 | mipsisa32r2 | mipsisa32r2el \
254 | mipsisa64 | mipsisa64el \
255 | mipsisa64r2 | mipsisa64r2el \
256 | mipsisa64sb1 | mipsisa64sb1el \
257 | mipsisa64sr71k | mipsisa64sr71kel \
258 | mipstx39 | mipstx39el \
259 | mn10200 | mn10300 \
278 | mips64vr4100 | mips64vr4100el \
279 | mips64vr4300 | mips64vr4300el \
280 | mips64vr5000 | mips64vr5000el \
281 | mips64vr5900 | mips64vr5900el \
282 | mipsisa32 | mipsisa32el \
283 | mipsisa32r2 | mipsisa32r2el \
284 | mipsisa64 | mipsisa64el \
285 | mipsisa64r2 | mipsisa64r2el \
286 | mipsisa64sb1 | mipsisa64sb1el \
287 | mipsisa64sr71k | mipsisa64sr71kel \
288 | mipstx39 | mipstx39el \
289 | mn10200 | mn10300 \
260 | ms1 \
290 | moxie \
291 | mt \
261 | msp430 \
292 | msp430 \
293 | nds32 | nds32le | nds32be \
294 | nios | nios2 \
262 | ns16k | ns32k \
295 | ns16k | ns32k \
296 | open8 \
263 | or32 \
264 | pdp10 | pdp11 | pj | pjl \
297 | or32 \
298 | pdp10 | pdp11 | pj | pjl \
265 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
299 | powerpc | powerpc64 | powerpc64le | powerpcle \
266 | pyramid \
300 | pyramid \
267 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
301 | rl78 | rx \
302 | score \
303 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
268 | sh64 | sh64le \
304 | sh64 | sh64le \
269 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
270 | sparcv8 | sparcv9 | sparcv9b \
271 | strongarm \
272 | tahoe | thumb | tic4x | tic80 | tron \
273 | v850 | v850e \
305 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
306 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
307 | spu \
308 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
309 | ubicom32 \
310 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
274 | we32k \
311 | we32k \
275 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
276 | z8k)
312 | x86 | xc16x | xstormy16 | xtensa \
313 | z8k | z80)
277 basic_machine=$basic_machine-unknown
278 ;;
314 basic_machine=$basic_machine-unknown
315 ;;
279 m32c)
280 basic_machine=$basic_machine-unknown
316 c54x)
317 basic_machine=tic54x-unknown
281 ;;
318 ;;
282 m6811 | m68hc11 | m6812 | m68hc12)
283 # Motorola 68HC11/12.
319 c55x)
320 basic_machine=tic55x-unknown
321 ;;
322 c6x)
323 basic_machine=tic6x-unknown
324 ;;
325 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
284 basic_machine=$basic_machine-unknown
285 os=-none
286 ;;
287 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
288 ;;
326 basic_machine=$basic_machine-unknown
327 os=-none
328 ;;
329 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
330 ;;
331 ms1)
332 basic_machine=mt-unknown
333 ;;
289
334
335 strongarm | thumb | xscale)
336 basic_machine=arm-unknown
337 ;;
338 xgate)
339 basic_machine=$basic_machine-unknown
340 os=-none
341 ;;
342 xscaleeb)
343 basic_machine=armeb-unknown
344 ;;
345
346 xscaleel)
347 basic_machine=armel-unknown
348 ;;
349
290 # We use `pc' rather than `unknown'
291 # because (1) that's what they normally are, and
292 # (2) the word "unknown" tends to confuse beginning users.
293 i*86 | x86_64)
294 basic_machine=$basic_machine-pc
295 ;;
296 # Object if more than one company name word.
297 *-*-*)
298 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
299 exit 1
300 ;;
301 # Recognize the basic CPU types with company name.
302 580-* \
303 | a29k-* \
350 # We use `pc' rather than `unknown'
351 # because (1) that's what they normally are, and
352 # (2) the word "unknown" tends to confuse beginning users.
353 i*86 | x86_64)
354 basic_machine=$basic_machine-pc
355 ;;
356 # Object if more than one company name word.
357 *-*-*)
358 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
359 exit 1
360 ;;
361 # Recognize the basic CPU types with company name.
362 580-* \
363 | a29k-* \
364 | aarch64-* | aarch64_be-* \
304 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
305 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
306 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
307 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
365 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
366 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
367 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
368 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
308 | avr-* \
369 | avr-* | avr32-* \
370 | be32-* | be64-* \
309 | bfin-* | bs2000-* \
371 | bfin-* | bs2000-* \
310 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
372 | c[123]* | c30-* | [cjt]90-* | c4x-* \
311 | clipper-* | craynv-* | cydra-* \
312 | d10v-* | d30v-* | dlx-* \
313 | elxsi-* \
373 | clipper-* | craynv-* | cydra-* \
374 | d10v-* | d30v-* | dlx-* \
375 | elxsi-* \
314 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
376 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
315 | h8300-* | h8500-* \
316 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
377 | h8300-* | h8500-* \
378 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
379 | hexagon-* \
317 | i*86-* | i860-* | i960-* | ia64-* \
318 | ip2k-* | iq2000-* \
380 | i*86-* | i860-* | i960-* | ia64-* \
381 | ip2k-* | iq2000-* \
319 | m32r-* | m32rle-* \
382 | le32-* | le64-* \
383 | lm32-* \
384 | m32c-* | m32r-* | m32rle-* \
320 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
385 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
321 | m88110-* | m88k-* | maxq-* | mcore-* \
386 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
322 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
323 | mips16-* \
324 | mips64-* | mips64el-* \
387 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
388 | mips16-* \
389 | mips64-* | mips64el-* \
325 | mips64vr-* | mips64vrel-* \
390 | mips64octeon-* | mips64octeonel-* \
326 | mips64orion-* | mips64orionel-* \
391 | mips64orion-* | mips64orionel-* \
392 | mips64r5900-* | mips64r5900el-* \
393 | mips64vr-* | mips64vrel-* \
327 | mips64vr4100-* | mips64vr4100el-* \
328 | mips64vr4300-* | mips64vr4300el-* \
329 | mips64vr5000-* | mips64vr5000el-* \
330 | mips64vr5900-* | mips64vr5900el-* \
331 | mipsisa32-* | mipsisa32el-* \
332 | mipsisa32r2-* | mipsisa32r2el-* \
333 | mipsisa64-* | mipsisa64el-* \
334 | mipsisa64r2-* | mipsisa64r2el-* \
335 | mipsisa64sb1-* | mipsisa64sb1el-* \
336 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
337 | mipstx39-* | mipstx39el-* \
338 | mmix-* \
394 | mips64vr4100-* | mips64vr4100el-* \
395 | mips64vr4300-* | mips64vr4300el-* \
396 | mips64vr5000-* | mips64vr5000el-* \
397 | mips64vr5900-* | mips64vr5900el-* \
398 | mipsisa32-* | mipsisa32el-* \
399 | mipsisa32r2-* | mipsisa32r2el-* \
400 | mipsisa64-* | mipsisa64el-* \
401 | mipsisa64r2-* | mipsisa64r2el-* \
402 | mipsisa64sb1-* | mipsisa64sb1el-* \
403 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
404 | mipstx39-* | mipstx39el-* \
405 | mmix-* \
339 | ms1-* \
406 | mt-* \
340 | msp430-* \
407 | msp430-* \
408 | nds32-* | nds32le-* | nds32be-* \
409 | nios-* | nios2-* \
341 | none-* | np1-* | ns16k-* | ns32k-* \
410 | none-* | np1-* | ns16k-* | ns32k-* \
411 | open8-* \
342 | orion-* \
343 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
412 | orion-* \
413 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
344 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
414 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
345 | pyramid-* \
415 | pyramid-* \
346 | romp-* | rs6000-* \
347 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
416 | rl78-* | romp-* | rs6000-* | rx-* \
417 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
348 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
418 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
349 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
419 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
350 | sparclite-* \
420 | sparclite-* \
351 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
352 | tahoe-* | thumb-* \
421 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
422 | tahoe-* \
353 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
423 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
424 | tile*-* \
354 | tron-* \
425 | tron-* \
355 | v850-* | v850e-* | vax-* \
426 | ubicom32-* \
427 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
428 | vax-* \
356 | we32k-* \
429 | we32k-* \
357 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
358 | xstormy16-* | xtensa-* \
430 | x86-* | x86_64-* | xc16x-* | xps100-* \
431 | xstormy16-* | xtensa*-* \
359 | ymp-* \
432 | ymp-* \
360 | z8k-*)
433 | z8k-* | z80-*)
361 ;;
434 ;;
362 m32c-*)
435 # Recognize the basic CPU types without company name, with glob match.
436 xtensa*)
437 basic_machine=$basic_machine-unknown
363 ;;
364 # Recognize the various machine names and aliases which stand
365 # for a CPU type and a company and sometimes even an OS.
366 386bsd)
367 basic_machine=i386-unknown
368 os=-bsd
369 ;;
370 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
371 basic_machine=m68000-att
372 ;;
373 3b*)
374 basic_machine=we32k-att
375 ;;
376 a29khif)
377 basic_machine=a29k-amd
378 os=-udi
379 ;;
438 ;;
439 # Recognize the various machine names and aliases which stand
440 # for a CPU type and a company and sometimes even an OS.
441 386bsd)
442 basic_machine=i386-unknown
443 os=-bsd
444 ;;
445 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
446 basic_machine=m68000-att
447 ;;
448 3b*)
449 basic_machine=we32k-att
450 ;;
451 a29khif)
452 basic_machine=a29k-amd
453 os=-udi
454 ;;
380 abacus)
455 abacus)
381 basic_machine=abacus-unknown
382 ;;
383 adobe68k)
384 basic_machine=m68010-adobe
385 os=-scout
386 ;;
387 alliant | fx80)
388 basic_machine=fx80-alliant

--- 29 unchanged lines hidden (view full) ---

418 apollo68)
419 basic_machine=m68k-apollo
420 os=-sysv
421 ;;
422 apollo68bsd)
423 basic_machine=m68k-apollo
424 os=-bsd
425 ;;
456 basic_machine=abacus-unknown
457 ;;
458 adobe68k)
459 basic_machine=m68010-adobe
460 os=-scout
461 ;;
462 alliant | fx80)
463 basic_machine=fx80-alliant

--- 29 unchanged lines hidden (view full) ---

493 apollo68)
494 basic_machine=m68k-apollo
495 os=-sysv
496 ;;
497 apollo68bsd)
498 basic_machine=m68k-apollo
499 os=-bsd
500 ;;
501 aros)
502 basic_machine=i386-pc
503 os=-aros
504 ;;
426 aux)
427 basic_machine=m68k-apple
428 os=-aux
429 ;;
430 balance)
431 basic_machine=ns32k-sequent
432 os=-dynix
433 ;;
505 aux)
506 basic_machine=m68k-apple
507 os=-aux
508 ;;
509 balance)
510 basic_machine=ns32k-sequent
511 os=-dynix
512 ;;
513 blackfin)
514 basic_machine=bfin-unknown
515 os=-linux
516 ;;
517 blackfin-*)
518 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
519 os=-linux
520 ;;
521 bluegene*)
522 basic_machine=powerpc-ibm
523 os=-cnk
524 ;;
525 c54x-*)
526 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
527 ;;
528 c55x-*)
529 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
530 ;;
531 c6x-*)
532 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
533 ;;
434 c90)
435 basic_machine=c90-cray
436 os=-unicos
437 ;;
534 c90)
535 basic_machine=c90-cray
536 os=-unicos
537 ;;
538 cegcc)
539 basic_machine=arm-unknown
540 os=-cegcc
541 ;;
438 convex-c1)
439 basic_machine=c1-convex
440 os=-bsd
441 ;;
442 convex-c2)
443 basic_machine=c2-convex
444 os=-bsd
445 ;;

--- 12 unchanged lines hidden (view full) ---

458 cray | j90)
459 basic_machine=j90-cray
460 os=-unicos
461 ;;
462 craynv)
463 basic_machine=craynv-cray
464 os=-unicosmp
465 ;;
542 convex-c1)
543 basic_machine=c1-convex
544 os=-bsd
545 ;;
546 convex-c2)
547 basic_machine=c2-convex
548 os=-bsd
549 ;;

--- 12 unchanged lines hidden (view full) ---

562 cray | j90)
563 basic_machine=j90-cray
564 os=-unicos
565 ;;
566 craynv)
567 basic_machine=craynv-cray
568 os=-unicosmp
569 ;;
466 cr16c)
467 basic_machine=cr16c-unknown
570 cr16 | cr16-*)
571 basic_machine=cr16-unknown
468 os=-elf
469 ;;
470 crds | unos)
471 basic_machine=m68k-crds
472 ;;
473 crisv32 | crisv32-* | etraxfs*)
474 basic_machine=crisv32-axis
475 ;;

--- 21 unchanged lines hidden (view full) ---

497 delta | 3300 | motorola-3300 | motorola-delta \
498 | 3300-motorola | delta-motorola)
499 basic_machine=m68k-motorola
500 ;;
501 delta88)
502 basic_machine=m88k-motorola
503 os=-sysv3
504 ;;
572 os=-elf
573 ;;
574 crds | unos)
575 basic_machine=m68k-crds
576 ;;
577 crisv32 | crisv32-* | etraxfs*)
578 basic_machine=crisv32-axis
579 ;;

--- 21 unchanged lines hidden (view full) ---

601 delta | 3300 | motorola-3300 | motorola-delta \
602 | 3300-motorola | delta-motorola)
603 basic_machine=m68k-motorola
604 ;;
605 delta88)
606 basic_machine=m88k-motorola
607 os=-sysv3
608 ;;
609 dicos)
610 basic_machine=i686-pc
611 os=-dicos
612 ;;
505 djgpp)
506 basic_machine=i586-pc
507 os=-msdosdjgpp
508 ;;
509 dpx20 | dpx20-*)
510 basic_machine=rs6000-bull
511 os=-bosx
512 ;;

--- 99 unchanged lines hidden (view full) ---

612 ;;
613 hppro)
614 basic_machine=hppa1.1-hp
615 os=-proelf
616 ;;
617 i370-ibm* | ibm*)
618 basic_machine=i370-ibm
619 ;;
613 djgpp)
614 basic_machine=i586-pc
615 os=-msdosdjgpp
616 ;;
617 dpx20 | dpx20-*)
618 basic_machine=rs6000-bull
619 os=-bosx
620 ;;

--- 99 unchanged lines hidden (view full) ---

720 ;;
721 hppro)
722 basic_machine=hppa1.1-hp
723 os=-proelf
724 ;;
725 i370-ibm* | ibm*)
726 basic_machine=i370-ibm
727 ;;
620# I'm not sure what "Sysv32" means. Should this be sysv3.2?
621 i*86v32)
622 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
623 os=-sysv32
624 ;;
625 i*86v4*)
626 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
627 os=-sysv4
628 ;;

--- 22 unchanged lines hidden (view full) ---

651 os=-irix4
652 ;;
653 esac
654 ;;
655 isi68 | isi)
656 basic_machine=m68k-isi
657 os=-sysv
658 ;;
728 i*86v32)
729 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
730 os=-sysv32
731 ;;
732 i*86v4*)
733 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
734 os=-sysv4
735 ;;

--- 22 unchanged lines hidden (view full) ---

758 os=-irix4
759 ;;
760 esac
761 ;;
762 isi68 | isi)
763 basic_machine=m68k-isi
764 os=-sysv
765 ;;
766 m68knommu)
767 basic_machine=m68k-unknown
768 os=-linux
769 ;;
770 m68knommu-*)
771 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
772 os=-linux
773 ;;
659 m88k-omron*)
660 basic_machine=m88k-omron
661 ;;
662 magnum | m3230)
663 basic_machine=mips-mips
664 os=-sysv
665 ;;
666 merlin)
667 basic_machine=ns32k-utek
668 os=-sysv
669 ;;
774 m88k-omron*)
775 basic_machine=m88k-omron
776 ;;
777 magnum | m3230)
778 basic_machine=mips-mips
779 os=-sysv
780 ;;
781 merlin)
782 basic_machine=ns32k-utek
783 os=-sysv
784 ;;
785 microblaze)
786 basic_machine=microblaze-xilinx
787 ;;
670 mingw32)
671 basic_machine=i386-pc
672 os=-mingw32
673 ;;
788 mingw32)
789 basic_machine=i386-pc
790 os=-mingw32
791 ;;
792 mingw32ce)
793 basic_machine=arm-unknown
794 os=-mingw32ce
795 ;;
674 miniframe)
675 basic_machine=m68000-convergent
676 ;;
677 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
678 basic_machine=m68k-atari
679 os=-mint
680 ;;
681 mips3*-*)

--- 9 unchanged lines hidden (view full) ---

691 morphos)
692 basic_machine=powerpc-unknown
693 os=-morphos
694 ;;
695 msdos)
696 basic_machine=i386-pc
697 os=-msdos
698 ;;
796 miniframe)
797 basic_machine=m68000-convergent
798 ;;
799 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
800 basic_machine=m68k-atari
801 os=-mint
802 ;;
803 mips3*-*)

--- 9 unchanged lines hidden (view full) ---

813 morphos)
814 basic_machine=powerpc-unknown
815 os=-morphos
816 ;;
817 msdos)
818 basic_machine=i386-pc
819 os=-msdos
820 ;;
821 ms1-*)
822 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
823 ;;
824 msys)
825 basic_machine=i386-pc
826 os=-msys
827 ;;
699 mvs)
700 basic_machine=i370-ibm
701 os=-mvs
702 ;;
828 mvs)
829 basic_machine=i370-ibm
830 os=-mvs
831 ;;
832 nacl)
833 basic_machine=le32-unknown
834 os=-nacl
835 ;;
703 ncr3000)
704 basic_machine=i486-ncr
705 os=-sysv4
706 ;;
707 netbsd386)
708 basic_machine=i386-unknown
709 os=-netbsd
710 ;;

--- 48 unchanged lines hidden (view full) ---

759 ;;
760 nonstopux)
761 basic_machine=mips-compaq
762 os=-nonstopux
763 ;;
764 np1)
765 basic_machine=np1-gould
766 ;;
836 ncr3000)
837 basic_machine=i486-ncr
838 os=-sysv4
839 ;;
840 netbsd386)
841 basic_machine=i386-unknown
842 os=-netbsd
843 ;;

--- 48 unchanged lines hidden (view full) ---

892 ;;
893 nonstopux)
894 basic_machine=mips-compaq
895 os=-nonstopux
896 ;;
897 np1)
898 basic_machine=np1-gould
899 ;;
900 neo-tandem)
901 basic_machine=neo-tandem
902 ;;
903 nse-tandem)
904 basic_machine=nse-tandem
905 ;;
767 nsr-tandem)
768 basic_machine=nsr-tandem
769 ;;
770 op50n-* | op60c-*)
771 basic_machine=hppa1.1-oki
772 os=-proelf
773 ;;
774 openrisc | openrisc-*)

--- 14 unchanged lines hidden (view full) ---

789 pa-hitachi)
790 basic_machine=hppa1.1-hitachi
791 os=-hiuxwe2
792 ;;
793 paragon)
794 basic_machine=i860-intel
795 os=-osf
796 ;;
906 nsr-tandem)
907 basic_machine=nsr-tandem
908 ;;
909 op50n-* | op60c-*)
910 basic_machine=hppa1.1-oki
911 os=-proelf
912 ;;
913 openrisc | openrisc-*)

--- 14 unchanged lines hidden (view full) ---

928 pa-hitachi)
929 basic_machine=hppa1.1-hitachi
930 os=-hiuxwe2
931 ;;
932 paragon)
933 basic_machine=i860-intel
934 os=-osf
935 ;;
936 parisc)
937 basic_machine=hppa-unknown
938 os=-linux
939 ;;
940 parisc-*)
941 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
942 os=-linux
943 ;;
797 pbd)
798 basic_machine=sparc-tti
799 ;;
800 pbb)
801 basic_machine=m68k-tti
802 ;;
803 pc532 | pc532-*)
804 basic_machine=ns32k-pc532
805 ;;
944 pbd)
945 basic_machine=sparc-tti
946 ;;
947 pbb)
948 basic_machine=m68k-tti
949 ;;
950 pc532 | pc532-*)
951 basic_machine=ns32k-pc532
952 ;;
953 pc98)
954 basic_machine=i386-pc
955 ;;
956 pc98-*)
957 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
958 ;;
806 pentium | p5 | k5 | k6 | nexgen | viac3)
807 basic_machine=i586-pc
808 ;;
809 pentiumpro | p6 | 6x86 | athlon | athlon_*)
810 basic_machine=i686-pc
811 ;;
812 pentiumii | pentium2 | pentiumiii | pentium3)
813 basic_machine=i686-pc

--- 13 unchanged lines hidden (view full) ---

827 pentium4-*)
828 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
829 ;;
830 pn)
831 basic_machine=pn-gould
832 ;;
833 power) basic_machine=power-ibm
834 ;;
959 pentium | p5 | k5 | k6 | nexgen | viac3)
960 basic_machine=i586-pc
961 ;;
962 pentiumpro | p6 | 6x86 | athlon | athlon_*)
963 basic_machine=i686-pc
964 ;;
965 pentiumii | pentium2 | pentiumiii | pentium3)
966 basic_machine=i686-pc

--- 13 unchanged lines hidden (view full) ---

980 pentium4-*)
981 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
982 ;;
983 pn)
984 basic_machine=pn-gould
985 ;;
986 power) basic_machine=power-ibm
987 ;;
835 ppc) basic_machine=powerpc-unknown
988 ppc | ppcbe) basic_machine=powerpc-unknown
836 ;;
989 ;;
837 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
990 ppc-* | ppcbe-*)
991 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
838 ;;
839 ppcle | powerpclittle | ppc-le | powerpc-little)
840 basic_machine=powerpcle-unknown
841 ;;
842 ppcle-* | powerpclittle-*)
843 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
844 ;;
845 ppc64) basic_machine=powerpc64-unknown

--- 8 unchanged lines hidden (view full) ---

854 ;;
855 ps2)
856 basic_machine=i386-ibm
857 ;;
858 pw32)
859 basic_machine=i586-unknown
860 os=-pw32
861 ;;
992 ;;
993 ppcle | powerpclittle | ppc-le | powerpc-little)
994 basic_machine=powerpcle-unknown
995 ;;
996 ppcle-* | powerpclittle-*)
997 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
998 ;;
999 ppc64) basic_machine=powerpc64-unknown

--- 8 unchanged lines hidden (view full) ---

1008 ;;
1009 ps2)
1010 basic_machine=i386-ibm
1011 ;;
1012 pw32)
1013 basic_machine=i586-unknown
1014 os=-pw32
1015 ;;
1016 rdos)
1017 basic_machine=i386-pc
1018 os=-rdos
1019 ;;
862 rom68k)
863 basic_machine=m68k-rom68k
864 os=-coff
865 ;;
866 rm[46]00)
867 basic_machine=mips-siemens
868 ;;
869 rtpc | rtpc-*)

--- 10 unchanged lines hidden (view full) ---

880 os=-udi
881 ;;
882 sb1)
883 basic_machine=mipsisa64sb1-unknown
884 ;;
885 sb1el)
886 basic_machine=mipsisa64sb1el-unknown
887 ;;
1020 rom68k)
1021 basic_machine=m68k-rom68k
1022 os=-coff
1023 ;;
1024 rm[46]00)
1025 basic_machine=mips-siemens
1026 ;;
1027 rtpc | rtpc-*)

--- 10 unchanged lines hidden (view full) ---

1038 os=-udi
1039 ;;
1040 sb1)
1041 basic_machine=mipsisa64sb1-unknown
1042 ;;
1043 sb1el)
1044 basic_machine=mipsisa64sb1el-unknown
1045 ;;
1046 sde)
1047 basic_machine=mipsisa32-sde
1048 os=-elf
1049 ;;
888 sei)
889 basic_machine=mips-sei
890 os=-seiux
891 ;;
892 sequent)
893 basic_machine=i386-sequent
894 ;;
895 sh)
896 basic_machine=sh-hitachi
897 os=-hms
898 ;;
1050 sei)
1051 basic_machine=mips-sei
1052 os=-seiux
1053 ;;
1054 sequent)
1055 basic_machine=i386-sequent
1056 ;;
1057 sh)
1058 basic_machine=sh-hitachi
1059 os=-hms
1060 ;;
1061 sh5el)
1062 basic_machine=sh5le-unknown
1063 ;;
899 sh64)
900 basic_machine=sh64-unknown
901 ;;
902 sparclite-wrs | simso-wrs)
903 basic_machine=sparclite-wrs
904 os=-vxworks
905 ;;
906 sps7)

--- 5 unchanged lines hidden (view full) ---

912 ;;
913 st2000)
914 basic_machine=m68k-tandem
915 ;;
916 stratus)
917 basic_machine=i860-stratus
918 os=-sysv4
919 ;;
1064 sh64)
1065 basic_machine=sh64-unknown
1066 ;;
1067 sparclite-wrs | simso-wrs)
1068 basic_machine=sparclite-wrs
1069 os=-vxworks
1070 ;;
1071 sps7)

--- 5 unchanged lines hidden (view full) ---

1077 ;;
1078 st2000)
1079 basic_machine=m68k-tandem
1080 ;;
1081 stratus)
1082 basic_machine=i860-stratus
1083 os=-sysv4
1084 ;;
1085 strongarm-* | thumb-*)
1086 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1087 ;;
920 sun2)
921 basic_machine=m68000-sun
922 ;;
923 sun2os3)
924 basic_machine=m68000-sun
925 os=-sunos3
926 ;;
927 sun2os4)

--- 40 unchanged lines hidden (view full) ---

968 t3e)
969 basic_machine=alphaev5-cray
970 os=-unicos
971 ;;
972 t90)
973 basic_machine=t90-cray
974 os=-unicos
975 ;;
1088 sun2)
1089 basic_machine=m68000-sun
1090 ;;
1091 sun2os3)
1092 basic_machine=m68000-sun
1093 os=-sunos3
1094 ;;
1095 sun2os4)

--- 40 unchanged lines hidden (view full) ---

1136 t3e)
1137 basic_machine=alphaev5-cray
1138 os=-unicos
1139 ;;
1140 t90)
1141 basic_machine=t90-cray
1142 os=-unicos
1143 ;;
976 tic54x | c54x*)
977 basic_machine=tic54x-unknown
978 os=-coff
1144 tile*)
1145 basic_machine=$basic_machine-unknown
1146 os=-linux-gnu
979 ;;
1147 ;;
980 tic55x | c55x*)
981 basic_machine=tic55x-unknown
982 os=-coff
983 ;;
984 tic6x | c6x*)
985 basic_machine=tic6x-unknown
986 os=-coff
987 ;;
988 tx39)
989 basic_machine=mipstx39-unknown
990 ;;
991 tx39el)
992 basic_machine=mipstx39el-unknown
993 ;;
994 toad1)
995 basic_machine=pdp10-xkl

--- 51 unchanged lines hidden (view full) ---

1047 ;;
1048 xbox)
1049 basic_machine=i686-pc
1050 os=-mingw32
1051 ;;
1052 xps | xps100)
1053 basic_machine=xps100-honeywell
1054 ;;
1148 tx39)
1149 basic_machine=mipstx39-unknown
1150 ;;
1151 tx39el)
1152 basic_machine=mipstx39el-unknown
1153 ;;
1154 toad1)
1155 basic_machine=pdp10-xkl

--- 51 unchanged lines hidden (view full) ---

1207 ;;
1208 xbox)
1209 basic_machine=i686-pc
1210 os=-mingw32
1211 ;;
1212 xps | xps100)
1213 basic_machine=xps100-honeywell
1214 ;;
1215 xscale-* | xscalee[bl]-*)
1216 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1217 ;;
1055 ymp)
1056 basic_machine=ymp-cray
1057 os=-unicos
1058 ;;
1059 z8k-*-coff)
1060 basic_machine=z8k-unknown
1061 os=-sim
1062 ;;
1218 ymp)
1219 basic_machine=ymp-cray
1220 os=-unicos
1221 ;;
1222 z8k-*-coff)
1223 basic_machine=z8k-unknown
1224 os=-sim
1225 ;;
1226 z80-*-coff)
1227 basic_machine=z80-unknown
1228 os=-sim
1229 ;;
1063 none)
1064 basic_machine=none-none
1065 os=-none
1066 ;;
1067
1068# Here we handle the default manufacturer of certain CPU types. It is in
1069# some cases the only manufacturer, in others, it is the most popular.
1070 w89k)

--- 22 unchanged lines hidden (view full) ---

1093 basic_machine=pdp10-unknown
1094 ;;
1095 pdp11)
1096 basic_machine=pdp11-dec
1097 ;;
1098 we32k)
1099 basic_machine=we32k-att
1100 ;;
1230 none)
1231 basic_machine=none-none
1232 os=-none
1233 ;;
1234
1235# Here we handle the default manufacturer of certain CPU types. It is in
1236# some cases the only manufacturer, in others, it is the most popular.
1237 w89k)

--- 22 unchanged lines hidden (view full) ---

1260 basic_machine=pdp10-unknown
1261 ;;
1262 pdp11)
1263 basic_machine=pdp11-dec
1264 ;;
1265 we32k)
1266 basic_machine=we32k-att
1267 ;;
1101 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1268 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1102 basic_machine=sh-unknown
1103 ;;
1269 basic_machine=sh-unknown
1270 ;;
1104 sparc | sparcv8 | sparcv9 | sparcv9b)
1271 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1105 basic_machine=sparc-sun
1106 ;;
1107 cydra)
1108 basic_machine=cydra-cydrome
1109 ;;
1110 orion)
1111 basic_machine=orion-highlevel
1112 ;;

--- 27 unchanged lines hidden (view full) ---

1140 ;;
1141esac
1142
1143# Decode manufacturer-specific aliases for certain operating systems.
1144
1145if [ x"$os" != x"" ]
1146then
1147case $os in
1272 basic_machine=sparc-sun
1273 ;;
1274 cydra)
1275 basic_machine=cydra-cydrome
1276 ;;
1277 orion)
1278 basic_machine=orion-highlevel
1279 ;;

--- 27 unchanged lines hidden (view full) ---

1307 ;;
1308esac
1309
1310# Decode manufacturer-specific aliases for certain operating systems.
1311
1312if [ x"$os" != x"" ]
1313then
1314case $os in
1148 # First match some system type aliases
1149 # that might get confused with valid system types.
1315 # First match some system type aliases
1316 # that might get confused with valid system types.
1150 # -solaris* is a basic system type, with this one exception.
1317 # -solaris* is a basic system type, with this one exception.
1318 -auroraux)
1319 os=-auroraux
1320 ;;
1151 -solaris1 | -solaris1.*)
1152 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1153 ;;
1154 -solaris)
1155 os=-solaris2
1156 ;;
1157 -svr4*)
1158 os=-sysv4

--- 4 unchanged lines hidden (view full) ---

1163 -gnu/linux*)
1164 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1165 ;;
1166 # First accept the basic system types.
1167 # The portable systems comes first.
1168 # Each alternative MUST END IN A *, to match a version number.
1169 # -sysv* is not here because it comes later, after sysvr4.
1170 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1321 -solaris1 | -solaris1.*)
1322 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1323 ;;
1324 -solaris)
1325 os=-solaris2
1326 ;;
1327 -svr4*)
1328 os=-sysv4

--- 4 unchanged lines hidden (view full) ---

1333 -gnu/linux*)
1334 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1335 ;;
1336 # First accept the basic system types.
1337 # The portable systems comes first.
1338 # Each alternative MUST END IN A *, to match a version number.
1339 # -sysv* is not here because it comes later, after sysvr4.
1340 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1171 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1172 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1341 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1342 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1343 | -sym* | -kopensolaris* \
1173 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1344 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1174 | -aos* \
1345 | -aos* | -aros* \
1175 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1176 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1346 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1347 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1177 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1348 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1349 | -openbsd* | -solidbsd* \
1178 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1179 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1180 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1181 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1350 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1351 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1352 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1353 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1182 | -chorusos* | -chorusrdb* \
1183 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1184 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1354 | -chorusos* | -chorusrdb* | -cegcc* \
1355 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1356 | -mingw32* | -linux-gnu* | -linux-android* \
1357 | -linux-newlib* | -linux-uclibc* \
1358 | -uxpv* | -beos* | -mpeix* | -udk* \
1185 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1186 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1187 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1188 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1189 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1190 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1359 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1360 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1361 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1362 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1363 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1364 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1191 | -skyos* | -haiku*)
1365 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1192 # Remember, each alternative MUST END IN *, to match a version number.
1193 ;;
1194 -qnx*)
1195 case $basic_machine in
1196 x86-* | i*86-*)
1197 ;;
1198 *)
1199 os=-nto$os

--- 22 unchanged lines hidden (view full) ---

1222 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1223 ;;
1224 -sunos6*)
1225 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1226 ;;
1227 -opened*)
1228 os=-openedition
1229 ;;
1366 # Remember, each alternative MUST END IN *, to match a version number.
1367 ;;
1368 -qnx*)
1369 case $basic_machine in
1370 x86-* | i*86-*)
1371 ;;
1372 *)
1373 os=-nto$os

--- 22 unchanged lines hidden (view full) ---

1396 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1397 ;;
1398 -sunos6*)
1399 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1400 ;;
1401 -opened*)
1402 os=-openedition
1403 ;;
1230 -os400*)
1404 -os400*)
1231 os=-os400
1232 ;;
1233 -wince*)
1234 os=-wince
1235 ;;
1236 -osfrose*)
1237 os=-osfrose
1238 ;;

--- 32 unchanged lines hidden (view full) ---

1271 ;;
1272 # Preserve the version number of sinix5.
1273 -sinix5.*)
1274 os=`echo $os | sed -e 's|sinix|sysv|'`
1275 ;;
1276 -sinix*)
1277 os=-sysv4
1278 ;;
1405 os=-os400
1406 ;;
1407 -wince*)
1408 os=-wince
1409 ;;
1410 -osfrose*)
1411 os=-osfrose
1412 ;;

--- 32 unchanged lines hidden (view full) ---

1445 ;;
1446 # Preserve the version number of sinix5.
1447 -sinix5.*)
1448 os=`echo $os | sed -e 's|sinix|sysv|'`
1449 ;;
1450 -sinix*)
1451 os=-sysv4
1452 ;;
1279 -tpf*)
1453 -tpf*)
1280 os=-tpf
1281 ;;
1282 -triton*)
1283 os=-sysv3
1284 ;;
1285 -oss*)
1286 os=-sysv3
1287 ;;

--- 25 unchanged lines hidden (view full) ---

1313 os=-aros
1314 ;;
1315 -kaos*)
1316 os=-kaos
1317 ;;
1318 -zvmoe)
1319 os=-zvmoe
1320 ;;
1454 os=-tpf
1455 ;;
1456 -triton*)
1457 os=-sysv3
1458 ;;
1459 -oss*)
1460 os=-sysv3
1461 ;;

--- 25 unchanged lines hidden (view full) ---

1487 os=-aros
1488 ;;
1489 -kaos*)
1490 os=-kaos
1491 ;;
1492 -zvmoe)
1493 os=-zvmoe
1494 ;;
1495 -dicos*)
1496 os=-dicos
1497 ;;
1498 -nacl*)
1499 ;;
1321 -none)
1322 ;;
1323 *)
1324 # Get rid of the `-' at the beginning of $os.
1325 os=`echo $os | sed 's/[^-]*-//'`
1326 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1327 exit 1
1328 ;;

--- 6 unchanged lines hidden (view full) ---

1335
1336# Note that if you're going to try to match "-MANUFACTURER" here (say,
1337# "-sun"), then you have to tell the case statement up towards the top
1338# that MANUFACTURER isn't an operating system. Otherwise, code above
1339# will signal an error saying that MANUFACTURER isn't an operating
1340# system, and we'll never get to this point.
1341
1342case $basic_machine in
1500 -none)
1501 ;;
1502 *)
1503 # Get rid of the `-' at the beginning of $os.
1504 os=`echo $os | sed 's/[^-]*-//'`
1505 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1506 exit 1
1507 ;;

--- 6 unchanged lines hidden (view full) ---

1514
1515# Note that if you're going to try to match "-MANUFACTURER" here (say,
1516# "-sun"), then you have to tell the case statement up towards the top
1517# that MANUFACTURER isn't an operating system. Otherwise, code above
1518# will signal an error saying that MANUFACTURER isn't an operating
1519# system, and we'll never get to this point.
1520
1521case $basic_machine in
1522 score-*)
1523 os=-elf
1524 ;;
1525 spu-*)
1526 os=-elf
1527 ;;
1343 *-acorn)
1344 os=-riscix1.2
1345 ;;
1346 arm*-rebel)
1347 os=-linux
1348 ;;
1349 arm*-semi)
1350 os=-aout
1351 ;;
1528 *-acorn)
1529 os=-riscix1.2
1530 ;;
1531 arm*-rebel)
1532 os=-linux
1533 ;;
1534 arm*-semi)
1535 os=-aout
1536 ;;
1352 c4x-* | tic4x-*)
1353 os=-coff
1354 ;;
1537 c4x-* | tic4x-*)
1538 os=-coff
1539 ;;
1540 tic54x-*)
1541 os=-coff
1542 ;;
1543 tic55x-*)
1544 os=-coff
1545 ;;
1546 tic6x-*)
1547 os=-coff
1548 ;;
1355 # This must come before the *-dec entry.
1356 pdp10-*)
1357 os=-tops20
1358 ;;
1359 pdp11-*)
1360 os=-none
1361 ;;
1362 *-dec | vax-*)
1363 os=-ultrix4.2
1364 ;;
1365 m68*-apollo)
1366 os=-domain
1367 ;;
1368 i386-sun)
1369 os=-sunos4.0.2
1370 ;;
1371 m68000-sun)
1372 os=-sunos3
1549 # This must come before the *-dec entry.
1550 pdp10-*)
1551 os=-tops20
1552 ;;
1553 pdp11-*)
1554 os=-none
1555 ;;
1556 *-dec | vax-*)
1557 os=-ultrix4.2
1558 ;;
1559 m68*-apollo)
1560 os=-domain
1561 ;;
1562 i386-sun)
1563 os=-sunos4.0.2
1564 ;;
1565 m68000-sun)
1566 os=-sunos3
1373 # This also exists in the configure program, but was not the
1374 # default.
1375 # os=-sunos4
1376 ;;
1377 m68*-cisco)
1378 os=-aout
1379 ;;
1567 ;;
1568 m68*-cisco)
1569 os=-aout
1570 ;;
1571 mep-*)
1572 os=-elf
1573 ;;
1380 mips*-cisco)
1381 os=-elf
1382 ;;
1383 mips*-*)
1384 os=-elf
1385 ;;
1386 or32-*)
1387 os=-coff

--- 8 unchanged lines hidden (view full) ---

1396 os=-beos
1397 ;;
1398 *-haiku)
1399 os=-haiku
1400 ;;
1401 *-ibm)
1402 os=-aix
1403 ;;
1574 mips*-cisco)
1575 os=-elf
1576 ;;
1577 mips*-*)
1578 os=-elf
1579 ;;
1580 or32-*)
1581 os=-coff

--- 8 unchanged lines hidden (view full) ---

1590 os=-beos
1591 ;;
1592 *-haiku)
1593 os=-haiku
1594 ;;
1595 *-ibm)
1596 os=-aix
1597 ;;
1404 *-knuth)
1598 *-knuth)
1405 os=-mmixware
1406 ;;
1407 *-wec)
1408 os=-proelf
1409 ;;
1410 *-winbond)
1411 os=-proelf
1412 ;;

--- 88 unchanged lines hidden (view full) ---

1501 *-unknown)
1502 case $os in
1503 -riscix*)
1504 vendor=acorn
1505 ;;
1506 -sunos*)
1507 vendor=sun
1508 ;;
1599 os=-mmixware
1600 ;;
1601 *-wec)
1602 os=-proelf
1603 ;;
1604 *-winbond)
1605 os=-proelf
1606 ;;

--- 88 unchanged lines hidden (view full) ---

1695 *-unknown)
1696 case $os in
1697 -riscix*)
1698 vendor=acorn
1699 ;;
1700 -sunos*)
1701 vendor=sun
1702 ;;
1509 -aix*)
1703 -cnk*|-aix*)
1510 vendor=ibm
1511 ;;
1512 -beos*)
1513 vendor=be
1514 ;;
1515 -hpux*)
1516 vendor=hp
1517 ;;

--- 62 unchanged lines hidden ---
1704 vendor=ibm
1705 ;;
1706 -beos*)
1707 vendor=be
1708 ;;
1709 -hpux*)
1710 vendor=hp
1711 ;;

--- 62 unchanged lines hidden ---