Reported by Hans-Peter Nilsson <hp@bitrange.com>:

* config.sub: Correctly handle mmix-knuth and mmix-knuth-mmixware.
This commit is contained in:
Ben Elliston 2004-06-21 21:42:10 +00:00
parent f9b6f0553d
commit 6b2f75b974
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2004-06-22 Ben Elliston <bje@gnu.org>
Reported by Hans-Peter Nilsson <hp@bitrange.com>:
* config.sub: Correctly handle mmix-knuth and mmix-knuth-mmixware.
2004-06-21 Ben Elliston <bje@gnu.org>
* Makefile: New file.

15
config.sub vendored
View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2004-03-12'
timestamp='2004-06-22'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@ -145,7 +145,7 @@ case $os in
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-apple | -axis)
-apple | -axis | -knuth)
os=
basic_machine=$1
;;
@ -326,6 +326,7 @@ case $basic_machine in
| mipsisa64sb1-* | mipsisa64sb1el-* \
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
| mipstx39-* | mipstx39el-* \
| mmix-* \
| msp430-* \
| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
| orion-* \
@ -659,10 +660,6 @@ case $basic_machine in
mips3*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
;;
mmix*)
basic_machine=mmix-knuth
os=-mmixware
;;
monitor)
basic_machine=m68k-rom68k
os=-coff
@ -1059,6 +1056,9 @@ case $basic_machine in
romp)
basic_machine=romp-ibm
;;
mmix)
basic_machine=mmix-knuth
;;
rs6000)
basic_machine=rs6000-ibm
;;
@ -1374,6 +1374,9 @@ case $basic_machine in
*-ibm)
os=-aix
;;
*-knuth)
os=-mmixware
;;
*-wec)
os=-proelf
;;