From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joao Cardoso To: Jim Wilson Cc: egcs@cygnus.com Subject: Re: egcs-1.0.2 wrongly detect a Pentium II as a i386 on SCO5 - patch included Date: Thu, 30 Apr 1998 20:03:00 -0000 Message-id: <35490B7A.2781@inescn.pt> References: <199804290257.TAA25048@rtl.cygnus.com> X-SW-Source: 1998-04/msg01199.html Jim Wilson wrote: > > If we are going to fix this, we should get the processor right. > Does this work? > Yes. Thanks. o At home, with Free SCO and a Pentium: Configuring for a i586-pc-sco3.2v5.0.4 host. Created "Makefile" in /src/compilers/egcs-1.0.2-objdir using "/src/compilers/egcs-1.0/config/mh-sysv" ... o At the office, with a Pentium II: Configuring for a i686-pc-sco3.2v5.0.4 host. Created "Makefile" in /src/egcs-1.0.2-build using "/src/egcs-1.0.2/config/mh-sys ... > 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 -- Joao Cardoso, INESC | e-mail: R. Jose Falcao 110 | tel: + 351 2 2094345 4050 Porto, Portugal | fax: + 351 2 2008487