annotate config.sub @ 158:494b0b89df80 default tip

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