annotate config.sub @ 438:22bbb716dea6 3.0

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