From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Wilson To: Joao Cardoso Cc: egcs@cygnus.com Subject: Re: egcs-1.0.2 wrongly detect a Pentium II as a i386 on SCO5 - patch included Date: Sun, 03 May 1998 22:02:00 -0000 Message-id: <199804290257.TAA25048@rtl.cygnus.com> References: <3544B654.41C6@inescn.pt> X-SW-Source: 1998-05/msg00068.html If we are going to fix this, we should get the processor right. Does this work? config.guess is a shared file, so it might take me a little while to figure out the right way to modify it. It isn't safe to just change EGCS's version of it. Tue Apr 28 19:54:26 1998 Jim Wilson * config.guess (i?86:*:3.2:*): Check for 'Pent II' and set UNAME_MACHINE to i686. Index: config.guess =================================================================== RCS file: /egcs/carton/cvsfiles/egcs/config.guess,v retrieving revision 1.10 diff -p -r1.10 config.guess *** config.guess 1998/04/03 16:21:56 1.10 --- config.guess 1998/04/29 02:54:18 *************** EOF *** 695,700 **** --- 695,702 ---- (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 + (/bin/uname -X|egrep '^Machine.*Pent II' >/dev/null) \ + && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32