annotate config.sub @ 265:68fbca173508 2.6

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