Deleted Added
full compact
config.sub (180751) config.sub (189006)
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
5# Free Software Foundation, Inc.
5
6
6timestamp='2005-05-12'
7timestamp='2008-06-16'
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

--- 51 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
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

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

67 -t, --time-stamp print date of last modification, then exit
68 -v, --version print version number, then exit
69
70Report bugs and patches to <config-patches@gnu.org>."
71
72version="\
73GNU config.sub ($timestamp)
74
74Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
75Free Software Foundation, Inc.
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
762002, 2003, 2004, 2005, 2006, 2007, 2008 Free 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
83# Parse command line

--- 30 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
77
78This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
80
81help="
82Try \`$me --help' for more information."
83
84# Parse command line

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

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

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

166 ;;
167 -chorusrdb)
168 os=-chorusrdb
169 basic_machine=$1
170 ;;
171 -hiux*)
172 os=-hiuxwe2
173 ;;
126 os=-$maybe_os
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128 ;;
129 *)
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
131 if [ $basic_machine != $1 ]
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi

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

168 ;;
169 -chorusrdb)
170 os=-chorusrdb
171 basic_machine=$1
172 ;;
173 -hiux*)
174 os=-hiuxwe2
175 ;;
176 -sco6)
177 os=-sco5v6
178 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
179 ;;
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 ;;
180 -sco5)
181 os=-sco3.2v5
182 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
183 ;;
184 -sco4)
185 os=-sco3.2v4
186 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
187 ;;
188 -sco3.2.[4-9]*)
189 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
190 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
191 ;;
192 -sco3.2v[4-9]*)
193 # Don't forget version if it is 3.2v4 or newer.
194 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
195 ;;
196 -sco5v6*)
197 # Don't forget version if it is 3.2v4 or newer.
198 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
199 ;;
190 -sco*)
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)

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

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 \
231 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
232 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
233 | am33_2.0 \
200 -sco*)
201 os=-sco3.2v2
202 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
203 ;;
204 -udk*)
205 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
206 ;;
207 -isc)

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

236case $basic_machine in
237 # Recognize the basic CPU types without company name.
238 # Some are omitted here because they have special meanings below.
239 1750a | 580 \
240 | a29k \
241 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243 | am33_2.0 \
234 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
244 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
235 | bfin \
236 | c4x | clipper \
237 | d10v | d30v | dlx | dsp16xx \
245 | bfin \
246 | c4x | clipper \
247 | d10v | d30v | dlx | dsp16xx \
238 | fr30 | frv \
248 | fido | fr30 | frv \
239 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
240 | i370 | i860 | i960 | ia64 \
241 | ip2k | iq2000 \
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250 | i370 | i860 | i960 | ia64 \
251 | ip2k | iq2000 \
242 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \
253 | maxq | mb | microblaze | mcore | mep | metag \
243 | mips | mipsbe | mipseb | mipsel | mipsle \
244 | mips16 \
245 | mips64 | mips64el \
254 | mips | mipsbe | mipseb | mipsel | mipsle \
255 | mips16 \
256 | mips64 | mips64el \
246 | mips64vr | mips64vrel \
257 | mips64octeon | mips64octeonel \
247 | mips64orion | mips64orionel \
258 | mips64orion | mips64orionel \
259 | mips64r5900 | mips64r5900el \
260 | mips64vr | mips64vrel \
248 | mips64vr4100 | mips64vr4100el \
249 | mips64vr4300 | mips64vr4300el \
250 | mips64vr5000 | mips64vr5000el \
261 | mips64vr4100 | mips64vr4100el \
262 | mips64vr4300 | mips64vr4300el \
263 | mips64vr5000 | mips64vr5000el \
264 | mips64vr5900 | mips64vr5900el \
251 | mipsisa32 | mipsisa32el \
252 | mipsisa32r2 | mipsisa32r2el \
253 | mipsisa64 | mipsisa64el \
254 | mipsisa64r2 | mipsisa64r2el \
255 | mipsisa64sb1 | mipsisa64sb1el \
256 | mipsisa64sr71k | mipsisa64sr71kel \
257 | mipstx39 | mipstx39el \
258 | mn10200 | mn10300 \
265 | mipsisa32 | mipsisa32el \
266 | mipsisa32r2 | mipsisa32r2el \
267 | mipsisa64 | mipsisa64el \
268 | mipsisa64r2 | mipsisa64r2el \
269 | mipsisa64sb1 | mipsisa64sb1el \
270 | mipsisa64sr71k | mipsisa64sr71kel \
271 | mipstx39 | mipstx39el \
272 | mn10200 | mn10300 \
273 | mt \
259 | msp430 \
274 | msp430 \
275 | nios | nios2 \
260 | ns16k | ns32k \
276 | ns16k | ns32k \
261 | openrisc | or32 \
277 | or32 \
262 | pdp10 | pdp11 | pj | pjl \
263 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
264 | pyramid \
278 | pdp10 | pdp11 | pj | pjl \
279 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
280 | pyramid \
265 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
281 | score \
282 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
266 | sh64 | sh64le \
283 | sh64 | sh64le \
267 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
268 | sparcv8 | sparcv9 | sparcv9b \
269 | strongarm \
284 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
285 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
286 | spu | strongarm \
270 | tahoe | thumb | tic4x | tic80 | tron \
271 | v850 | v850e \
272 | we32k \
287 | tahoe | thumb | tic4x | tic80 | tron \
288 | v850 | v850e \
289 | we32k \
273 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
290 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
274 | z8k)
275 basic_machine=$basic_machine-unknown
276 ;;
277 m6811 | m68hc11 | m6812 | m68hc12)
278 # Motorola 68HC11/12.
279 basic_machine=$basic_machine-unknown
280 os=-none
281 ;;
282 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
283 ;;
291 | z8k)
292 basic_machine=$basic_machine-unknown
293 ;;
294 m6811 | m68hc11 | m6812 | m68hc12)
295 # Motorola 68HC11/12.
296 basic_machine=$basic_machine-unknown
297 os=-none
298 ;;
299 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
300 ;;
301 ms1)
302 basic_machine=mt-unknown
303 ;;
284
285 # We use `pc' rather than `unknown'
286 # because (1) that's what they normally are, and
287 # (2) the word "unknown" tends to confuse beginning users.
288 i*86 | x86_64)
289 basic_machine=$basic_machine-pc
290 ;;
291 # Object if more than one company name word.
292 *-*-*)
293 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
294 exit 1
295 ;;
296 # Recognize the basic CPU types with company name.
297 580-* \
298 | a29k-* \
299 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
300 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
301 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
302 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
304
305 # We use `pc' rather than `unknown'
306 # because (1) that's what they normally are, and
307 # (2) the word "unknown" tends to confuse beginning users.
308 i*86 | x86_64)
309 basic_machine=$basic_machine-pc
310 ;;
311 # Object if more than one company name word.
312 *-*-*)
313 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
314 exit 1
315 ;;
316 # Recognize the basic CPU types with company name.
317 580-* \
318 | a29k-* \
319 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
320 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
321 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
322 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
303 | avr-* \
323 | avr-* | avr32-* \
304 | bfin-* | bs2000-* \
305 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
306 | clipper-* | craynv-* | cydra-* \
307 | d10v-* | d30v-* | dlx-* \
308 | elxsi-* \
324 | bfin-* | bs2000-* \
325 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
326 | clipper-* | craynv-* | cydra-* \
327 | d10v-* | d30v-* | dlx-* \
328 | elxsi-* \
309 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
329 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
310 | h8300-* | h8500-* \
311 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
312 | i*86-* | i860-* | i960-* | ia64-* \
313 | ip2k-* | iq2000-* \
330 | h8300-* | h8500-* \
331 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
332 | i*86-* | i860-* | i960-* | ia64-* \
333 | ip2k-* | iq2000-* \
314 | m32r-* | m32rle-* \
334 | m32c-* | m32r-* | m32rle-* \
315 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
335 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
316 | m88110-* | m88k-* | maxq-* | mcore-* \
336 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
317 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
318 | mips16-* \
319 | mips64-* | mips64el-* \
337 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
338 | mips16-* \
339 | mips64-* | mips64el-* \
320 | mips64vr-* | mips64vrel-* \
340 | mips64octeon-* | mips64octeonel-* \
321 | mips64orion-* | mips64orionel-* \
341 | mips64orion-* | mips64orionel-* \
342 | mips64r5900-* | mips64r5900el-* \
343 | mips64vr-* | mips64vrel-* \
322 | mips64vr4100-* | mips64vr4100el-* \
323 | mips64vr4300-* | mips64vr4300el-* \
324 | mips64vr5000-* | mips64vr5000el-* \
344 | mips64vr4100-* | mips64vr4100el-* \
345 | mips64vr4300-* | mips64vr4300el-* \
346 | mips64vr5000-* | mips64vr5000el-* \
347 | mips64vr5900-* | mips64vr5900el-* \
325 | mipsisa32-* | mipsisa32el-* \
326 | mipsisa32r2-* | mipsisa32r2el-* \
327 | mipsisa64-* | mipsisa64el-* \
328 | mipsisa64r2-* | mipsisa64r2el-* \
329 | mipsisa64sb1-* | mipsisa64sb1el-* \
330 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
331 | mipstx39-* | mipstx39el-* \
332 | mmix-* \
348 | mipsisa32-* | mipsisa32el-* \
349 | mipsisa32r2-* | mipsisa32r2el-* \
350 | mipsisa64-* | mipsisa64el-* \
351 | mipsisa64r2-* | mipsisa64r2el-* \
352 | mipsisa64sb1-* | mipsisa64sb1el-* \
353 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
354 | mipstx39-* | mipstx39el-* \
355 | mmix-* \
356 | mt-* \
333 | msp430-* \
357 | msp430-* \
358 | nios-* | nios2-* \
334 | none-* | np1-* | ns16k-* | ns32k-* \
335 | orion-* \
336 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
337 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
338 | pyramid-* \
339 | romp-* | rs6000-* \
359 | none-* | np1-* | ns16k-* | ns32k-* \
360 | orion-* \
361 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
362 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
363 | pyramid-* \
364 | romp-* | rs6000-* \
340 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
365 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
341 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
366 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
342 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
367 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
343 | sparclite-* \
368 | sparclite-* \
344 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
369 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
345 | tahoe-* | thumb-* \
370 | tahoe-* | thumb-* \
346 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
371 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
347 | tron-* \
348 | v850-* | v850e-* | vax-* \
349 | we32k-* \
372 | tron-* \
373 | v850-* | v850e-* | vax-* \
374 | we32k-* \
350 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
351 | xstormy16-* | xtensa-* \
375 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
376 | xstormy16-* | xtensa*-* \
352 | ymp-* \
353 | z8k-*)
354 ;;
377 | ymp-* \
378 | z8k-*)
379 ;;
380 # Recognize the basic CPU types without company name, with glob match.
381 xtensa*)
382 basic_machine=$basic_machine-unknown
383 ;;
355 # Recognize the various machine names and aliases which stand
356 # for a CPU type and a company and sometimes even an OS.
357 386bsd)
358 basic_machine=i386-unknown
359 os=-bsd
360 ;;
361 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
362 basic_machine=m68000-att

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

417 aux)
418 basic_machine=m68k-apple
419 os=-aux
420 ;;
421 balance)
422 basic_machine=ns32k-sequent
423 os=-dynix
424 ;;
384 # Recognize the various machine names and aliases which stand
385 # for a CPU type and a company and sometimes even an OS.
386 386bsd)
387 basic_machine=i386-unknown
388 os=-bsd
389 ;;
390 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
391 basic_machine=m68000-att

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

446 aux)
447 basic_machine=m68k-apple
448 os=-aux
449 ;;
450 balance)
451 basic_machine=ns32k-sequent
452 os=-dynix
453 ;;
454 blackfin)
455 basic_machine=bfin-unknown
456 os=-linux
457 ;;
458 blackfin-*)
459 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
460 os=-linux
461 ;;
425 c90)
426 basic_machine=c90-cray
427 os=-unicos
428 ;;
462 c90)
463 basic_machine=c90-cray
464 os=-unicos
465 ;;
466 cegcc)
467 basic_machine=arm-unknown
468 os=-cegcc
469 ;;
429 convex-c1)
430 basic_machine=c1-convex
431 os=-bsd
432 ;;
433 convex-c2)
434 basic_machine=c2-convex
435 os=-bsd
436 ;;

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

449 cray | j90)
450 basic_machine=j90-cray
451 os=-unicos
452 ;;
453 craynv)
454 basic_machine=craynv-cray
455 os=-unicosmp
456 ;;
470 convex-c1)
471 basic_machine=c1-convex
472 os=-bsd
473 ;;
474 convex-c2)
475 basic_machine=c2-convex
476 os=-bsd
477 ;;

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

490 cray | j90)
491 basic_machine=j90-cray
492 os=-unicos
493 ;;
494 craynv)
495 basic_machine=craynv-cray
496 os=-unicosmp
497 ;;
457 cr16c)
458 basic_machine=cr16c-unknown
498 cr16)
499 basic_machine=cr16-unknown
459 os=-elf
460 ;;
461 crds | unos)
462 basic_machine=m68k-crds
463 ;;
464 crisv32 | crisv32-* | etraxfs*)
465 basic_machine=crisv32-axis
466 ;;

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

488 delta | 3300 | motorola-3300 | motorola-delta \
489 | 3300-motorola | delta-motorola)
490 basic_machine=m68k-motorola
491 ;;
492 delta88)
493 basic_machine=m88k-motorola
494 os=-sysv3
495 ;;
500 os=-elf
501 ;;
502 crds | unos)
503 basic_machine=m68k-crds
504 ;;
505 crisv32 | crisv32-* | etraxfs*)
506 basic_machine=crisv32-axis
507 ;;

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

529 delta | 3300 | motorola-3300 | motorola-delta \
530 | 3300-motorola | delta-motorola)
531 basic_machine=m68k-motorola
532 ;;
533 delta88)
534 basic_machine=m88k-motorola
535 os=-sysv3
536 ;;
537 dicos)
538 basic_machine=i686-pc
539 os=-dicos
540 ;;
496 djgpp)
497 basic_machine=i586-pc
498 os=-msdosdjgpp
499 ;;
500 dpx20 | dpx20-*)
501 basic_machine=rs6000-bull
502 os=-bosx
503 ;;

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

642 os=-irix4
643 ;;
644 esac
645 ;;
646 isi68 | isi)
647 basic_machine=m68k-isi
648 os=-sysv
649 ;;
541 djgpp)
542 basic_machine=i586-pc
543 os=-msdosdjgpp
544 ;;
545 dpx20 | dpx20-*)
546 basic_machine=rs6000-bull
547 os=-bosx
548 ;;

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

687 os=-irix4
688 ;;
689 esac
690 ;;
691 isi68 | isi)
692 basic_machine=m68k-isi
693 os=-sysv
694 ;;
695 m68knommu)
696 basic_machine=m68k-unknown
697 os=-linux
698 ;;
699 m68knommu-*)
700 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
701 os=-linux
702 ;;
650 m88k-omron*)
651 basic_machine=m88k-omron
652 ;;
653 magnum | m3230)
654 basic_machine=mips-mips
655 os=-sysv
656 ;;
657 merlin)
658 basic_machine=ns32k-utek
659 os=-sysv
660 ;;
661 mingw32)
662 basic_machine=i386-pc
663 os=-mingw32
664 ;;
703 m88k-omron*)
704 basic_machine=m88k-omron
705 ;;
706 magnum | m3230)
707 basic_machine=mips-mips
708 os=-sysv
709 ;;
710 merlin)
711 basic_machine=ns32k-utek
712 os=-sysv
713 ;;
714 mingw32)
715 basic_machine=i386-pc
716 os=-mingw32
717 ;;
718 mingw32ce)
719 basic_machine=arm-unknown
720 os=-mingw32ce
721 ;;
665 miniframe)
666 basic_machine=m68000-convergent
667 ;;
668 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
669 basic_machine=m68k-atari
670 os=-mint
671 ;;
672 mips3*-*)

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

682 morphos)
683 basic_machine=powerpc-unknown
684 os=-morphos
685 ;;
686 msdos)
687 basic_machine=i386-pc
688 os=-msdos
689 ;;
722 miniframe)
723 basic_machine=m68000-convergent
724 ;;
725 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
726 basic_machine=m68k-atari
727 os=-mint
728 ;;
729 mips3*-*)

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

739 morphos)
740 basic_machine=powerpc-unknown
741 os=-morphos
742 ;;
743 msdos)
744 basic_machine=i386-pc
745 os=-msdos
746 ;;
747 ms1-*)
748 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
749 ;;
690 mvs)
691 basic_machine=i370-ibm
692 os=-mvs
693 ;;
694 ncr3000)
695 basic_machine=i486-ncr
696 os=-sysv4
697 ;;

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

757 ;;
758 nsr-tandem)
759 basic_machine=nsr-tandem
760 ;;
761 op50n-* | op60c-*)
762 basic_machine=hppa1.1-oki
763 os=-proelf
764 ;;
750 mvs)
751 basic_machine=i370-ibm
752 os=-mvs
753 ;;
754 ncr3000)
755 basic_machine=i486-ncr
756 os=-sysv4
757 ;;

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

817 ;;
818 nsr-tandem)
819 basic_machine=nsr-tandem
820 ;;
821 op50n-* | op60c-*)
822 basic_machine=hppa1.1-oki
823 os=-proelf
824 ;;
765 or32 | or32-*)
825 openrisc | openrisc-*)
766 basic_machine=or32-unknown
826 basic_machine=or32-unknown
767 os=-coff
768 ;;
769 os400)
770 basic_machine=powerpc-ibm
771 os=-os400
772 ;;
773 OSE68000 | ose68000)
774 basic_machine=m68000-ericsson
775 os=-ose

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

781 pa-hitachi)
782 basic_machine=hppa1.1-hitachi
783 os=-hiuxwe2
784 ;;
785 paragon)
786 basic_machine=i860-intel
787 os=-osf
788 ;;
827 ;;
828 os400)
829 basic_machine=powerpc-ibm
830 os=-os400
831 ;;
832 OSE68000 | ose68000)
833 basic_machine=m68000-ericsson
834 os=-ose

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

840 pa-hitachi)
841 basic_machine=hppa1.1-hitachi
842 os=-hiuxwe2
843 ;;
844 paragon)
845 basic_machine=i860-intel
846 os=-osf
847 ;;
848 parisc)
849 basic_machine=hppa-unknown
850 os=-linux
851 ;;
852 parisc-*)
853 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
854 os=-linux
855 ;;
789 pbd)
790 basic_machine=sparc-tti
791 ;;
792 pbb)
793 basic_machine=m68k-tti
794 ;;
795 pc532 | pc532-*)
796 basic_machine=ns32k-pc532
797 ;;
856 pbd)
857 basic_machine=sparc-tti
858 ;;
859 pbb)
860 basic_machine=m68k-tti
861 ;;
862 pc532 | pc532-*)
863 basic_machine=ns32k-pc532
864 ;;
865 pc98)
866 basic_machine=i386-pc
867 ;;
868 pc98-*)
869 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
870 ;;
798 pentium | p5 | k5 | k6 | nexgen | viac3)
799 basic_machine=i586-pc
800 ;;
801 pentiumpro | p6 | 6x86 | athlon | athlon_*)
802 basic_machine=i686-pc
803 ;;
804 pentiumii | pentium2 | pentiumiii | pentium3)
805 basic_machine=i686-pc

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

846 ;;
847 ps2)
848 basic_machine=i386-ibm
849 ;;
850 pw32)
851 basic_machine=i586-unknown
852 os=-pw32
853 ;;
871 pentium | p5 | k5 | k6 | nexgen | viac3)
872 basic_machine=i586-pc
873 ;;
874 pentiumpro | p6 | 6x86 | athlon | athlon_*)
875 basic_machine=i686-pc
876 ;;
877 pentiumii | pentium2 | pentiumiii | pentium3)
878 basic_machine=i686-pc

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

919 ;;
920 ps2)
921 basic_machine=i386-ibm
922 ;;
923 pw32)
924 basic_machine=i586-unknown
925 os=-pw32
926 ;;
927 rdos)
928 basic_machine=i386-pc
929 os=-rdos
930 ;;
854 rom68k)
855 basic_machine=m68k-rom68k
856 os=-coff
857 ;;
858 rm[46]00)
859 basic_machine=mips-siemens
860 ;;
861 rtpc | rtpc-*)

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

872 os=-udi
873 ;;
874 sb1)
875 basic_machine=mipsisa64sb1-unknown
876 ;;
877 sb1el)
878 basic_machine=mipsisa64sb1el-unknown
879 ;;
931 rom68k)
932 basic_machine=m68k-rom68k
933 os=-coff
934 ;;
935 rm[46]00)
936 basic_machine=mips-siemens
937 ;;
938 rtpc | rtpc-*)

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

949 os=-udi
950 ;;
951 sb1)
952 basic_machine=mipsisa64sb1-unknown
953 ;;
954 sb1el)
955 basic_machine=mipsisa64sb1el-unknown
956 ;;
957 sde)
958 basic_machine=mipsisa32-sde
959 os=-elf
960 ;;
880 sei)
881 basic_machine=mips-sei
882 os=-seiux
883 ;;
884 sequent)
885 basic_machine=i386-sequent
886 ;;
887 sh)
888 basic_machine=sh-hitachi
889 os=-hms
890 ;;
961 sei)
962 basic_machine=mips-sei
963 os=-seiux
964 ;;
965 sequent)
966 basic_machine=i386-sequent
967 ;;
968 sh)
969 basic_machine=sh-hitachi
970 os=-hms
971 ;;
972 sh5el)
973 basic_machine=sh5le-unknown
974 ;;
891 sh64)
892 basic_machine=sh64-unknown
893 ;;
894 sparclite-wrs | simso-wrs)
895 basic_machine=sparclite-wrs
896 os=-vxworks
897 ;;
898 sps7)

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

972 tic55x | c55x*)
973 basic_machine=tic55x-unknown
974 os=-coff
975 ;;
976 tic6x | c6x*)
977 basic_machine=tic6x-unknown
978 os=-coff
979 ;;
975 sh64)
976 basic_machine=sh64-unknown
977 ;;
978 sparclite-wrs | simso-wrs)
979 basic_machine=sparclite-wrs
980 os=-vxworks
981 ;;
982 sps7)

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

1056 tic55x | c55x*)
1057 basic_machine=tic55x-unknown
1058 os=-coff
1059 ;;
1060 tic6x | c6x*)
1061 basic_machine=tic6x-unknown
1062 os=-coff
1063 ;;
1064 tile*)
1065 basic_machine=tile-unknown
1066 os=-linux-gnu
1067 ;;
980 tx39)
981 basic_machine=mipstx39-unknown
982 ;;
983 tx39el)
984 basic_machine=mipstx39el-unknown
985 ;;
986 toad1)
987 basic_machine=pdp10-xkl

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

1085 basic_machine=pdp10-unknown
1086 ;;
1087 pdp11)
1088 basic_machine=pdp11-dec
1089 ;;
1090 we32k)
1091 basic_machine=we32k-att
1092 ;;
1068 tx39)
1069 basic_machine=mipstx39-unknown
1070 ;;
1071 tx39el)
1072 basic_machine=mipstx39el-unknown
1073 ;;
1074 toad1)
1075 basic_machine=pdp10-xkl

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

1173 basic_machine=pdp10-unknown
1174 ;;
1175 pdp11)
1176 basic_machine=pdp11-dec
1177 ;;
1178 we32k)
1179 basic_machine=we32k-att
1180 ;;
1093 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1181 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1094 basic_machine=sh-unknown
1095 ;;
1182 basic_machine=sh-unknown
1183 ;;
1096 sh64)
1097 basic_machine=sh64-unknown
1098 ;;
1099 sparc | sparcv8 | sparcv9 | sparcv9b)
1184 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1100 basic_machine=sparc-sun
1101 ;;
1102 cydra)
1103 basic_machine=cydra-cydrome
1104 ;;
1105 orion)
1106 basic_machine=orion-highlevel
1107 ;;

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

1164 # -sysv* is not here because it comes later, after sysvr4.
1165 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1166 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1167 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1168 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1169 | -aos* \
1170 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1171 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1185 basic_machine=sparc-sun
1186 ;;
1187 cydra)
1188 basic_machine=cydra-cydrome
1189 ;;
1190 orion)
1191 basic_machine=orion-highlevel
1192 ;;

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

1249 # -sysv* is not here because it comes later, after sysvr4.
1250 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1251 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1252 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1253 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1254 | -aos* \
1255 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1256 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1172 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1257 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1258 | -openbsd* | -solidbsd* \
1173 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1174 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1175 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1176 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1259 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1260 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1261 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1262 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1177 | -chorusos* | -chorusrdb* \
1263 | -chorusos* | -chorusrdb* | -cegcc* \
1178 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1264 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1179 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1265 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1266 | -uxpv* | -beos* | -mpeix* | -udk* \
1180 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1181 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1182 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1183 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1184 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1267 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1268 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1269 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1270 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1271 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1185 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos*)
1272 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1273 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1186 # Remember, each alternative MUST END IN *, to match a version number.
1187 ;;
1188 -qnx*)
1189 case $basic_machine in
1190 x86-* | i*86-*)
1191 ;;
1192 *)
1193 os=-nto$os
1194 ;;
1195 esac
1196 ;;
1197 -nto-qnx*)
1198 ;;
1199 -nto*)
1200 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1201 ;;
1202 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1274 # Remember, each alternative MUST END IN *, to match a version number.
1275 ;;
1276 -qnx*)
1277 case $basic_machine in
1278 x86-* | i*86-*)
1279 ;;
1280 *)
1281 os=-nto$os
1282 ;;
1283 esac
1284 ;;
1285 -nto-qnx*)
1286 ;;
1287 -nto*)
1288 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1289 ;;
1290 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1203 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1291 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1204 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1205 ;;
1206 -mac*)
1207 os=`echo $os | sed -e 's|mac|macos|'`
1208 ;;
1209 -linux-dietlibc)
1210 os=-linux-dietlibc
1211 ;;

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

1307 os=-aros
1308 ;;
1309 -kaos*)
1310 os=-kaos
1311 ;;
1312 -zvmoe)
1313 os=-zvmoe
1314 ;;
1292 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1293 ;;
1294 -mac*)
1295 os=`echo $os | sed -e 's|mac|macos|'`
1296 ;;
1297 -linux-dietlibc)
1298 os=-linux-dietlibc
1299 ;;

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

1395 os=-aros
1396 ;;
1397 -kaos*)
1398 os=-kaos
1399 ;;
1400 -zvmoe)
1401 os=-zvmoe
1402 ;;
1403 -dicos*)
1404 os=-dicos
1405 ;;
1315 -none)
1316 ;;
1317 *)
1318 # Get rid of the `-' at the beginning of $os.
1319 os=`echo $os | sed 's/[^-]*-//'`
1320 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1321 exit 1
1322 ;;

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

1329
1330# Note that if you're going to try to match "-MANUFACTURER" here (say,
1331# "-sun"), then you have to tell the case statement up towards the top
1332# that MANUFACTURER isn't an operating system. Otherwise, code above
1333# will signal an error saying that MANUFACTURER isn't an operating
1334# system, and we'll never get to this point.
1335
1336case $basic_machine in
1406 -none)
1407 ;;
1408 *)
1409 # Get rid of the `-' at the beginning of $os.
1410 os=`echo $os | sed 's/[^-]*-//'`
1411 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1412 exit 1
1413 ;;

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

1420
1421# Note that if you're going to try to match "-MANUFACTURER" here (say,
1422# "-sun"), then you have to tell the case statement up towards the top
1423# that MANUFACTURER isn't an operating system. Otherwise, code above
1424# will signal an error saying that MANUFACTURER isn't an operating
1425# system, and we'll never get to this point.
1426
1427case $basic_machine in
1428 score-*)
1429 os=-elf
1430 ;;
1431 spu-*)
1432 os=-elf
1433 ;;
1337 *-acorn)
1338 os=-riscix1.2
1339 ;;
1340 arm*-rebel)
1341 os=-linux
1342 ;;
1343 arm*-semi)
1344 os=-aout
1345 ;;
1434 *-acorn)
1435 os=-riscix1.2
1436 ;;
1437 arm*-rebel)
1438 os=-linux
1439 ;;
1440 arm*-semi)
1441 os=-aout
1442 ;;
1346 c4x-* | tic4x-*)
1347 os=-coff
1348 ;;
1443 c4x-* | tic4x-*)
1444 os=-coff
1445 ;;
1349 # This must come before the *-dec entry.
1350 pdp10-*)
1351 os=-tops20
1352 ;;
1353 pdp11-*)
1354 os=-none
1355 ;;
1356 *-dec | vax-*)

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

1366 os=-sunos3
1367 # This also exists in the configure program, but was not the
1368 # default.
1369 # os=-sunos4
1370 ;;
1371 m68*-cisco)
1372 os=-aout
1373 ;;
1446 # This must come before the *-dec entry.
1447 pdp10-*)
1448 os=-tops20
1449 ;;
1450 pdp11-*)
1451 os=-none
1452 ;;
1453 *-dec | vax-*)

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

1463 os=-sunos3
1464 # This also exists in the configure program, but was not the
1465 # default.
1466 # os=-sunos4
1467 ;;
1468 m68*-cisco)
1469 os=-aout
1470 ;;
1471 mep-*)
1472 os=-elf
1473 ;;
1374 mips*-cisco)
1375 os=-elf
1376 ;;
1377 mips*-*)
1378 os=-elf
1379 ;;
1380 or32-*)
1381 os=-coff
1382 ;;
1383 *-tti) # must be before sparc entry or we get the wrong os.
1384 os=-sysv3
1385 ;;
1386 sparc-* | *-sun)
1387 os=-sunos4.1.1
1388 ;;
1389 *-be)
1390 os=-beos
1391 ;;
1474 mips*-cisco)
1475 os=-elf
1476 ;;
1477 mips*-*)
1478 os=-elf
1479 ;;
1480 or32-*)
1481 os=-coff
1482 ;;
1483 *-tti) # must be before sparc entry or we get the wrong os.
1484 os=-sysv3
1485 ;;
1486 sparc-* | *-sun)
1487 os=-sunos4.1.1
1488 ;;
1489 *-be)
1490 os=-beos
1491 ;;
1492 *-haiku)
1493 os=-haiku
1494 ;;
1392 *-ibm)
1393 os=-aix
1394 ;;
1395 *-knuth)
1396 os=-mmixware
1397 ;;
1398 *-wec)
1399 os=-proelf

--- 171 unchanged lines hidden ---
1495 *-ibm)
1496 os=-aix
1497 ;;
1498 *-knuth)
1499 os=-mmixware
1500 ;;
1501 *-wec)
1502 os=-proelf

--- 171 unchanged lines hidden ---