bad change to config.guess

Weiwen Liu weiwen.liu@yale.edu
Sat Sep 5 21:16:00 GMT 1998


It took me quite some time to finger out why I can not build egcs on
alpha-dec-osf4.0d any more.

A change was made to config.guess on Aug 30, 1998.  With this change, the
machine type for alpha-dec-osf4.0d is changed to alpha-dec-osf4.0D, in
which a "d" is changed to "D".  In gcc, 4.0D is different from 4.0d, since
TARGET_CPU_DEFAULT only checks 4.0d.

Here is a patch to bring back the correct behavior.

Weiwen

Index: config.guess
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/config.guess,v
retrieving revision 1.15
diff -u -p -r1.15 config.guess
--- config.guess	1998/08/30 21:29:31	1.15
+++ config.guess	1998/09/05 21:17:34
@@ -98,7 +98,7 @@ EOF
 		esac
 	fi
 	rm -f dummy.s dummy
-	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 	exit 0 ;;
     21064:Windows_NT:50:3)
 	echo alpha-dec-winnt3.5
@@ -460,7 +460,7 @@ EOF
 	echo cray2-cray-unicos
         exit 0 ;;
     F300:UNIX_System_V:*:*)
-        FUJITSU_SYS=`uname -p | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | sed -e 's/\///'`
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
         echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
         exit 0 ;;





More information about the Gcc mailing list