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