config.sub (225825) | config.sub (255670) |
---|---|
1#! /bin/sh 2# Configuration validation subroutine script. 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | 1#! /bin/sh 2# Configuration validation subroutine script. 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
5# 2011 Free Software Foundation, Inc. | 5# 2011, 2012, 2013 Free Software Foundation, Inc. |
6 | 6 |
7timestamp='2011-01-01' | 7timestamp='2012-12-23' |
8 9# This file is (in principle) common to ALL GNU software. 10# The presence of a machine in this file suggests that SOME GNU software 11# can handle that machine. It does not imply ALL GNU software can. 12# 13# This file is free software; you can redistribute it and/or modify 14# it under the terms of the GNU General Public License as published by 15# the Free Software Foundation; either version 2 of the License, or 16# (at your option) any later version. 17# 18# This program is distributed in the hope that it will be useful, 19# but WITHOUT ANY WARRANTY; without even the implied warranty of 20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21# GNU General Public License for more details. 22# 23# You should have received a copy of the GNU General Public License | 8 9# This file is (in principle) common to ALL GNU software. 10# The presence of a machine in this file suggests that SOME GNU software 11# can handle that machine. It does not imply ALL GNU software can. 12# 13# This file is free software; you can redistribute it and/or modify 14# it under the terms of the GNU General Public License as published by 15# the Free Software Foundation; either version 2 of the License, or 16# (at your option) any later version. 17# 18# This program is distributed in the hope that it will be useful, 19# but WITHOUT ANY WARRANTY; without even the implied warranty of 20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21# GNU General Public License for more details. 22# 23# You should have received a copy of the GNU General Public License |
24# along with this program; if not, write to the Free Software 25# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 26# 02110-1301, USA. | 24# along with this program; if not, see <http://www.gnu.org/licenses/>. |
27# 28# As a special exception to the GNU General Public License, if you 29# distribute this file as part of a program that contains a 30# configuration script generated by Autoconf, you may include it under 31# the same distribution terms that you use for the rest of that program. 32 33 34# Please send patches to <config-patches@gnu.org>. Submit a context --- 36 unchanged lines hidden (view full) --- 71 -v, --version print version number, then exit 72 73Report bugs and patches to <config-patches@gnu.org>." 74 75version="\ 76GNU config.sub ($timestamp) 77 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 25# 26# As a special exception to the GNU General Public License, if you 27# distribute this file as part of a program that contains a 28# configuration script generated by Autoconf, you may include it under 29# the same distribution terms that you use for the rest of that program. 30 31 32# Please send patches to <config-patches@gnu.org>. Submit a context --- 36 unchanged lines hidden (view full) --- 69 -v, --version print version number, then exit 70 71Report bugs and patches to <config-patches@gnu.org>." 72 73version="\ 74GNU config.sub ($timestamp) 75 76Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free 80Software Foundation, Inc. | 772001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 782012, 2013 Free Software Foundation, Inc. |
81 82This is free software; see the source for copying conditions. There is NO 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 84 85help=" 86Try \`$me --help' for more information." 87 88# Parse command line --- 31 unchanged lines hidden (view full) --- 120 exit 1;; 121esac 122 123# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 124# Here we must recognize all the valid KERNEL-OS combinations. 125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 126case $maybe_os in 127 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | 79 80This is free software; see the source for copying conditions. There is NO 81warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 82 83help=" 84Try \`$me --help' for more information." 85 86# Parse command line --- 31 unchanged lines hidden (view full) --- 118 exit 1;; 119esac 120 121# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 122# Here we must recognize all the valid KERNEL-OS combinations. 123maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 124case $maybe_os in 125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
128 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | 126 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
129 knetbsd*-gnu* | netbsd*-gnu* | \ 130 kopensolaris*-gnu* | \ 131 storm-chaos* | os2-emx* | rtmk-nova*) 132 os=-$maybe_os 133 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 134 ;; | 127 knetbsd*-gnu* | netbsd*-gnu* | \ 128 kopensolaris*-gnu* | \ 129 storm-chaos* | os2-emx* | rtmk-nova*) 130 os=-$maybe_os 131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 132 ;; |
133 android-linux) 134 os=-linux-android 135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown 136 ;; |
|
135 *) 136 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 137 if [ $basic_machine != $1 ] 138 then os=`echo $1 | sed 's/.*-/-/'` 139 else os=; fi 140 ;; 141esac 142 --- 6 unchanged lines hidden (view full) --- 149 # Prevent following clause from handling this invalid input. 150 ;; 151 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 152 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 153 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 154 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 155 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 156 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | 137 *) 138 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 139 if [ $basic_machine != $1 ] 140 then os=`echo $1 | sed 's/.*-/-/'` 141 else os=; fi 142 ;; 143esac 144 --- 6 unchanged lines hidden (view full) --- 151 # Prevent following clause from handling this invalid input. 152 ;; 153 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 154 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 155 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 156 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 157 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 158 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
157 -apple | -axis | -knuth | -cray | -microblaze) | 159 -apple | -axis | -knuth | -cray | -microblaze*) |
158 os= 159 basic_machine=$1 160 ;; | 160 os= 161 basic_machine=$1 162 ;; |
161 -bluegene*) 162 os=-cnk | 163 -bluegene*) 164 os=-cnk |
163 ;; 164 -sim | -cisco | -oki | -wec | -winbond) 165 os= 166 basic_machine=$1 167 ;; 168 -scout) 169 ;; 170 -wrs) 171 os=-vxworks 172 basic_machine=$1 173 ;; 174 -chorusos*) 175 os=-chorusos 176 basic_machine=$1 177 ;; | 165 ;; 166 -sim | -cisco | -oki | -wec | -winbond) 167 os= 168 basic_machine=$1 169 ;; 170 -scout) 171 ;; 172 -wrs) 173 os=-vxworks 174 basic_machine=$1 175 ;; 176 -chorusos*) 177 os=-chorusos 178 basic_machine=$1 179 ;; |
178 -chorusrdb) 179 os=-chorusrdb | 180 -chorusrdb) 181 os=-chorusrdb |
180 basic_machine=$1 | 182 basic_machine=$1 |
181 ;; | 183 ;; |
182 -hiux*) 183 os=-hiuxwe2 184 ;; 185 -sco6) 186 os=-sco5v6 187 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 188 ;; 189 -sco5) --- 28 unchanged lines hidden (view full) --- 218 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 219 ;; 220 -clix*) 221 basic_machine=clipper-intergraph 222 ;; 223 -isc*) 224 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 225 ;; | 184 -hiux*) 185 os=-hiuxwe2 186 ;; 187 -sco6) 188 os=-sco5v6 189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 190 ;; 191 -sco5) --- 28 unchanged lines hidden (view full) --- 220 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 221 ;; 222 -clix*) 223 basic_machine=clipper-intergraph 224 ;; 225 -isc*) 226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 227 ;; |
228 -lynx*178) 229 os=-lynxos178 230 ;; 231 -lynx*5) 232 os=-lynxos5 233 ;; |
|
226 -lynx*) 227 os=-lynxos 228 ;; 229 -ptx*) 230 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` 231 ;; 232 -windowsnt*) 233 os=`echo $os | sed -e 's/windowsnt/winnt/'` --- 8 unchanged lines hidden (view full) --- 242esac 243 244# Decode aliases for certain CPU-COMPANY combinations. 245case $basic_machine in 246 # Recognize the basic CPU types without company name. 247 # Some are omitted here because they have special meanings below. 248 1750a | 580 \ 249 | a29k \ | 234 -lynx*) 235 os=-lynxos 236 ;; 237 -ptx*) 238 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` 239 ;; 240 -windowsnt*) 241 os=`echo $os | sed -e 's/windowsnt/winnt/'` --- 8 unchanged lines hidden (view full) --- 250esac 251 252# Decode aliases for certain CPU-COMPANY combinations. 253case $basic_machine in 254 # Recognize the basic CPU types without company name. 255 # Some are omitted here because they have special meanings below. 256 1750a | 580 \ 257 | a29k \ |
258 | aarch64 | aarch64_be \ |
|
250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 252 | am33_2.0 \ | 259 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 260 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 261 | am33_2.0 \ |
253 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | 262 | arc \ 263 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ 264 | avr | avr32 \ 265 | be32 | be64 \ |
254 | bfin \ 255 | c4x | clipper \ 256 | d10v | d30v | dlx | dsp16xx \ | 266 | bfin \ 267 | c4x | clipper \ 268 | d10v | d30v | dlx | dsp16xx \ |
269 | epiphany \ |
|
257 | fido | fr30 | frv \ 258 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 270 | fido | fr30 | frv \ 271 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
272 | hexagon \ |
|
259 | i370 | i860 | i960 | ia64 \ 260 | ip2k | iq2000 \ | 273 | i370 | i860 | i960 | ia64 \ 274 | ip2k | iq2000 \ |
275 | le32 | le64 \ |
|
261 | lm32 \ 262 | m32c | m32r | m32rle | m68000 | m68k | m88k \ | 276 | lm32 \ 277 | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
263 | maxq | mb | microblaze | mcore | mep | metag \ | 278 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ |
264 | mips | mipsbe | mipseb | mipsel | mipsle \ 265 | mips16 \ 266 | mips64 | mips64el \ 267 | mips64octeon | mips64octeonel \ 268 | mips64orion | mips64orionel \ 269 | mips64r5900 | mips64r5900el \ 270 | mips64vr | mips64vrel \ 271 | mips64vr4100 | mips64vr4100el \ --- 9 unchanged lines hidden (view full) --- 281 | mipstx39 | mipstx39el \ 282 | mn10200 | mn10300 \ 283 | moxie \ 284 | mt \ 285 | msp430 \ 286 | nds32 | nds32le | nds32be \ 287 | nios | nios2 \ 288 | ns16k | ns32k \ | 279 | mips | mipsbe | mipseb | mipsel | mipsle \ 280 | mips16 \ 281 | mips64 | mips64el \ 282 | mips64octeon | mips64octeonel \ 283 | mips64orion | mips64orionel \ 284 | mips64r5900 | mips64r5900el \ 285 | mips64vr | mips64vrel \ 286 | mips64vr4100 | mips64vr4100el \ --- 9 unchanged lines hidden (view full) --- 296 | mipstx39 | mipstx39el \ 297 | mn10200 | mn10300 \ 298 | moxie \ 299 | mt \ 300 | msp430 \ 301 | nds32 | nds32le | nds32be \ 302 | nios | nios2 \ 303 | ns16k | ns32k \ |
304 | open8 \ |
|
289 | or32 \ 290 | pdp10 | pdp11 | pj | pjl \ | 305 | or32 \ 306 | pdp10 | pdp11 | pj | pjl \ |
291 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 307 | powerpc | powerpc64 | powerpc64le | powerpcle \ |
292 | pyramid \ | 308 | pyramid \ |
293 | rx \ | 309 | rl78 | rx \ |
294 | score \ 295 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 296 | sh64 | sh64le \ 297 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 298 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 310 | score \ 311 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 312 | sh64 | sh64le \ 313 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 314 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
299 | spu | strongarm \ 300 | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | 315 | spu \ 316 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ |
301 | ubicom32 \ | 317 | ubicom32 \ |
302 | v850 | v850e \ | 318 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
303 | we32k \ | 319 | we32k \ |
304 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | 320 | x86 | xc16x | xstormy16 | xtensa \ |
305 | z8k | z80) 306 basic_machine=$basic_machine-unknown 307 ;; 308 c54x) 309 basic_machine=tic54x-unknown 310 ;; 311 c55x) 312 basic_machine=tic55x-unknown 313 ;; 314 c6x) 315 basic_machine=tic6x-unknown 316 ;; | 321 | z8k | z80) 322 basic_machine=$basic_machine-unknown 323 ;; 324 c54x) 325 basic_machine=tic54x-unknown 326 ;; 327 c55x) 328 basic_machine=tic55x-unknown 329 ;; 330 c6x) 331 basic_machine=tic6x-unknown 332 ;; |
317 m6811 | m68hc11 | m6812 | m68hc12 | picochip) 318 # Motorola 68HC11/12. | 333 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) |
319 basic_machine=$basic_machine-unknown 320 os=-none 321 ;; 322 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 323 ;; 324 ms1) 325 basic_machine=mt-unknown 326 ;; 327 | 334 basic_machine=$basic_machine-unknown 335 os=-none 336 ;; 337 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 338 ;; 339 ms1) 340 basic_machine=mt-unknown 341 ;; 342 |
343 strongarm | thumb | xscale) 344 basic_machine=arm-unknown 345 ;; 346 xgate) 347 basic_machine=$basic_machine-unknown 348 os=-none 349 ;; 350 xscaleeb) 351 basic_machine=armeb-unknown 352 ;; 353 354 xscaleel) 355 basic_machine=armel-unknown 356 ;; 357 |
|
328 # We use `pc' rather than `unknown' 329 # because (1) that's what they normally are, and 330 # (2) the word "unknown" tends to confuse beginning users. 331 i*86 | x86_64) 332 basic_machine=$basic_machine-pc 333 ;; 334 # Object if more than one company name word. 335 *-*-*) 336 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 337 exit 1 338 ;; 339 # Recognize the basic CPU types with company name. 340 580-* \ 341 | a29k-* \ | 358 # We use `pc' rather than `unknown' 359 # because (1) that's what they normally are, and 360 # (2) the word "unknown" tends to confuse beginning users. 361 i*86 | x86_64) 362 basic_machine=$basic_machine-pc 363 ;; 364 # Object if more than one company name word. 365 *-*-*) 366 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 367 exit 1 368 ;; 369 # Recognize the basic CPU types with company name. 370 580-* \ 371 | a29k-* \ |
372 | aarch64-* | aarch64_be-* \ |
|
342 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 343 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 344 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 345 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 346 | avr-* | avr32-* \ | 373 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 374 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 375 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 376 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 377 | avr-* | avr32-* \ |
378 | be32-* | be64-* \ |
|
347 | bfin-* | bs2000-* \ 348 | c[123]* | c30-* | [cjt]90-* | c4x-* \ 349 | clipper-* | craynv-* | cydra-* \ 350 | d10v-* | d30v-* | dlx-* \ 351 | elxsi-* \ 352 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 353 | h8300-* | h8500-* \ 354 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 379 | bfin-* | bs2000-* \ 380 | c[123]* | c30-* | [cjt]90-* | c4x-* \ 381 | clipper-* | craynv-* | cydra-* \ 382 | d10v-* | d30v-* | dlx-* \ 383 | elxsi-* \ 384 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 385 | h8300-* | h8500-* \ 386 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
387 | hexagon-* \ |
|
355 | i*86-* | i860-* | i960-* | ia64-* \ 356 | ip2k-* | iq2000-* \ | 388 | i*86-* | i860-* | i960-* | ia64-* \ 389 | ip2k-* | iq2000-* \ |
390 | le32-* | le64-* \ |
|
357 | lm32-* \ 358 | m32c-* | m32r-* | m32rle-* \ 359 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 391 | lm32-* \ 392 | m32c-* | m32r-* | m32rle-* \ 393 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
360 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | 394 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 395 | microblaze-* | microblazeel-* \ |
361 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 362 | mips16-* \ 363 | mips64-* | mips64el-* \ 364 | mips64octeon-* | mips64octeonel-* \ 365 | mips64orion-* | mips64orionel-* \ 366 | mips64r5900-* | mips64r5900el-* \ 367 | mips64vr-* | mips64vrel-* \ 368 | mips64vr4100-* | mips64vr4100el-* \ --- 8 unchanged lines hidden (view full) --- 377 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 378 | mipstx39-* | mipstx39el-* \ 379 | mmix-* \ 380 | mt-* \ 381 | msp430-* \ 382 | nds32-* | nds32le-* | nds32be-* \ 383 | nios-* | nios2-* \ 384 | none-* | np1-* | ns16k-* | ns32k-* \ | 396 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 397 | mips16-* \ 398 | mips64-* | mips64el-* \ 399 | mips64octeon-* | mips64octeonel-* \ 400 | mips64orion-* | mips64orionel-* \ 401 | mips64r5900-* | mips64r5900el-* \ 402 | mips64vr-* | mips64vrel-* \ 403 | mips64vr4100-* | mips64vr4100el-* \ --- 8 unchanged lines hidden (view full) --- 412 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 413 | mipstx39-* | mipstx39el-* \ 414 | mmix-* \ 415 | mt-* \ 416 | msp430-* \ 417 | nds32-* | nds32le-* | nds32be-* \ 418 | nios-* | nios2-* \ 419 | none-* | np1-* | ns16k-* | ns32k-* \ |
420 | open8-* \ |
|
385 | orion-* \ 386 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 421 | orion-* \ 422 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
387 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 423 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
388 | pyramid-* \ | 424 | pyramid-* \ |
389 | romp-* | rs6000-* | rx-* \ | 425 | rl78-* | romp-* | rs6000-* | rx-* \ |
390 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 391 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 392 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 393 | sparclite-* \ | 426 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 427 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 428 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 429 | sparclite-* \ |
394 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 395 | tahoe-* | thumb-* \ | 430 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ 431 | tahoe-* \ |
396 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 432 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
397 | tile-* | tilegx-* \ | 433 | tile*-* \ |
398 | tron-* \ 399 | ubicom32-* \ | 434 | tron-* \ 435 | ubicom32-* \ |
400 | v850-* | v850e-* | vax-* \ | 436 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ 437 | vax-* \ |
401 | we32k-* \ | 438 | we32k-* \ |
402 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | 439 | x86-* | x86_64-* | xc16x-* | xps100-* \ |
403 | xstormy16-* | xtensa*-* \ 404 | ymp-* \ 405 | z8k-* | z80-*) 406 ;; 407 # Recognize the basic CPU types without company name, with glob match. 408 xtensa*) 409 basic_machine=$basic_machine-unknown 410 ;; --- 8 unchanged lines hidden (view full) --- 419 ;; 420 3b*) 421 basic_machine=we32k-att 422 ;; 423 a29khif) 424 basic_machine=a29k-amd 425 os=-udi 426 ;; | 440 | xstormy16-* | xtensa*-* \ 441 | ymp-* \ 442 | z8k-* | z80-*) 443 ;; 444 # Recognize the basic CPU types without company name, with glob match. 445 xtensa*) 446 basic_machine=$basic_machine-unknown 447 ;; --- 8 unchanged lines hidden (view full) --- 456 ;; 457 3b*) 458 basic_machine=we32k-att 459 ;; 460 a29khif) 461 basic_machine=a29k-amd 462 os=-udi 463 ;; |
427 abacus) | 464 abacus) |
428 basic_machine=abacus-unknown 429 ;; 430 adobe68k) 431 basic_machine=m68010-adobe 432 os=-scout 433 ;; 434 alliant | fx80) 435 basic_machine=fx80-alliant --- 66 unchanged lines hidden (view full) --- 502 ;; 503 c6x-*) 504 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` 505 ;; 506 c90) 507 basic_machine=c90-cray 508 os=-unicos 509 ;; | 465 basic_machine=abacus-unknown 466 ;; 467 adobe68k) 468 basic_machine=m68010-adobe 469 os=-scout 470 ;; 471 alliant | fx80) 472 basic_machine=fx80-alliant --- 66 unchanged lines hidden (view full) --- 539 ;; 540 c6x-*) 541 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` 542 ;; 543 c90) 544 basic_machine=c90-cray 545 os=-unicos 546 ;; |
510 cegcc) | 547 cegcc) |
511 basic_machine=arm-unknown 512 os=-cegcc 513 ;; 514 convex-c1) 515 basic_machine=c1-convex 516 os=-bsd 517 ;; 518 convex-c2) --- 173 unchanged lines hidden (view full) --- 692 ;; 693 hppro) 694 basic_machine=hppa1.1-hp 695 os=-proelf 696 ;; 697 i370-ibm* | ibm*) 698 basic_machine=i370-ibm 699 ;; | 548 basic_machine=arm-unknown 549 os=-cegcc 550 ;; 551 convex-c1) 552 basic_machine=c1-convex 553 os=-bsd 554 ;; 555 convex-c2) --- 173 unchanged lines hidden (view full) --- 729 ;; 730 hppro) 731 basic_machine=hppa1.1-hp 732 os=-proelf 733 ;; 734 i370-ibm* | ibm*) 735 basic_machine=i370-ibm 736 ;; |
700# I'm not sure what "Sysv32" means. Should this be sysv3.2? | |
701 i*86v32) 702 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 703 os=-sysv32 704 ;; 705 i*86v4*) 706 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 707 os=-sysv4 708 ;; --- 41 unchanged lines hidden (view full) --- 750 magnum | m3230) 751 basic_machine=mips-mips 752 os=-sysv 753 ;; 754 merlin) 755 basic_machine=ns32k-utek 756 os=-sysv 757 ;; | 737 i*86v32) 738 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 739 os=-sysv32 740 ;; 741 i*86v4*) 742 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 743 os=-sysv4 744 ;; --- 41 unchanged lines hidden (view full) --- 786 magnum | m3230) 787 basic_machine=mips-mips 788 os=-sysv 789 ;; 790 merlin) 791 basic_machine=ns32k-utek 792 os=-sysv 793 ;; |
758 microblaze) | 794 microblaze*) |
759 basic_machine=microblaze-xilinx 760 ;; | 795 basic_machine=microblaze-xilinx 796 ;; |
797 mingw64) 798 basic_machine=x86_64-pc 799 os=-mingw64 800 ;; |
|
761 mingw32) 762 basic_machine=i386-pc 763 os=-mingw32 764 ;; 765 mingw32ce) 766 basic_machine=arm-unknown 767 os=-mingw32ce 768 ;; --- 20 unchanged lines hidden (view full) --- 789 ;; 790 msdos) 791 basic_machine=i386-pc 792 os=-msdos 793 ;; 794 ms1-*) 795 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 796 ;; | 801 mingw32) 802 basic_machine=i386-pc 803 os=-mingw32 804 ;; 805 mingw32ce) 806 basic_machine=arm-unknown 807 os=-mingw32ce 808 ;; --- 20 unchanged lines hidden (view full) --- 829 ;; 830 msdos) 831 basic_machine=i386-pc 832 os=-msdos 833 ;; 834 ms1-*) 835 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 836 ;; |
837 msys) 838 basic_machine=i386-pc 839 os=-msys 840 ;; |
|
797 mvs) 798 basic_machine=i370-ibm 799 os=-mvs 800 ;; | 841 mvs) 842 basic_machine=i370-ibm 843 os=-mvs 844 ;; |
845 nacl) 846 basic_machine=le32-unknown 847 os=-nacl 848 ;; |
|
801 ncr3000) 802 basic_machine=i486-ncr 803 os=-sysv4 804 ;; 805 netbsd386) 806 basic_machine=i386-unknown 807 os=-netbsd 808 ;; --- 48 unchanged lines hidden (view full) --- 857 ;; 858 nonstopux) 859 basic_machine=mips-compaq 860 os=-nonstopux 861 ;; 862 np1) 863 basic_machine=np1-gould 864 ;; | 849 ncr3000) 850 basic_machine=i486-ncr 851 os=-sysv4 852 ;; 853 netbsd386) 854 basic_machine=i386-unknown 855 os=-netbsd 856 ;; --- 48 unchanged lines hidden (view full) --- 905 ;; 906 nonstopux) 907 basic_machine=mips-compaq 908 os=-nonstopux 909 ;; 910 np1) 911 basic_machine=np1-gould 912 ;; |
865 neo-tandem) | 913 neo-tandem) |
866 basic_machine=neo-tandem 867 ;; | 914 basic_machine=neo-tandem 915 ;; |
868 nse-tandem) | 916 nse-tandem) |
869 basic_machine=nse-tandem 870 ;; 871 nsr-tandem) 872 basic_machine=nsr-tandem 873 ;; 874 op50n-* | op60c-*) 875 basic_machine=hppa1.1-oki 876 os=-proelf --- 68 unchanged lines hidden (view full) --- 945 pentium4-*) 946 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` 947 ;; 948 pn) 949 basic_machine=pn-gould 950 ;; 951 power) basic_machine=power-ibm 952 ;; | 917 basic_machine=nse-tandem 918 ;; 919 nsr-tandem) 920 basic_machine=nsr-tandem 921 ;; 922 op50n-* | op60c-*) 923 basic_machine=hppa1.1-oki 924 os=-proelf --- 68 unchanged lines hidden (view full) --- 993 pentium4-*) 994 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` 995 ;; 996 pn) 997 basic_machine=pn-gould 998 ;; 999 power) basic_machine=power-ibm 1000 ;; |
953 ppc) basic_machine=powerpc-unknown | 1001 ppc | ppcbe) basic_machine=powerpc-unknown |
954 ;; | 1002 ;; |
955 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | 1003 ppc-* | ppcbe-*) 1004 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
956 ;; 957 ppcle | powerpclittle | ppc-le | powerpc-little) 958 basic_machine=powerpcle-unknown 959 ;; 960 ppcle-* | powerpclittle-*) 961 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 962 ;; 963 ppc64) basic_machine=powerpc64-unknown --- 8 unchanged lines hidden (view full) --- 972 ;; 973 ps2) 974 basic_machine=i386-ibm 975 ;; 976 pw32) 977 basic_machine=i586-unknown 978 os=-pw32 979 ;; | 1005 ;; 1006 ppcle | powerpclittle | ppc-le | powerpc-little) 1007 basic_machine=powerpcle-unknown 1008 ;; 1009 ppcle-* | powerpclittle-*) 1010 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 1011 ;; 1012 ppc64) basic_machine=powerpc64-unknown --- 8 unchanged lines hidden (view full) --- 1021 ;; 1022 ps2) 1023 basic_machine=i386-ibm 1024 ;; 1025 pw32) 1026 basic_machine=i586-unknown 1027 os=-pw32 1028 ;; |
980 rdos) | 1029 rdos | rdos64) 1030 basic_machine=x86_64-pc 1031 os=-rdos 1032 ;; 1033 rdos32) |
981 basic_machine=i386-pc 982 os=-rdos 983 ;; 984 rom68k) 985 basic_machine=m68k-rom68k 986 os=-coff 987 ;; 988 rm[46]00) --- 52 unchanged lines hidden (view full) --- 1041 ;; 1042 st2000) 1043 basic_machine=m68k-tandem 1044 ;; 1045 stratus) 1046 basic_machine=i860-stratus 1047 os=-sysv4 1048 ;; | 1034 basic_machine=i386-pc 1035 os=-rdos 1036 ;; 1037 rom68k) 1038 basic_machine=m68k-rom68k 1039 os=-coff 1040 ;; 1041 rm[46]00) --- 52 unchanged lines hidden (view full) --- 1094 ;; 1095 st2000) 1096 basic_machine=m68k-tandem 1097 ;; 1098 stratus) 1099 basic_machine=i860-stratus 1100 os=-sysv4 1101 ;; |
1102 strongarm-* | thumb-*) 1103 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` 1104 ;; |
|
1049 sun2) 1050 basic_machine=m68000-sun 1051 ;; 1052 sun2os3) 1053 basic_machine=m68000-sun 1054 os=-sunos3 1055 ;; 1056 sun2os4) --- 40 unchanged lines hidden (view full) --- 1097 t3e) 1098 basic_machine=alphaev5-cray 1099 os=-unicos 1100 ;; 1101 t90) 1102 basic_machine=t90-cray 1103 os=-unicos 1104 ;; | 1105 sun2) 1106 basic_machine=m68000-sun 1107 ;; 1108 sun2os3) 1109 basic_machine=m68000-sun 1110 os=-sunos3 1111 ;; 1112 sun2os4) --- 40 unchanged lines hidden (view full) --- 1153 t3e) 1154 basic_machine=alphaev5-cray 1155 os=-unicos 1156 ;; 1157 t90) 1158 basic_machine=t90-cray 1159 os=-unicos 1160 ;; |
1105 # This must be matched before tile*. 1106 tilegx*) 1107 basic_machine=tilegx-unknown 1108 os=-linux-gnu 1109 ;; | |
1110 tile*) | 1161 tile*) |
1111 basic_machine=tile-unknown | 1162 basic_machine=$basic_machine-unknown |
1112 os=-linux-gnu 1113 ;; 1114 tx39) 1115 basic_machine=mipstx39-unknown 1116 ;; 1117 tx39el) 1118 basic_machine=mipstx39el-unknown 1119 ;; --- 53 unchanged lines hidden (view full) --- 1173 ;; 1174 xbox) 1175 basic_machine=i686-pc 1176 os=-mingw32 1177 ;; 1178 xps | xps100) 1179 basic_machine=xps100-honeywell 1180 ;; | 1163 os=-linux-gnu 1164 ;; 1165 tx39) 1166 basic_machine=mipstx39-unknown 1167 ;; 1168 tx39el) 1169 basic_machine=mipstx39el-unknown 1170 ;; --- 53 unchanged lines hidden (view full) --- 1224 ;; 1225 xbox) 1226 basic_machine=i686-pc 1227 os=-mingw32 1228 ;; 1229 xps | xps100) 1230 basic_machine=xps100-honeywell 1231 ;; |
1232 xscale-* | xscalee[bl]-*) 1233 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` 1234 ;; |
|
1181 ymp) 1182 basic_machine=ymp-cray 1183 os=-unicos 1184 ;; 1185 z8k-*-coff) 1186 basic_machine=z8k-unknown 1187 os=-sim 1188 ;; --- 81 unchanged lines hidden (view full) --- 1270 ;; 1271esac 1272 1273# Decode manufacturer-specific aliases for certain operating systems. 1274 1275if [ x"$os" != x"" ] 1276then 1277case $os in | 1235 ymp) 1236 basic_machine=ymp-cray 1237 os=-unicos 1238 ;; 1239 z8k-*-coff) 1240 basic_machine=z8k-unknown 1241 os=-sim 1242 ;; --- 81 unchanged lines hidden (view full) --- 1324 ;; 1325esac 1326 1327# Decode manufacturer-specific aliases for certain operating systems. 1328 1329if [ x"$os" != x"" ] 1330then 1331case $os in |
1278 # First match some system type aliases 1279 # that might get confused with valid system types. | 1332 # First match some system type aliases 1333 # that might get confused with valid system types. |
1280 # -solaris* is a basic system type, with this one exception. | 1334 # -solaris* is a basic system type, with this one exception. |
1281 -auroraux) 1282 os=-auroraux | 1335 -auroraux) 1336 os=-auroraux |
1283 ;; 1284 -solaris1 | -solaris1.*) 1285 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1286 ;; 1287 -solaris) 1288 os=-solaris2 1289 ;; 1290 -svr4*) --- 13 unchanged lines hidden (view full) --- 1304 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1305 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ 1306 | -sym* | -kopensolaris* \ 1307 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1308 | -aos* | -aros* \ 1309 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1310 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1311 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 1337 ;; 1338 -solaris1 | -solaris1.*) 1339 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1340 ;; 1341 -solaris) 1342 os=-solaris2 1343 ;; 1344 -svr4*) --- 13 unchanged lines hidden (view full) --- 1358 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1359 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ 1360 | -sym* | -kopensolaris* \ 1361 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1362 | -aos* | -aros* \ 1363 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1364 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1365 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1312 | -openbsd* | -solidbsd* \ | 1366 | -bitrig* | -openbsd* | -solidbsd* \ |
1313 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1314 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1315 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1316 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1317 | -chorusos* | -chorusrdb* | -cegcc* \ | 1367 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1368 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1369 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1370 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1371 | -chorusos* | -chorusrdb* | -cegcc* \ |
1318 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1319 | -mingw32* | -linux-gnu* | -linux-android* \ 1320 | -linux-newlib* | -linux-uclibc* \ | 1372 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1373 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ 1374 | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1321 | -uxpv* | -beos* | -mpeix* | -udk* \ 1322 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1323 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1324 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1325 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1326 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1327 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1328 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) --- 30 unchanged lines hidden (view full) --- 1359 os=`echo $os | sed -e 's|sunos5|solaris2|'` 1360 ;; 1361 -sunos6*) 1362 os=`echo $os | sed -e 's|sunos6|solaris3|'` 1363 ;; 1364 -opened*) 1365 os=-openedition 1366 ;; | 1375 | -uxpv* | -beos* | -mpeix* | -udk* \ 1376 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1377 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1378 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1379 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1380 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1381 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1382 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) --- 30 unchanged lines hidden (view full) --- 1413 os=`echo $os | sed -e 's|sunos5|solaris2|'` 1414 ;; 1415 -sunos6*) 1416 os=`echo $os | sed -e 's|sunos6|solaris3|'` 1417 ;; 1418 -opened*) 1419 os=-openedition 1420 ;; |
1367 -os400*) | 1421 -os400*) |
1368 os=-os400 1369 ;; 1370 -wince*) 1371 os=-wince 1372 ;; 1373 -osfrose*) 1374 os=-osfrose 1375 ;; --- 32 unchanged lines hidden (view full) --- 1408 ;; 1409 # Preserve the version number of sinix5. 1410 -sinix5.*) 1411 os=`echo $os | sed -e 's|sinix|sysv|'` 1412 ;; 1413 -sinix*) 1414 os=-sysv4 1415 ;; | 1422 os=-os400 1423 ;; 1424 -wince*) 1425 os=-wince 1426 ;; 1427 -osfrose*) 1428 os=-osfrose 1429 ;; --- 32 unchanged lines hidden (view full) --- 1462 ;; 1463 # Preserve the version number of sinix5. 1464 -sinix5.*) 1465 os=`echo $os | sed -e 's|sinix|sysv|'` 1466 ;; 1467 -sinix*) 1468 os=-sysv4 1469 ;; |
1416 -tpf*) | 1470 -tpf*) |
1417 os=-tpf 1418 ;; 1419 -triton*) 1420 os=-sysv3 1421 ;; 1422 -oss*) 1423 os=-sysv3 1424 ;; --- 28 unchanged lines hidden (view full) --- 1453 os=-kaos 1454 ;; 1455 -zvmoe) 1456 os=-zvmoe 1457 ;; 1458 -dicos*) 1459 os=-dicos 1460 ;; | 1471 os=-tpf 1472 ;; 1473 -triton*) 1474 os=-sysv3 1475 ;; 1476 -oss*) 1477 os=-sysv3 1478 ;; --- 28 unchanged lines hidden (view full) --- 1507 os=-kaos 1508 ;; 1509 -zvmoe) 1510 os=-zvmoe 1511 ;; 1512 -dicos*) 1513 os=-dicos 1514 ;; |
1461 -nacl*) 1462 ;; | 1515 -nacl*) 1516 ;; |
1463 -none) 1464 ;; 1465 *) 1466 # Get rid of the `-' at the beginning of $os. 1467 os=`echo $os | sed 's/[^-]*-//'` 1468 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 1469 exit 1 1470 ;; --- 6 unchanged lines hidden (view full) --- 1477 1478# Note that if you're going to try to match "-MANUFACTURER" here (say, 1479# "-sun"), then you have to tell the case statement up towards the top 1480# that MANUFACTURER isn't an operating system. Otherwise, code above 1481# will signal an error saying that MANUFACTURER isn't an operating 1482# system, and we'll never get to this point. 1483 1484case $basic_machine in | 1517 -none) 1518 ;; 1519 *) 1520 # Get rid of the `-' at the beginning of $os. 1521 os=`echo $os | sed 's/[^-]*-//'` 1522 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 1523 exit 1 1524 ;; --- 6 unchanged lines hidden (view full) --- 1531 1532# Note that if you're going to try to match "-MANUFACTURER" here (say, 1533# "-sun"), then you have to tell the case statement up towards the top 1534# that MANUFACTURER isn't an operating system. Otherwise, code above 1535# will signal an error saying that MANUFACTURER isn't an operating 1536# system, and we'll never get to this point. 1537 1538case $basic_machine in |
1485 score-*) | 1539 score-*) |
1486 os=-elf 1487 ;; | 1540 os=-elf 1541 ;; |
1488 spu-*) | 1542 spu-*) |
1489 os=-elf 1490 ;; 1491 *-acorn) 1492 os=-riscix1.2 1493 ;; 1494 arm*-rebel) 1495 os=-linux 1496 ;; 1497 arm*-semi) 1498 os=-aout 1499 ;; | 1543 os=-elf 1544 ;; 1545 *-acorn) 1546 os=-riscix1.2 1547 ;; 1548 arm*-rebel) 1549 os=-linux 1550 ;; 1551 arm*-semi) 1552 os=-aout 1553 ;; |
1500 c4x-* | tic4x-*) 1501 os=-coff | 1554 c4x-* | tic4x-*) 1555 os=-coff |
1502 ;; | 1556 ;; |
1557 hexagon-*) 1558 os=-elf 1559 ;; |
|
1503 tic54x-*) 1504 os=-coff 1505 ;; 1506 tic55x-*) 1507 os=-coff 1508 ;; 1509 tic6x-*) 1510 os=-coff --- 11 unchanged lines hidden (view full) --- 1522 m68*-apollo) 1523 os=-domain 1524 ;; 1525 i386-sun) 1526 os=-sunos4.0.2 1527 ;; 1528 m68000-sun) 1529 os=-sunos3 | 1560 tic54x-*) 1561 os=-coff 1562 ;; 1563 tic55x-*) 1564 os=-coff 1565 ;; 1566 tic6x-*) 1567 os=-coff --- 11 unchanged lines hidden (view full) --- 1579 m68*-apollo) 1580 os=-domain 1581 ;; 1582 i386-sun) 1583 os=-sunos4.0.2 1584 ;; 1585 m68000-sun) 1586 os=-sunos3 |
1530 # This also exists in the configure program, but was not the 1531 # default. 1532 # os=-sunos4 | |
1533 ;; 1534 m68*-cisco) 1535 os=-aout 1536 ;; | 1587 ;; 1588 m68*-cisco) 1589 os=-aout 1590 ;; |
1537 mep-*) | 1591 mep-*) |
1538 os=-elf 1539 ;; 1540 mips*-cisco) 1541 os=-elf 1542 ;; 1543 mips*-*) 1544 os=-elf 1545 ;; --- 10 unchanged lines hidden (view full) --- 1556 os=-beos 1557 ;; 1558 *-haiku) 1559 os=-haiku 1560 ;; 1561 *-ibm) 1562 os=-aix 1563 ;; | 1592 os=-elf 1593 ;; 1594 mips*-cisco) 1595 os=-elf 1596 ;; 1597 mips*-*) 1598 os=-elf 1599 ;; --- 10 unchanged lines hidden (view full) --- 1610 os=-beos 1611 ;; 1612 *-haiku) 1613 os=-haiku 1614 ;; 1615 *-ibm) 1616 os=-aix 1617 ;; |
1564 *-knuth) | 1618 *-knuth) |
1565 os=-mmixware 1566 ;; 1567 *-wec) 1568 os=-proelf 1569 ;; 1570 *-winbond) 1571 os=-proelf 1572 ;; --- 167 unchanged lines hidden --- | 1619 os=-mmixware 1620 ;; 1621 *-wec) 1622 os=-proelf 1623 ;; 1624 *-winbond) 1625 os=-proelf 1626 ;; --- 167 unchanged lines hidden --- |