config.sub entry for mmix-knuth-mmixware

Hans-Peter Nilsson hp@bitrange.com
Mon Jan 31 15:14:00 GMT 2000


Taking this one file at a time.

The "mmix*" is to match mmix-knuth, with mmix and mmixware as
aliases.  The "mmix-knuth-mmixware" name has consensus among at
least three persons :-)

Is this ok to commit for gcc?

Tue Feb  1 00:07:46 2000  Hans-Peter Nilsson  <hp@bitrange.com>

	* config.sub: Add mmix-knuth-mmixware.

Index: config.sub
===================================================================
RCS file: /cvs/gcc/egcs/config.sub,v
retrieving revision 1.37
diff -p -c -c -p -r1.37 config.sub
*** config.sub	1999/12/14 16:10:58	1.37
--- config.sub	2000/01/31 23:03:48
***************
*** 1,6 ****
  #! /bin/sh
  # Configuration validation subroutine script, version 1.1.
! #   Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc.
  # This file is (in principle) common to ALL GNU software.
  # The presence of a machine in this file suggests that SOME GNU software
  # can handle that machine.  It does not imply ALL GNU software can.
--- 1,6 ----
  #! /bin/sh
  # Configuration validation subroutine script, version 1.1.
! #   Copyright (C) 1991, 92-97, 1998, 1999, 2000 Free Software Foundation, Inc.
  # This file is (in principle) common to ALL GNU software.
  # The presence of a machine in this file suggests that SOME GNU software
  # can handle that machine.  It does not imply ALL GNU software can.
*************** case $basic_machine in
*** 515,520 ****
--- 515,524 ----
  	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
*************** case $os in
*** 925,931 ****
  		;;
  	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
! 	      | -macos* | -mpw* | -magic* | -mon960* | -lnews*)
  		;;
  	-mac*)
  		os=`echo $os | sed -e 's|mac|macos|'`
--- 929,935 ----
  		;;
  	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
! 	      | -macos* | -mpw* | -magic* | -mmixware | -mon960* | -lnews*)
  		;;
  	-mac*)
  		os=`echo $os | sed -e 's|mac|macos|'`



More information about the Gcc-patches mailing list