config.sub revision 1.1 1 1.1 tron #! /bin/sh
2 1.1 tron # Configuration validation subroutine script.
3 1.1 tron # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 1.1 tron # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
5 1.1 tron # Inc.
6 1.1 tron
7 1.1 tron timestamp='2006-09-20'
8 1.1 tron
9 1.1 tron # This file is (in principle) common to ALL GNU software.
10 1.1 tron # The presence of a machine in this file suggests that SOME GNU software
11 1.1 tron # can handle that machine. It does not imply ALL GNU software can.
12 1.1 tron #
13 1.1 tron # This file is free software; you can redistribute it and/or modify
14 1.1 tron # it under the terms of the GNU General Public License as published by
15 1.1 tron # the Free Software Foundation; either version 2 of the License, or
16 1.1 tron # (at your option) any later version.
17 1.1 tron #
18 1.1 tron # This program is distributed in the hope that it will be useful,
19 1.1 tron # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 1.1 tron # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 1.1 tron # GNU General Public License for more details.
22 1.1 tron #
23 1.1 tron # You should have received a copy of the GNU General Public License
24 1.1 tron # along with this program; if not, write to the Free Software
25 1.1 tron # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26 1.1 tron # 02110-1301, USA.
27 1.1 tron #
28 1.1 tron # As a special exception to the GNU General Public License, if you
29 1.1 tron # distribute this file as part of a program that contains a
30 1.1 tron # configuration script generated by Autoconf, you may include it under
31 1.1 tron # the same distribution terms that you use for the rest of that program.
32 1.1 tron
33 1.1 tron
34 1.1 tron # Please send patches to <config-patches (at] gnu.org>. Submit a context
35 1.1 tron # diff and a properly formatted ChangeLog entry.
36 1.1 tron #
37 1.1 tron # Configuration subroutine to validate and canonicalize a configuration type.
38 1.1 tron # Supply the specified configuration type as an argument.
39 1.1 tron # If it is invalid, we print an error message on stderr and exit with code 1.
40 1.1 tron # Otherwise, we print the canonical config type on stdout and succeed.
41 1.1 tron
42 1.1 tron # This file is supposed to be the same for all GNU packages
43 1.1 tron # and recognize all the CPU types, system types and aliases
44 1.1 tron # that are meaningful with *any* GNU software.
45 1.1 tron # Each package is responsible for reporting which valid configurations
46 1.1 tron # it does not support. The user should be able to distinguish
47 1.1 tron # a failure to support a valid configuration from a meaningless
48 1.1 tron # configuration.
49 1.1 tron
50 1.1 tron # The goal of this file is to map all the various variations of a given
51 1.1 tron # machine specification into a single specification in the form:
52 1.1 tron # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
53 1.1 tron # or in some cases, the newer four-part form:
54 1.1 tron # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
55 1.1 tron # It is wrong to echo any other type of specification.
56 1.1 tron
57 1.1 tron me=`echo "$0" | sed -e 's,.*/,,'`
58 1.1 tron
59 1.1 tron usage="\
60 1.1 tron Usage: $0 [OPTION] CPU-MFR-OPSYS
61 1.1 tron $0 [OPTION] ALIAS
62 1.1 tron
63 1.1 tron Canonicalize a configuration name.
64 1.1 tron
65 1.1 tron Operation modes:
66 1.1 tron -h, --help print this help, then exit
67 1.1 tron -t, --time-stamp print date of last modification, then exit
68 1.1 tron -v, --version print version number, then exit
69 1.1 tron
70 1.1 tron Report bugs and patches to <config-patches (at] gnu.org>."
71 1.1 tron
72 1.1 tron version="\
73 1.1 tron GNU config.sub ($timestamp)
74 1.1 tron
75 1.1 tron Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
76 1.1 tron Free Software Foundation, Inc.
77 1.1 tron
78 1.1 tron This is free software; see the source for copying conditions. There is NO
79 1.1 tron warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
80 1.1 tron
81 1.1 tron help="
82 1.1 tron Try \`$me --help' for more information."
83 1.1 tron
84 1.1 tron # Parse command line
85 1.1 tron while test $# -gt 0 ; do
86 1.1 tron case $1 in
87 1.1 tron --time-stamp | --time* | -t )
88 1.1 tron echo "$timestamp" ; exit ;;
89 1.1 tron --version | -v )
90 1.1 tron echo "$version" ; exit ;;
91 1.1 tron --help | --h* | -h )
92 1.1 tron echo "$usage"; exit ;;
93 1.1 tron -- ) # Stop option processing
94 1.1 tron shift; break ;;
95 1.1 tron - ) # Use stdin as input.
96 1.1 tron break ;;
97 1.1 tron -* )
98 1.1 tron echo "$me: invalid option $1$help"
99 1.1 tron exit 1 ;;
100 1.1 tron
101 1.1 tron *local*)
102 1.1 tron # First pass through any local machine types.
103 1.1 tron echo $1
104 1.1 tron exit ;;
105 1.1 tron
106 1.1 tron * )
107 1.1 tron break ;;
108 1.1 tron esac
109 1.1 tron done
110 1.1 tron
111 1.1 tron case $# in
112 1.1 tron 0) echo "$me: missing argument$help" >&2
113 1.1 tron exit 1;;
114 1.1 tron 1) ;;
115 1.1 tron *) echo "$me: too many arguments$help" >&2
116 1.1 tron exit 1;;
117 1.1 tron esac
118 1.1 tron
119 1.1 tron # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
120 1.1 tron # Here we must recognize all the valid KERNEL-OS combinations.
121 1.1 tron maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122 1.1 tron case $maybe_os in
123 1.1 tron nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124 1.1 tron uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
125 1.1 tron storm-chaos* | os2-emx* | rtmk-nova*)
126 1.1 tron os=-$maybe_os
127 1.1 tron basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128 1.1 tron ;;
129 1.1 tron *)
130 1.1 tron basic_machine=`echo $1 | sed 's/-[^-]*$//'`
131 1.1 tron if [ $basic_machine != $1 ]
132 1.1 tron then os=`echo $1 | sed 's/.*-/-/'`
133 1.1 tron else os=; fi
134 1.1 tron ;;
135 1.1 tron esac
136 1.1 tron
137 1.1 tron ### Let's recognize common machines as not being operating systems so
138 1.1 tron ### that things like config.sub decstation-3100 work. We also
139 1.1 tron ### recognize some manufacturers as not being operating systems, so we
140 1.1 tron ### can provide default operating systems below.
141 1.1 tron case $os in
142 1.1 tron -sun*os*)
143 1.1 tron # Prevent following clause from handling this invalid input.
144 1.1 tron ;;
145 1.1 tron -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
146 1.1 tron -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
147 1.1 tron -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
148 1.1 tron -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149 1.1 tron -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150 1.1 tron -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151 1.1 tron -apple | -axis | -knuth | -cray)
152 1.1 tron os=
153 1.1 tron basic_machine=$1
154 1.1 tron ;;
155 1.1 tron -sim | -cisco | -oki | -wec | -winbond)
156 1.1 tron os=
157 1.1 tron basic_machine=$1
158 1.1 tron ;;
159 1.1 tron -scout)
160 1.1 tron ;;
161 1.1 tron -wrs)
162 1.1 tron os=-vxworks
163 1.1 tron basic_machine=$1
164 1.1 tron ;;
165 1.1 tron -chorusos*)
166 1.1 tron os=-chorusos
167 1.1 tron basic_machine=$1
168 1.1 tron ;;
169 1.1 tron -chorusrdb)
170 1.1 tron os=-chorusrdb
171 1.1 tron basic_machine=$1
172 1.1 tron ;;
173 1.1 tron -hiux*)
174 1.1 tron os=-hiuxwe2
175 1.1 tron ;;
176 1.1 tron -sco6)
177 1.1 tron os=-sco5v6
178 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
179 1.1 tron ;;
180 1.1 tron -sco5)
181 1.1 tron os=-sco3.2v5
182 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
183 1.1 tron ;;
184 1.1 tron -sco4)
185 1.1 tron os=-sco3.2v4
186 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
187 1.1 tron ;;
188 1.1 tron -sco3.2.[4-9]*)
189 1.1 tron os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
190 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
191 1.1 tron ;;
192 1.1 tron -sco3.2v[4-9]*)
193 1.1 tron # Don't forget version if it is 3.2v4 or newer.
194 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
195 1.1 tron ;;
196 1.1 tron -sco5v6*)
197 1.1 tron # Don't forget version if it is 3.2v4 or newer.
198 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
199 1.1 tron ;;
200 1.1 tron -sco*)
201 1.1 tron os=-sco3.2v2
202 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
203 1.1 tron ;;
204 1.1 tron -udk*)
205 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
206 1.1 tron ;;
207 1.1 tron -isc)
208 1.1 tron os=-isc2.2
209 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
210 1.1 tron ;;
211 1.1 tron -clix*)
212 1.1 tron basic_machine=clipper-intergraph
213 1.1 tron ;;
214 1.1 tron -isc*)
215 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
216 1.1 tron ;;
217 1.1 tron -lynx*)
218 1.1 tron os=-lynxos
219 1.1 tron ;;
220 1.1 tron -ptx*)
221 1.1 tron basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
222 1.1 tron ;;
223 1.1 tron -windowsnt*)
224 1.1 tron os=`echo $os | sed -e 's/windowsnt/winnt/'`
225 1.1 tron ;;
226 1.1 tron -psos*)
227 1.1 tron os=-psos
228 1.1 tron ;;
229 1.1 tron -mint | -mint[0-9]*)
230 1.1 tron basic_machine=m68k-atari
231 1.1 tron os=-mint
232 1.1 tron ;;
233 1.1 tron esac
234 1.1 tron
235 1.1 tron # Decode aliases for certain CPU-COMPANY combinations.
236 1.1 tron case $basic_machine in
237 1.1 tron # Recognize the basic CPU types without company name.
238 1.1 tron # Some are omitted here because they have special meanings below.
239 1.1 tron 1750a | 580 \
240 1.1 tron | a29k \
241 1.1 tron | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242 1.1 tron | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243 1.1 tron | am33_2.0 \
244 1.1 tron | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
245 1.1 tron | bfin \
246 1.1 tron | c4x | clipper \
247 1.1 tron | d10v | d30v | dlx | dsp16xx \
248 1.1 tron | fr30 | frv \
249 1.1 tron | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250 1.1 tron | i370 | i860 | i960 | ia64 \
251 1.1 tron | ip2k | iq2000 \
252 1.1 tron | m32c | m32r | m32rle | m68000 | m68k | m88k \
253 1.1 tron | maxq | mb | microblaze | mcore \
254 1.1 tron | mips | mipsbe | mipseb | mipsel | mipsle \
255 1.1 tron | mips16 \
256 1.1 tron | mips64 | mips64el \
257 1.1 tron | mips64vr | mips64vrel \
258 1.1 tron | mips64orion | mips64orionel \
259 1.1 tron | mips64vr4100 | mips64vr4100el \
260 1.1 tron | mips64vr4300 | mips64vr4300el \
261 1.1 tron | mips64vr5000 | mips64vr5000el \
262 1.1 tron | mips64vr5900 | mips64vr5900el \
263 1.1 tron | mipsisa32 | mipsisa32el \
264 1.1 tron | mipsisa32r2 | mipsisa32r2el \
265 1.1 tron | mipsisa64 | mipsisa64el \
266 1.1 tron | mipsisa64r2 | mipsisa64r2el \
267 1.1 tron | mipsisa64sb1 | mipsisa64sb1el \
268 1.1 tron | mipsisa64sr71k | mipsisa64sr71kel \
269 1.1 tron | mipstx39 | mipstx39el \
270 1.1 tron | mn10200 | mn10300 \
271 1.1 tron | mt \
272 1.1 tron | msp430 \
273 1.1 tron | nios | nios2 \
274 1.1 tron | ns16k | ns32k \
275 1.1 tron | or32 \
276 1.1 tron | pdp10 | pdp11 | pj | pjl \
277 1.1 tron | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278 1.1 tron | pyramid \
279 1.1 tron | score \
280 1.1 tron | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281 1.1 tron | sh64 | sh64le \
282 1.1 tron | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283 1.1 tron | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284 1.1 tron | spu | strongarm \
285 1.1 tron | tahoe | thumb | tic4x | tic80 | tron \
286 1.1 tron | v850 | v850e \
287 1.1 tron | we32k \
288 1.1 tron | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289 1.1 tron | z8k)
290 1.1 tron basic_machine=$basic_machine-unknown
291 1.1 tron ;;
292 1.1 tron m6811 | m68hc11 | m6812 | m68hc12)
293 1.1 tron # Motorola 68HC11/12.
294 1.1 tron basic_machine=$basic_machine-unknown
295 1.1 tron os=-none
296 1.1 tron ;;
297 1.1 tron m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
298 1.1 tron ;;
299 1.1 tron ms1)
300 1.1 tron basic_machine=mt-unknown
301 1.1 tron ;;
302 1.1 tron
303 1.1 tron # We use `pc' rather than `unknown'
304 1.1 tron # because (1) that's what they normally are, and
305 1.1 tron # (2) the word "unknown" tends to confuse beginning users.
306 1.1 tron i*86 | x86_64)
307 1.1 tron basic_machine=$basic_machine-pc
308 1.1 tron ;;
309 1.1 tron # Object if more than one company name word.
310 1.1 tron *-*-*)
311 1.1 tron echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
312 1.1 tron exit 1
313 1.1 tron ;;
314 1.1 tron # Recognize the basic CPU types with company name.
315 1.1 tron 580-* \
316 1.1 tron | a29k-* \
317 1.1 tron | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
318 1.1 tron | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
319 1.1 tron | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
320 1.1 tron | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
321 1.1 tron | avr-* | avr32-* \
322 1.1 tron | bfin-* | bs2000-* \
323 1.1 tron | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324 1.1 tron | clipper-* | craynv-* | cydra-* \
325 1.1 tron | d10v-* | d30v-* | dlx-* \
326 1.1 tron | elxsi-* \
327 1.1 tron | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
328 1.1 tron | h8300-* | h8500-* \
329 1.1 tron | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330 1.1 tron | i*86-* | i860-* | i960-* | ia64-* \
331 1.1 tron | ip2k-* | iq2000-* \
332 1.1 tron | m32c-* | m32r-* | m32rle-* \
333 1.1 tron | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334 1.1 tron | m88110-* | m88k-* | maxq-* | mcore-* \
335 1.1 tron | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336 1.1 tron | mips16-* \
337 1.1 tron | mips64-* | mips64el-* \
338 1.1 tron | mips64vr-* | mips64vrel-* \
339 1.1 tron | mips64orion-* | mips64orionel-* \
340 1.1 tron | mips64vr4100-* | mips64vr4100el-* \
341 1.1 tron | mips64vr4300-* | mips64vr4300el-* \
342 1.1 tron | mips64vr5000-* | mips64vr5000el-* \
343 1.1 tron | mips64vr5900-* | mips64vr5900el-* \
344 1.1 tron | mipsisa32-* | mipsisa32el-* \
345 1.1 tron | mipsisa32r2-* | mipsisa32r2el-* \
346 1.1 tron | mipsisa64-* | mipsisa64el-* \
347 1.1 tron | mipsisa64r2-* | mipsisa64r2el-* \
348 1.1 tron | mipsisa64sb1-* | mipsisa64sb1el-* \
349 1.1 tron | mipsisa64sr71k-* | mipsisa64sr71kel-* \
350 1.1 tron | mipstx39-* | mipstx39el-* \
351 1.1 tron | mmix-* \
352 1.1 tron | mt-* \
353 1.1 tron | msp430-* \
354 1.1 tron | nios-* | nios2-* \
355 1.1 tron | none-* | np1-* | ns16k-* | ns32k-* \
356 1.1 tron | orion-* \
357 1.1 tron | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358 1.1 tron | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359 1.1 tron | pyramid-* \
360 1.1 tron | romp-* | rs6000-* \
361 1.1 tron | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362 1.1 tron | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363 1.1 tron | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364 1.1 tron | sparclite-* \
365 1.1 tron | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366 1.1 tron | tahoe-* | thumb-* \
367 1.1 tron | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
368 1.1 tron | tron-* \
369 1.1 tron | v850-* | v850e-* | vax-* \
370 1.1 tron | we32k-* \
371 1.1 tron | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372 1.1 tron | xstormy16-* | xtensa-* \
373 1.1 tron | ymp-* \
374 1.1 tron | z8k-*)
375 1.1 tron ;;
376 1.1 tron # Recognize the various machine names and aliases which stand
377 1.1 tron # for a CPU type and a company and sometimes even an OS.
378 1.1 tron 386bsd)
379 1.1 tron basic_machine=i386-unknown
380 1.1 tron os=-bsd
381 1.1 tron ;;
382 1.1 tron 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
383 1.1 tron basic_machine=m68000-att
384 1.1 tron ;;
385 1.1 tron 3b*)
386 1.1 tron basic_machine=we32k-att
387 1.1 tron ;;
388 1.1 tron a29khif)
389 1.1 tron basic_machine=a29k-amd
390 1.1 tron os=-udi
391 1.1 tron ;;
392 1.1 tron abacus)
393 1.1 tron basic_machine=abacus-unknown
394 1.1 tron ;;
395 1.1 tron adobe68k)
396 1.1 tron basic_machine=m68010-adobe
397 1.1 tron os=-scout
398 1.1 tron ;;
399 1.1 tron alliant | fx80)
400 1.1 tron basic_machine=fx80-alliant
401 1.1 tron ;;
402 1.1 tron altos | altos3068)
403 1.1 tron basic_machine=m68k-altos
404 1.1 tron ;;
405 1.1 tron am29k)
406 1.1 tron basic_machine=a29k-none
407 1.1 tron os=-bsd
408 1.1 tron ;;
409 1.1 tron amd64)
410 1.1 tron basic_machine=x86_64-pc
411 1.1 tron ;;
412 1.1 tron amd64-*)
413 1.1 tron basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
414 1.1 tron ;;
415 1.1 tron amdahl)
416 1.1 tron basic_machine=580-amdahl
417 1.1 tron os=-sysv
418 1.1 tron ;;
419 1.1 tron amiga | amiga-*)
420 1.1 tron basic_machine=m68k-unknown
421 1.1 tron ;;
422 1.1 tron amigaos | amigados)
423 1.1 tron basic_machine=m68k-unknown
424 1.1 tron os=-amigaos
425 1.1 tron ;;
426 1.1 tron amigaunix | amix)
427 1.1 tron basic_machine=m68k-unknown
428 1.1 tron os=-sysv4
429 1.1 tron ;;
430 1.1 tron apollo68)
431 1.1 tron basic_machine=m68k-apollo
432 1.1 tron os=-sysv
433 1.1 tron ;;
434 1.1 tron apollo68bsd)
435 1.1 tron basic_machine=m68k-apollo
436 1.1 tron os=-bsd
437 1.1 tron ;;
438 1.1 tron aux)
439 1.1 tron basic_machine=m68k-apple
440 1.1 tron os=-aux
441 1.1 tron ;;
442 1.1 tron balance)
443 1.1 tron basic_machine=ns32k-sequent
444 1.1 tron os=-dynix
445 1.1 tron ;;
446 1.1 tron c90)
447 1.1 tron basic_machine=c90-cray
448 1.1 tron os=-unicos
449 1.1 tron ;;
450 1.1 tron convex-c1)
451 1.1 tron basic_machine=c1-convex
452 1.1 tron os=-bsd
453 1.1 tron ;;
454 1.1 tron convex-c2)
455 1.1 tron basic_machine=c2-convex
456 1.1 tron os=-bsd
457 1.1 tron ;;
458 1.1 tron convex-c32)
459 1.1 tron basic_machine=c32-convex
460 1.1 tron os=-bsd
461 1.1 tron ;;
462 1.1 tron convex-c34)
463 1.1 tron basic_machine=c34-convex
464 1.1 tron os=-bsd
465 1.1 tron ;;
466 1.1 tron convex-c38)
467 1.1 tron basic_machine=c38-convex
468 1.1 tron os=-bsd
469 1.1 tron ;;
470 1.1 tron cray | j90)
471 1.1 tron basic_machine=j90-cray
472 1.1 tron os=-unicos
473 1.1 tron ;;
474 1.1 tron craynv)
475 1.1 tron basic_machine=craynv-cray
476 1.1 tron os=-unicosmp
477 1.1 tron ;;
478 1.1 tron cr16c)
479 1.1 tron basic_machine=cr16c-unknown
480 1.1 tron os=-elf
481 1.1 tron ;;
482 1.1 tron crds | unos)
483 1.1 tron basic_machine=m68k-crds
484 1.1 tron ;;
485 1.1 tron crisv32 | crisv32-* | etraxfs*)
486 1.1 tron basic_machine=crisv32-axis
487 1.1 tron ;;
488 1.1 tron cris | cris-* | etrax*)
489 1.1 tron basic_machine=cris-axis
490 1.1 tron ;;
491 1.1 tron crx)
492 1.1 tron basic_machine=crx-unknown
493 1.1 tron os=-elf
494 1.1 tron ;;
495 1.1 tron da30 | da30-*)
496 1.1 tron basic_machine=m68k-da30
497 1.1 tron ;;
498 1.1 tron decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
499 1.1 tron basic_machine=mips-dec
500 1.1 tron ;;
501 1.1 tron decsystem10* | dec10*)
502 1.1 tron basic_machine=pdp10-dec
503 1.1 tron os=-tops10
504 1.1 tron ;;
505 1.1 tron decsystem20* | dec20*)
506 1.1 tron basic_machine=pdp10-dec
507 1.1 tron os=-tops20
508 1.1 tron ;;
509 1.1 tron delta | 3300 | motorola-3300 | motorola-delta \
510 1.1 tron | 3300-motorola | delta-motorola)
511 1.1 tron basic_machine=m68k-motorola
512 1.1 tron ;;
513 1.1 tron delta88)
514 1.1 tron basic_machine=m88k-motorola
515 1.1 tron os=-sysv3
516 1.1 tron ;;
517 1.1 tron djgpp)
518 1.1 tron basic_machine=i586-pc
519 1.1 tron os=-msdosdjgpp
520 1.1 tron ;;
521 1.1 tron dpx20 | dpx20-*)
522 1.1 tron basic_machine=rs6000-bull
523 1.1 tron os=-bosx
524 1.1 tron ;;
525 1.1 tron dpx2* | dpx2*-bull)
526 1.1 tron basic_machine=m68k-bull
527 1.1 tron os=-sysv3
528 1.1 tron ;;
529 1.1 tron ebmon29k)
530 1.1 tron basic_machine=a29k-amd
531 1.1 tron os=-ebmon
532 1.1 tron ;;
533 1.1 tron elxsi)
534 1.1 tron basic_machine=elxsi-elxsi
535 1.1 tron os=-bsd
536 1.1 tron ;;
537 1.1 tron encore | umax | mmax)
538 1.1 tron basic_machine=ns32k-encore
539 1.1 tron ;;
540 1.1 tron es1800 | OSE68k | ose68k | ose | OSE)
541 1.1 tron basic_machine=m68k-ericsson
542 1.1 tron os=-ose
543 1.1 tron ;;
544 1.1 tron fx2800)
545 1.1 tron basic_machine=i860-alliant
546 1.1 tron ;;
547 1.1 tron genix)
548 1.1 tron basic_machine=ns32k-ns
549 1.1 tron ;;
550 1.1 tron gmicro)
551 1.1 tron basic_machine=tron-gmicro
552 1.1 tron os=-sysv
553 1.1 tron ;;
554 1.1 tron go32)
555 1.1 tron basic_machine=i386-pc
556 1.1 tron os=-go32
557 1.1 tron ;;
558 1.1 tron h3050r* | hiux*)
559 1.1 tron basic_machine=hppa1.1-hitachi
560 1.1 tron os=-hiuxwe2
561 1.1 tron ;;
562 1.1 tron h8300hms)
563 1.1 tron basic_machine=h8300-hitachi
564 1.1 tron os=-hms
565 1.1 tron ;;
566 1.1 tron h8300xray)
567 1.1 tron basic_machine=h8300-hitachi
568 1.1 tron os=-xray
569 1.1 tron ;;
570 1.1 tron h8500hms)
571 1.1 tron basic_machine=h8500-hitachi
572 1.1 tron os=-hms
573 1.1 tron ;;
574 1.1 tron harris)
575 1.1 tron basic_machine=m88k-harris
576 1.1 tron os=-sysv3
577 1.1 tron ;;
578 1.1 tron hp300-*)
579 1.1 tron basic_machine=m68k-hp
580 1.1 tron ;;
581 1.1 tron hp300bsd)
582 1.1 tron basic_machine=m68k-hp
583 1.1 tron os=-bsd
584 1.1 tron ;;
585 1.1 tron hp300hpux)
586 1.1 tron basic_machine=m68k-hp
587 1.1 tron os=-hpux
588 1.1 tron ;;
589 1.1 tron hp3k9[0-9][0-9] | hp9[0-9][0-9])
590 1.1 tron basic_machine=hppa1.0-hp
591 1.1 tron ;;
592 1.1 tron hp9k2[0-9][0-9] | hp9k31[0-9])
593 1.1 tron basic_machine=m68000-hp
594 1.1 tron ;;
595 1.1 tron hp9k3[2-9][0-9])
596 1.1 tron basic_machine=m68k-hp
597 1.1 tron ;;
598 1.1 tron hp9k6[0-9][0-9] | hp6[0-9][0-9])
599 1.1 tron basic_machine=hppa1.0-hp
600 1.1 tron ;;
601 1.1 tron hp9k7[0-79][0-9] | hp7[0-79][0-9])
602 1.1 tron basic_machine=hppa1.1-hp
603 1.1 tron ;;
604 1.1 tron hp9k78[0-9] | hp78[0-9])
605 1.1 tron # FIXME: really hppa2.0-hp
606 1.1 tron basic_machine=hppa1.1-hp
607 1.1 tron ;;
608 1.1 tron hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
609 1.1 tron # FIXME: really hppa2.0-hp
610 1.1 tron basic_machine=hppa1.1-hp
611 1.1 tron ;;
612 1.1 tron hp9k8[0-9][13679] | hp8[0-9][13679])
613 1.1 tron basic_machine=hppa1.1-hp
614 1.1 tron ;;
615 1.1 tron hp9k8[0-9][0-9] | hp8[0-9][0-9])
616 1.1 tron basic_machine=hppa1.0-hp
617 1.1 tron ;;
618 1.1 tron hppa-next)
619 1.1 tron os=-nextstep3
620 1.1 tron ;;
621 1.1 tron hppaosf)
622 1.1 tron basic_machine=hppa1.1-hp
623 1.1 tron os=-osf
624 1.1 tron ;;
625 1.1 tron hppro)
626 1.1 tron basic_machine=hppa1.1-hp
627 1.1 tron os=-proelf
628 1.1 tron ;;
629 1.1 tron i370-ibm* | ibm*)
630 1.1 tron basic_machine=i370-ibm
631 1.1 tron ;;
632 1.1 tron # I'm not sure what "Sysv32" means. Should this be sysv3.2?
633 1.1 tron i*86v32)
634 1.1 tron basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
635 1.1 tron os=-sysv32
636 1.1 tron ;;
637 1.1 tron i*86v4*)
638 1.1 tron basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
639 1.1 tron os=-sysv4
640 1.1 tron ;;
641 1.1 tron i*86v)
642 1.1 tron basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
643 1.1 tron os=-sysv
644 1.1 tron ;;
645 1.1 tron i*86sol2)
646 1.1 tron basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
647 1.1 tron os=-solaris2
648 1.1 tron ;;
649 1.1 tron i386mach)
650 1.1 tron basic_machine=i386-mach
651 1.1 tron os=-mach
652 1.1 tron ;;
653 1.1 tron i386-vsta | vsta)
654 1.1 tron basic_machine=i386-unknown
655 1.1 tron os=-vsta
656 1.1 tron ;;
657 1.1 tron iris | iris4d)
658 1.1 tron basic_machine=mips-sgi
659 1.1 tron case $os in
660 1.1 tron -irix*)
661 1.1 tron ;;
662 1.1 tron *)
663 1.1 tron os=-irix4
664 1.1 tron ;;
665 1.1 tron esac
666 1.1 tron ;;
667 1.1 tron isi68 | isi)
668 1.1 tron basic_machine=m68k-isi
669 1.1 tron os=-sysv
670 1.1 tron ;;
671 1.1 tron m88k-omron*)
672 1.1 tron basic_machine=m88k-omron
673 1.1 tron ;;
674 1.1 tron magnum | m3230)
675 1.1 tron basic_machine=mips-mips
676 1.1 tron os=-sysv
677 1.1 tron ;;
678 1.1 tron merlin)
679 1.1 tron basic_machine=ns32k-utek
680 1.1 tron os=-sysv
681 1.1 tron ;;
682 1.1 tron mingw32)
683 1.1 tron basic_machine=i386-pc
684 1.1 tron os=-mingw32
685 1.1 tron ;;
686 1.1 tron miniframe)
687 1.1 tron basic_machine=m68000-convergent
688 1.1 tron ;;
689 1.1 tron *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
690 1.1 tron basic_machine=m68k-atari
691 1.1 tron os=-mint
692 1.1 tron ;;
693 1.1 tron mips3*-*)
694 1.1 tron basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
695 1.1 tron ;;
696 1.1 tron mips3*)
697 1.1 tron basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
698 1.1 tron ;;
699 1.1 tron monitor)
700 1.1 tron basic_machine=m68k-rom68k
701 1.1 tron os=-coff
702 1.1 tron ;;
703 1.1 tron morphos)
704 1.1 tron basic_machine=powerpc-unknown
705 1.1 tron os=-morphos
706 1.1 tron ;;
707 1.1 tron msdos)
708 1.1 tron basic_machine=i386-pc
709 1.1 tron os=-msdos
710 1.1 tron ;;
711 1.1 tron ms1-*)
712 1.1 tron basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
713 1.1 tron ;;
714 1.1 tron mvs)
715 1.1 tron basic_machine=i370-ibm
716 1.1 tron os=-mvs
717 1.1 tron ;;
718 1.1 tron ncr3000)
719 1.1 tron basic_machine=i486-ncr
720 1.1 tron os=-sysv4
721 1.1 tron ;;
722 1.1 tron netbsd386)
723 1.1 tron basic_machine=i386-unknown
724 1.1 tron os=-netbsd
725 1.1 tron ;;
726 1.1 tron netwinder)
727 1.1 tron basic_machine=armv4l-rebel
728 1.1 tron os=-linux
729 1.1 tron ;;
730 1.1 tron news | news700 | news800 | news900)
731 1.1 tron basic_machine=m68k-sony
732 1.1 tron os=-newsos
733 1.1 tron ;;
734 1.1 tron news1000)
735 1.1 tron basic_machine=m68030-sony
736 1.1 tron os=-newsos
737 1.1 tron ;;
738 1.1 tron news-3600 | risc-news)
739 1.1 tron basic_machine=mips-sony
740 1.1 tron os=-newsos
741 1.1 tron ;;
742 1.1 tron necv70)
743 1.1 tron basic_machine=v70-nec
744 1.1 tron os=-sysv
745 1.1 tron ;;
746 1.1 tron next | m*-next )
747 1.1 tron basic_machine=m68k-next
748 1.1 tron case $os in
749 1.1 tron -nextstep* )
750 1.1 tron ;;
751 1.1 tron -ns2*)
752 1.1 tron os=-nextstep2
753 1.1 tron ;;
754 1.1 tron *)
755 1.1 tron os=-nextstep3
756 1.1 tron ;;
757 1.1 tron esac
758 1.1 tron ;;
759 1.1 tron nh3000)
760 1.1 tron basic_machine=m68k-harris
761 1.1 tron os=-cxux
762 1.1 tron ;;
763 1.1 tron nh[45]000)
764 1.1 tron basic_machine=m88k-harris
765 1.1 tron os=-cxux
766 1.1 tron ;;
767 1.1 tron nindy960)
768 1.1 tron basic_machine=i960-intel
769 1.1 tron os=-nindy
770 1.1 tron ;;
771 1.1 tron mon960)
772 1.1 tron basic_machine=i960-intel
773 1.1 tron os=-mon960
774 1.1 tron ;;
775 1.1 tron nonstopux)
776 1.1 tron basic_machine=mips-compaq
777 1.1 tron os=-nonstopux
778 1.1 tron ;;
779 1.1 tron np1)
780 1.1 tron basic_machine=np1-gould
781 1.1 tron ;;
782 1.1 tron nsr-tandem)
783 1.1 tron basic_machine=nsr-tandem
784 1.1 tron ;;
785 1.1 tron op50n-* | op60c-*)
786 1.1 tron basic_machine=hppa1.1-oki
787 1.1 tron os=-proelf
788 1.1 tron ;;
789 1.1 tron openrisc | openrisc-*)
790 1.1 tron basic_machine=or32-unknown
791 1.1 tron ;;
792 1.1 tron os400)
793 1.1 tron basic_machine=powerpc-ibm
794 1.1 tron os=-os400
795 1.1 tron ;;
796 1.1 tron OSE68000 | ose68000)
797 1.1 tron basic_machine=m68000-ericsson
798 1.1 tron os=-ose
799 1.1 tron ;;
800 1.1 tron os68k)
801 1.1 tron basic_machine=m68k-none
802 1.1 tron os=-os68k
803 1.1 tron ;;
804 1.1 tron pa-hitachi)
805 1.1 tron basic_machine=hppa1.1-hitachi
806 1.1 tron os=-hiuxwe2
807 1.1 tron ;;
808 1.1 tron paragon)
809 1.1 tron basic_machine=i860-intel
810 1.1 tron os=-osf
811 1.1 tron ;;
812 1.1 tron pbd)
813 1.1 tron basic_machine=sparc-tti
814 1.1 tron ;;
815 1.1 tron pbb)
816 1.1 tron basic_machine=m68k-tti
817 1.1 tron ;;
818 1.1 tron pc532 | pc532-*)
819 1.1 tron basic_machine=ns32k-pc532
820 1.1 tron ;;
821 1.1 tron pc98)
822 1.1 tron basic_machine=i386-pc
823 1.1 tron ;;
824 1.1 tron pc98-*)
825 1.1 tron basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
826 1.1 tron ;;
827 1.1 tron pentium | p5 | k5 | k6 | nexgen | viac3)
828 1.1 tron basic_machine=i586-pc
829 1.1 tron ;;
830 1.1 tron pentiumpro | p6 | 6x86 | athlon | athlon_*)
831 1.1 tron basic_machine=i686-pc
832 1.1 tron ;;
833 1.1 tron pentiumii | pentium2 | pentiumiii | pentium3)
834 1.1 tron basic_machine=i686-pc
835 1.1 tron ;;
836 1.1 tron pentium4)
837 1.1 tron basic_machine=i786-pc
838 1.1 tron ;;
839 1.1 tron pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
840 1.1 tron basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
841 1.1 tron ;;
842 1.1 tron pentiumpro-* | p6-* | 6x86-* | athlon-*)
843 1.1 tron basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
844 1.1 tron ;;
845 1.1 tron pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
846 1.1 tron basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
847 1.1 tron ;;
848 1.1 tron pentium4-*)
849 1.1 tron basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
850 1.1 tron ;;
851 1.1 tron pn)
852 1.1 tron basic_machine=pn-gould
853 1.1 tron ;;
854 1.1 tron power) basic_machine=power-ibm
855 1.1 tron ;;
856 1.1 tron ppc) basic_machine=powerpc-unknown
857 1.1 tron ;;
858 1.1 tron ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
859 1.1 tron ;;
860 1.1 tron ppcle | powerpclittle | ppc-le | powerpc-little)
861 1.1 tron basic_machine=powerpcle-unknown
862 1.1 tron ;;
863 1.1 tron ppcle-* | powerpclittle-*)
864 1.1 tron basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
865 1.1 tron ;;
866 1.1 tron ppc64) basic_machine=powerpc64-unknown
867 1.1 tron ;;
868 1.1 tron ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
869 1.1 tron ;;
870 1.1 tron ppc64le | powerpc64little | ppc64-le | powerpc64-little)
871 1.1 tron basic_machine=powerpc64le-unknown
872 1.1 tron ;;
873 1.1 tron ppc64le-* | powerpc64little-*)
874 1.1 tron basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
875 1.1 tron ;;
876 1.1 tron ps2)
877 1.1 tron basic_machine=i386-ibm
878 1.1 tron ;;
879 1.1 tron pw32)
880 1.1 tron basic_machine=i586-unknown
881 1.1 tron os=-pw32
882 1.1 tron ;;
883 1.1 tron rdos)
884 1.1 tron basic_machine=i386-pc
885 1.1 tron os=-rdos
886 1.1 tron ;;
887 1.1 tron rom68k)
888 1.1 tron basic_machine=m68k-rom68k
889 1.1 tron os=-coff
890 1.1 tron ;;
891 1.1 tron rm[46]00)
892 1.1 tron basic_machine=mips-siemens
893 1.1 tron ;;
894 1.1 tron rtpc | rtpc-*)
895 1.1 tron basic_machine=romp-ibm
896 1.1 tron ;;
897 1.1 tron s390 | s390-*)
898 1.1 tron basic_machine=s390-ibm
899 1.1 tron ;;
900 1.1 tron s390x | s390x-*)
901 1.1 tron basic_machine=s390x-ibm
902 1.1 tron ;;
903 1.1 tron sa29200)
904 1.1 tron basic_machine=a29k-amd
905 1.1 tron os=-udi
906 1.1 tron ;;
907 1.1 tron sb1)
908 1.1 tron basic_machine=mipsisa64sb1-unknown
909 1.1 tron ;;
910 1.1 tron sb1el)
911 1.1 tron basic_machine=mipsisa64sb1el-unknown
912 1.1 tron ;;
913 1.1 tron sde)
914 1.1 tron basic_machine=mipsisa32-sde
915 1.1 tron os=-elf
916 1.1 tron ;;
917 1.1 tron sei)
918 1.1 tron basic_machine=mips-sei
919 1.1 tron os=-seiux
920 1.1 tron ;;
921 1.1 tron sequent)
922 1.1 tron basic_machine=i386-sequent
923 1.1 tron ;;
924 1.1 tron sh)
925 1.1 tron basic_machine=sh-hitachi
926 1.1 tron os=-hms
927 1.1 tron ;;
928 1.1 tron sh64)
929 1.1 tron basic_machine=sh64-unknown
930 1.1 tron ;;
931 1.1 tron sparclite-wrs | simso-wrs)
932 1.1 tron basic_machine=sparclite-wrs
933 1.1 tron os=-vxworks
934 1.1 tron ;;
935 1.1 tron sps7)
936 1.1 tron basic_machine=m68k-bull
937 1.1 tron os=-sysv2
938 1.1 tron ;;
939 1.1 tron spur)
940 1.1 tron basic_machine=spur-unknown
941 1.1 tron ;;
942 1.1 tron st2000)
943 1.1 tron basic_machine=m68k-tandem
944 1.1 tron ;;
945 1.1 tron stratus)
946 1.1 tron basic_machine=i860-stratus
947 1.1 tron os=-sysv4
948 1.1 tron ;;
949 1.1 tron sun2)
950 1.1 tron basic_machine=m68000-sun
951 1.1 tron ;;
952 1.1 tron sun2os3)
953 1.1 tron basic_machine=m68000-sun
954 1.1 tron os=-sunos3
955 1.1 tron ;;
956 1.1 tron sun2os4)
957 1.1 tron basic_machine=m68000-sun
958 1.1 tron os=-sunos4
959 1.1 tron ;;
960 1.1 tron sun3os3)
961 1.1 tron basic_machine=m68k-sun
962 1.1 tron os=-sunos3
963 1.1 tron ;;
964 1.1 tron sun3os4)
965 1.1 tron basic_machine=m68k-sun
966 1.1 tron os=-sunos4
967 1.1 tron ;;
968 1.1 tron sun4os3)
969 1.1 tron basic_machine=sparc-sun
970 1.1 tron os=-sunos3
971 1.1 tron ;;
972 1.1 tron sun4os4)
973 1.1 tron basic_machine=sparc-sun
974 1.1 tron os=-sunos4
975 1.1 tron ;;
976 1.1 tron sun4sol2)
977 1.1 tron basic_machine=sparc-sun
978 1.1 tron os=-solaris2
979 1.1 tron ;;
980 1.1 tron sun3 | sun3-*)
981 1.1 tron basic_machine=m68k-sun
982 1.1 tron ;;
983 1.1 tron sun4)
984 1.1 tron basic_machine=sparc-sun
985 1.1 tron ;;
986 1.1 tron sun386 | sun386i | roadrunner)
987 1.1 tron basic_machine=i386-sun
988 1.1 tron ;;
989 1.1 tron sv1)
990 1.1 tron basic_machine=sv1-cray
991 1.1 tron os=-unicos
992 1.1 tron ;;
993 1.1 tron symmetry)
994 1.1 tron basic_machine=i386-sequent
995 1.1 tron os=-dynix
996 1.1 tron ;;
997 1.1 tron t3e)
998 1.1 tron basic_machine=alphaev5-cray
999 1.1 tron os=-unicos
1000 1.1 tron ;;
1001 1.1 tron t90)
1002 1.1 tron basic_machine=t90-cray
1003 1.1 tron os=-unicos
1004 1.1 tron ;;
1005 1.1 tron tic54x | c54x*)
1006 1.1 tron basic_machine=tic54x-unknown
1007 1.1 tron os=-coff
1008 1.1 tron ;;
1009 1.1 tron tic55x | c55x*)
1010 1.1 tron basic_machine=tic55x-unknown
1011 1.1 tron os=-coff
1012 1.1 tron ;;
1013 1.1 tron tic6x | c6x*)
1014 1.1 tron basic_machine=tic6x-unknown
1015 1.1 tron os=-coff
1016 1.1 tron ;;
1017 1.1 tron tx39)
1018 1.1 tron basic_machine=mipstx39-unknown
1019 1.1 tron ;;
1020 1.1 tron tx39el)
1021 1.1 tron basic_machine=mipstx39el-unknown
1022 1.1 tron ;;
1023 1.1 tron toad1)
1024 1.1 tron basic_machine=pdp10-xkl
1025 1.1 tron os=-tops20
1026 1.1 tron ;;
1027 1.1 tron tower | tower-32)
1028 1.1 tron basic_machine=m68k-ncr
1029 1.1 tron ;;
1030 1.1 tron tpf)
1031 1.1 tron basic_machine=s390x-ibm
1032 1.1 tron os=-tpf
1033 1.1 tron ;;
1034 1.1 tron udi29k)
1035 1.1 tron basic_machine=a29k-amd
1036 1.1 tron os=-udi
1037 1.1 tron ;;
1038 1.1 tron ultra3)
1039 1.1 tron basic_machine=a29k-nyu
1040 1.1 tron os=-sym1
1041 1.1 tron ;;
1042 1.1 tron v810 | necv810)
1043 1.1 tron basic_machine=v810-nec
1044 1.1 tron os=-none
1045 1.1 tron ;;
1046 1.1 tron vaxv)
1047 1.1 tron basic_machine=vax-dec
1048 1.1 tron os=-sysv
1049 1.1 tron ;;
1050 1.1 tron vms)
1051 1.1 tron basic_machine=vax-dec
1052 1.1 tron os=-vms
1053 1.1 tron ;;
1054 1.1 tron vpp*|vx|vx-*)
1055 1.1 tron basic_machine=f301-fujitsu
1056 1.1 tron ;;
1057 1.1 tron vxworks960)
1058 1.1 tron basic_machine=i960-wrs
1059 1.1 tron os=-vxworks
1060 1.1 tron ;;
1061 1.1 tron vxworks68)
1062 1.1 tron basic_machine=m68k-wrs
1063 1.1 tron os=-vxworks
1064 1.1 tron ;;
1065 1.1 tron vxworks29k)
1066 1.1 tron basic_machine=a29k-wrs
1067 1.1 tron os=-vxworks
1068 1.1 tron ;;
1069 1.1 tron w65*)
1070 1.1 tron basic_machine=w65-wdc
1071 1.1 tron os=-none
1072 1.1 tron ;;
1073 1.1 tron w89k-*)
1074 1.1 tron basic_machine=hppa1.1-winbond
1075 1.1 tron os=-proelf
1076 1.1 tron ;;
1077 1.1 tron xbox)
1078 1.1 tron basic_machine=i686-pc
1079 1.1 tron os=-mingw32
1080 1.1 tron ;;
1081 1.1 tron xps | xps100)
1082 1.1 tron basic_machine=xps100-honeywell
1083 1.1 tron ;;
1084 1.1 tron ymp)
1085 1.1 tron basic_machine=ymp-cray
1086 1.1 tron os=-unicos
1087 1.1 tron ;;
1088 1.1 tron z8k-*-coff)
1089 1.1 tron basic_machine=z8k-unknown
1090 1.1 tron os=-sim
1091 1.1 tron ;;
1092 1.1 tron none)
1093 1.1 tron basic_machine=none-none
1094 1.1 tron os=-none
1095 1.1 tron ;;
1096 1.1 tron
1097 1.1 tron # Here we handle the default manufacturer of certain CPU types. It is in
1098 1.1 tron # some cases the only manufacturer, in others, it is the most popular.
1099 1.1 tron w89k)
1100 1.1 tron basic_machine=hppa1.1-winbond
1101 1.1 tron ;;
1102 1.1 tron op50n)
1103 1.1 tron basic_machine=hppa1.1-oki
1104 1.1 tron ;;
1105 1.1 tron op60c)
1106 1.1 tron basic_machine=hppa1.1-oki
1107 1.1 tron ;;
1108 1.1 tron romp)
1109 1.1 tron basic_machine=romp-ibm
1110 1.1 tron ;;
1111 1.1 tron mmix)
1112 1.1 tron basic_machine=mmix-knuth
1113 1.1 tron ;;
1114 1.1 tron rs6000)
1115 1.1 tron basic_machine=rs6000-ibm
1116 1.1 tron ;;
1117 1.1 tron vax)
1118 1.1 tron basic_machine=vax-dec
1119 1.1 tron ;;
1120 1.1 tron pdp10)
1121 1.1 tron # there are many clones, so DEC is not a safe bet
1122 1.1 tron basic_machine=pdp10-unknown
1123 1.1 tron ;;
1124 1.1 tron pdp11)
1125 1.1 tron basic_machine=pdp11-dec
1126 1.1 tron ;;
1127 1.1 tron we32k)
1128 1.1 tron basic_machine=we32k-att
1129 1.1 tron ;;
1130 1.1 tron sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1131 1.1 tron basic_machine=sh-unknown
1132 1.1 tron ;;
1133 1.1 tron sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1134 1.1 tron basic_machine=sparc-sun
1135 1.1 tron ;;
1136 1.1 tron cydra)
1137 1.1 tron basic_machine=cydra-cydrome
1138 1.1 tron ;;
1139 1.1 tron orion)
1140 1.1 tron basic_machine=orion-highlevel
1141 1.1 tron ;;
1142 1.1 tron orion105)
1143 1.1 tron basic_machine=clipper-highlevel
1144 1.1 tron ;;
1145 1.1 tron mac | mpw | mac-mpw)
1146 1.1 tron basic_machine=m68k-apple
1147 1.1 tron ;;
1148 1.1 tron pmac | pmac-mpw)
1149 1.1 tron basic_machine=powerpc-apple
1150 1.1 tron ;;
1151 1.1 tron *-unknown)
1152 1.1 tron # Make sure to match an already-canonicalized machine name.
1153 1.1 tron ;;
1154 1.1 tron *)
1155 1.1 tron echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1156 1.1 tron exit 1
1157 1.1 tron ;;
1158 1.1 tron esac
1159 1.1 tron
1160 1.1 tron # Here we canonicalize certain aliases for manufacturers.
1161 1.1 tron case $basic_machine in
1162 1.1 tron *-digital*)
1163 1.1 tron basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1164 1.1 tron ;;
1165 1.1 tron *-commodore*)
1166 1.1 tron basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1167 1.1 tron ;;
1168 1.1 tron *)
1169 1.1 tron ;;
1170 1.1 tron esac
1171 1.1 tron
1172 1.1 tron # Decode manufacturer-specific aliases for certain operating systems.
1173 1.1 tron
1174 1.1 tron if [ x"$os" != x"" ]
1175 1.1 tron then
1176 1.1 tron case $os in
1177 1.1 tron # First match some system type aliases
1178 1.1 tron # that might get confused with valid system types.
1179 1.1 tron # -solaris* is a basic system type, with this one exception.
1180 1.1 tron -solaris1 | -solaris1.*)
1181 1.1 tron os=`echo $os | sed -e 's|solaris1|sunos4|'`
1182 1.1 tron ;;
1183 1.1 tron -solaris)
1184 1.1 tron os=-solaris2
1185 1.1 tron ;;
1186 1.1 tron -svr4*)
1187 1.1 tron os=-sysv4
1188 1.1 tron ;;
1189 1.1 tron -unixware*)
1190 1.1 tron os=-sysv4.2uw
1191 1.1 tron ;;
1192 1.1 tron -gnu/linux*)
1193 1.1 tron os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1194 1.1 tron ;;
1195 1.1 tron # First accept the basic system types.
1196 1.1 tron # The portable systems comes first.
1197 1.1 tron # Each alternative MUST END IN A *, to match a version number.
1198 1.1 tron # -sysv* is not here because it comes later, after sysvr4.
1199 1.1 tron -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1200 1.1 tron | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1201 1.1 tron | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1202 1.1 tron | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1203 1.1 tron | -aos* \
1204 1.1 tron | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1205 1.1 tron | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1206 1.1 tron | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1207 1.1 tron | -openbsd* | -solidbsd* \
1208 1.1 tron | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1209 1.1 tron | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1210 1.1 tron | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1211 1.1 tron | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1212 1.1 tron | -chorusos* | -chorusrdb* \
1213 1.1 tron | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1214 1.1 tron | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1215 1.1 tron | -uxpv* | -beos* | -mpeix* | -udk* \
1216 1.1 tron | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1217 1.1 tron | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1218 1.1 tron | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1219 1.1 tron | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1220 1.1 tron | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1221 1.1 tron | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1222 1.1 tron | -skyos* | -haiku* | -rdos* | -toppers*)
1223 1.1 tron # Remember, each alternative MUST END IN *, to match a version number.
1224 1.1 tron ;;
1225 1.1 tron -qnx*)
1226 1.1 tron case $basic_machine in
1227 1.1 tron x86-* | i*86-*)
1228 1.1 tron ;;
1229 1.1 tron *)
1230 1.1 tron os=-nto$os
1231 1.1 tron ;;
1232 1.1 tron esac
1233 1.1 tron ;;
1234 1.1 tron -nto-qnx*)
1235 1.1 tron ;;
1236 1.1 tron -nto*)
1237 1.1 tron os=`echo $os | sed -e 's|nto|nto-qnx|'`
1238 1.1 tron ;;
1239 1.1 tron -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1240 1.1 tron | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1241 1.1 tron | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1242 1.1 tron ;;
1243 1.1 tron -mac*)
1244 1.1 tron os=`echo $os | sed -e 's|mac|macos|'`
1245 1.1 tron ;;
1246 1.1 tron -linux-dietlibc)
1247 1.1 tron os=-linux-dietlibc
1248 1.1 tron ;;
1249 1.1 tron -linux*)
1250 1.1 tron os=`echo $os | sed -e 's|linux|linux-gnu|'`
1251 1.1 tron ;;
1252 1.1 tron -sunos5*)
1253 1.1 tron os=`echo $os | sed -e 's|sunos5|solaris2|'`
1254 1.1 tron ;;
1255 1.1 tron -sunos6*)
1256 1.1 tron os=`echo $os | sed -e 's|sunos6|solaris3|'`
1257 1.1 tron ;;
1258 1.1 tron -opened*)
1259 1.1 tron os=-openedition
1260 1.1 tron ;;
1261 1.1 tron -os400*)
1262 1.1 tron os=-os400
1263 1.1 tron ;;
1264 1.1 tron -wince*)
1265 1.1 tron os=-wince
1266 1.1 tron ;;
1267 1.1 tron -osfrose*)
1268 1.1 tron os=-osfrose
1269 1.1 tron ;;
1270 1.1 tron -osf*)
1271 1.1 tron os=-osf
1272 1.1 tron ;;
1273 1.1 tron -utek*)
1274 1.1 tron os=-bsd
1275 1.1 tron ;;
1276 1.1 tron -dynix*)
1277 1.1 tron os=-bsd
1278 1.1 tron ;;
1279 1.1 tron -acis*)
1280 1.1 tron os=-aos
1281 1.1 tron ;;
1282 1.1 tron -atheos*)
1283 1.1 tron os=-atheos
1284 1.1 tron ;;
1285 1.1 tron -syllable*)
1286 1.1 tron os=-syllable
1287 1.1 tron ;;
1288 1.1 tron -386bsd)
1289 1.1 tron os=-bsd
1290 1.1 tron ;;
1291 1.1 tron -ctix* | -uts*)
1292 1.1 tron os=-sysv
1293 1.1 tron ;;
1294 1.1 tron -nova*)
1295 1.1 tron os=-rtmk-nova
1296 1.1 tron ;;
1297 1.1 tron -ns2 )
1298 1.1 tron os=-nextstep2
1299 1.1 tron ;;
1300 1.1 tron -nsk*)
1301 1.1 tron os=-nsk
1302 1.1 tron ;;
1303 1.1 tron # Preserve the version number of sinix5.
1304 1.1 tron -sinix5.*)
1305 1.1 tron os=`echo $os | sed -e 's|sinix|sysv|'`
1306 1.1 tron ;;
1307 1.1 tron -sinix*)
1308 1.1 tron os=-sysv4
1309 1.1 tron ;;
1310 1.1 tron -tpf*)
1311 1.1 tron os=-tpf
1312 1.1 tron ;;
1313 1.1 tron -triton*)
1314 1.1 tron os=-sysv3
1315 1.1 tron ;;
1316 1.1 tron -oss*)
1317 1.1 tron os=-sysv3
1318 1.1 tron ;;
1319 1.1 tron -svr4)
1320 1.1 tron os=-sysv4
1321 1.1 tron ;;
1322 1.1 tron -svr3)
1323 1.1 tron os=-sysv3
1324 1.1 tron ;;
1325 1.1 tron -sysvr4)
1326 1.1 tron os=-sysv4
1327 1.1 tron ;;
1328 1.1 tron # This must come after -sysvr4.
1329 1.1 tron -sysv*)
1330 1.1 tron ;;
1331 1.1 tron -ose*)
1332 1.1 tron os=-ose
1333 1.1 tron ;;
1334 1.1 tron -es1800*)
1335 1.1 tron os=-ose
1336 1.1 tron ;;
1337 1.1 tron -xenix)
1338 1.1 tron os=-xenix
1339 1.1 tron ;;
1340 1.1 tron -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1341 1.1 tron os=-mint
1342 1.1 tron ;;
1343 1.1 tron -aros*)
1344 1.1 tron os=-aros
1345 1.1 tron ;;
1346 1.1 tron -kaos*)
1347 1.1 tron os=-kaos
1348 1.1 tron ;;
1349 1.1 tron -zvmoe)
1350 1.1 tron os=-zvmoe
1351 1.1 tron ;;
1352 1.1 tron -none)
1353 1.1 tron ;;
1354 1.1 tron *)
1355 1.1 tron # Get rid of the `-' at the beginning of $os.
1356 1.1 tron os=`echo $os | sed 's/[^-]*-//'`
1357 1.1 tron echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1358 1.1 tron exit 1
1359 1.1 tron ;;
1360 1.1 tron esac
1361 1.1 tron else
1362 1.1 tron
1363 1.1 tron # Here we handle the default operating systems that come with various machines.
1364 1.1 tron # The value should be what the vendor currently ships out the door with their
1365 1.1 tron # machine or put another way, the most popular os provided with the machine.
1366 1.1 tron
1367 1.1 tron # Note that if you're going to try to match "-MANUFACTURER" here (say,
1368 1.1 tron # "-sun"), then you have to tell the case statement up towards the top
1369 1.1 tron # that MANUFACTURER isn't an operating system. Otherwise, code above
1370 1.1 tron # will signal an error saying that MANUFACTURER isn't an operating
1371 1.1 tron # system, and we'll never get to this point.
1372 1.1 tron
1373 1.1 tron case $basic_machine in
1374 1.1 tron score-*)
1375 1.1 tron os=-elf
1376 1.1 tron ;;
1377 1.1 tron spu-*)
1378 1.1 tron os=-elf
1379 1.1 tron ;;
1380 1.1 tron *-acorn)
1381 1.1 tron os=-riscix1.2
1382 1.1 tron ;;
1383 1.1 tron arm*-rebel)
1384 1.1 tron os=-linux
1385 1.1 tron ;;
1386 1.1 tron arm*-semi)
1387 1.1 tron os=-aout
1388 1.1 tron ;;
1389 1.1 tron c4x-* | tic4x-*)
1390 1.1 tron os=-coff
1391 1.1 tron ;;
1392 1.1 tron # This must come before the *-dec entry.
1393 1.1 tron pdp10-*)
1394 1.1 tron os=-tops20
1395 1.1 tron ;;
1396 1.1 tron pdp11-*)
1397 1.1 tron os=-none
1398 1.1 tron ;;
1399 1.1 tron *-dec | vax-*)
1400 1.1 tron os=-ultrix4.2
1401 1.1 tron ;;
1402 1.1 tron m68*-apollo)
1403 1.1 tron os=-domain
1404 1.1 tron ;;
1405 1.1 tron i386-sun)
1406 1.1 tron os=-sunos4.0.2
1407 1.1 tron ;;
1408 1.1 tron m68000-sun)
1409 1.1 tron os=-sunos3
1410 1.1 tron # This also exists in the configure program, but was not the
1411 1.1 tron # default.
1412 1.1 tron # os=-sunos4
1413 1.1 tron ;;
1414 1.1 tron m68*-cisco)
1415 1.1 tron os=-aout
1416 1.1 tron ;;
1417 1.1 tron mips*-cisco)
1418 1.1 tron os=-elf
1419 1.1 tron ;;
1420 1.1 tron mips*-*)
1421 1.1 tron os=-elf
1422 1.1 tron ;;
1423 1.1 tron or32-*)
1424 1.1 tron os=-coff
1425 1.1 tron ;;
1426 1.1 tron *-tti) # must be before sparc entry or we get the wrong os.
1427 1.1 tron os=-sysv3
1428 1.1 tron ;;
1429 1.1 tron sparc-* | *-sun)
1430 1.1 tron os=-sunos4.1.1
1431 1.1 tron ;;
1432 1.1 tron *-be)
1433 1.1 tron os=-beos
1434 1.1 tron ;;
1435 1.1 tron *-haiku)
1436 1.1 tron os=-haiku
1437 1.1 tron ;;
1438 1.1 tron *-ibm)
1439 1.1 tron os=-aix
1440 1.1 tron ;;
1441 1.1 tron *-knuth)
1442 1.1 tron os=-mmixware
1443 1.1 tron ;;
1444 1.1 tron *-wec)
1445 1.1 tron os=-proelf
1446 1.1 tron ;;
1447 1.1 tron *-winbond)
1448 1.1 tron os=-proelf
1449 1.1 tron ;;
1450 1.1 tron *-oki)
1451 1.1 tron os=-proelf
1452 1.1 tron ;;
1453 1.1 tron *-hp)
1454 1.1 tron os=-hpux
1455 1.1 tron ;;
1456 1.1 tron *-hitachi)
1457 1.1 tron os=-hiux
1458 1.1 tron ;;
1459 1.1 tron i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1460 1.1 tron os=-sysv
1461 1.1 tron ;;
1462 1.1 tron *-cbm)
1463 1.1 tron os=-amigaos
1464 1.1 tron ;;
1465 1.1 tron *-dg)
1466 1.1 tron os=-dgux
1467 1.1 tron ;;
1468 1.1 tron *-dolphin)
1469 1.1 tron os=-sysv3
1470 1.1 tron ;;
1471 1.1 tron m68k-ccur)
1472 1.1 tron os=-rtu
1473 1.1 tron ;;
1474 1.1 tron m88k-omron*)
1475 1.1 tron os=-luna
1476 1.1 tron ;;
1477 1.1 tron *-next )
1478 1.1 tron os=-nextstep
1479 1.1 tron ;;
1480 1.1 tron *-sequent)
1481 1.1 tron os=-ptx
1482 1.1 tron ;;
1483 1.1 tron *-crds)
1484 1.1 tron os=-unos
1485 1.1 tron ;;
1486 1.1 tron *-ns)
1487 1.1 tron os=-genix
1488 1.1 tron ;;
1489 1.1 tron i370-*)
1490 1.1 tron os=-mvs
1491 1.1 tron ;;
1492 1.1 tron *-next)
1493 1.1 tron os=-nextstep3
1494 1.1 tron ;;
1495 1.1 tron *-gould)
1496 1.1 tron os=-sysv
1497 1.1 tron ;;
1498 1.1 tron *-highlevel)
1499 1.1 tron os=-bsd
1500 1.1 tron ;;
1501 1.1 tron *-encore)
1502 1.1 tron os=-bsd
1503 1.1 tron ;;
1504 1.1 tron *-sgi)
1505 1.1 tron os=-irix
1506 1.1 tron ;;
1507 1.1 tron *-siemens)
1508 1.1 tron os=-sysv4
1509 1.1 tron ;;
1510 1.1 tron *-masscomp)
1511 1.1 tron os=-rtu
1512 1.1 tron ;;
1513 1.1 tron f30[01]-fujitsu | f700-fujitsu)
1514 1.1 tron os=-uxpv
1515 1.1 tron ;;
1516 1.1 tron *-rom68k)
1517 1.1 tron os=-coff
1518 1.1 tron ;;
1519 1.1 tron *-*bug)
1520 1.1 tron os=-coff
1521 1.1 tron ;;
1522 1.1 tron *-apple)
1523 1.1 tron os=-macos
1524 1.1 tron ;;
1525 1.1 tron *-atari*)
1526 1.1 tron os=-mint
1527 1.1 tron ;;
1528 1.1 tron *)
1529 1.1 tron os=-none
1530 1.1 tron ;;
1531 1.1 tron esac
1532 1.1 tron fi
1533 1.1 tron
1534 1.1 tron # Here we handle the case where we know the os, and the CPU type, but not the
1535 1.1 tron # manufacturer. We pick the logical manufacturer.
1536 1.1 tron vendor=unknown
1537 1.1 tron case $basic_machine in
1538 1.1 tron *-unknown)
1539 1.1 tron case $os in
1540 1.1 tron -riscix*)
1541 1.1 tron vendor=acorn
1542 1.1 tron ;;
1543 1.1 tron -sunos*)
1544 1.1 tron vendor=sun
1545 1.1 tron ;;
1546 1.1 tron -aix*)
1547 1.1 tron vendor=ibm
1548 1.1 tron ;;
1549 1.1 tron -beos*)
1550 1.1 tron vendor=be
1551 1.1 tron ;;
1552 1.1 tron -hpux*)
1553 1.1 tron vendor=hp
1554 1.1 tron ;;
1555 1.1 tron -mpeix*)
1556 1.1 tron vendor=hp
1557 1.1 tron ;;
1558 1.1 tron -hiux*)
1559 1.1 tron vendor=hitachi
1560 1.1 tron ;;
1561 1.1 tron -unos*)
1562 1.1 tron vendor=crds
1563 1.1 tron ;;
1564 1.1 tron -dgux*)
1565 1.1 tron vendor=dg
1566 1.1 tron ;;
1567 1.1 tron -luna*)
1568 1.1 tron vendor=omron
1569 1.1 tron ;;
1570 1.1 tron -genix*)
1571 1.1 tron vendor=ns
1572 1.1 tron ;;
1573 1.1 tron -mvs* | -opened*)
1574 1.1 tron vendor=ibm
1575 1.1 tron ;;
1576 1.1 tron -os400*)
1577 1.1 tron vendor=ibm
1578 1.1 tron ;;
1579 1.1 tron -ptx*)
1580 1.1 tron vendor=sequent
1581 1.1 tron ;;
1582 1.1 tron -tpf*)
1583 1.1 tron vendor=ibm
1584 1.1 tron ;;
1585 1.1 tron -vxsim* | -vxworks* | -windiss*)
1586 1.1 tron vendor=wrs
1587 1.1 tron ;;
1588 1.1 tron -aux*)
1589 1.1 tron vendor=apple
1590 1.1 tron ;;
1591 1.1 tron -hms*)
1592 1.1 tron vendor=hitachi
1593 1.1 tron ;;
1594 1.1 tron -mpw* | -macos*)
1595 1.1 tron vendor=apple
1596 1.1 tron ;;
1597 1.1 tron -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1598 1.1 tron vendor=atari
1599 1.1 tron ;;
1600 1.1 tron -vos*)
1601 1.1 tron vendor=stratus
1602 1.1 tron ;;
1603 1.1 tron esac
1604 1.1 tron basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1605 1.1 tron ;;
1606 1.1 tron esac
1607 1.1 tron
1608 1.1 tron echo $basic_machine$os
1609 1.1 tron exit
1610 1.1 tron
1611 1.1 tron # Local variables:
1612 1.1 tron # eval: (add-hook 'write-file-hooks 'time-stamp)
1613 1.1 tron # time-stamp-start: "timestamp='"
1614 1.1 tron # time-stamp-format: "%:y-%02m-%02d"
1615 1.1 tron # time-stamp-end: "'"
1616 1.1 tron # End:
1617