This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0.2 wrongly detect a Pentium II as a i386 on SCO5 - patch included
- To: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: egcs-1.0.2 wrongly detect a Pentium II as a i386 on SCO5 - patch included
- From: Joao Cardoso <jcardoso at inescn dot pt>
- Date: Fri, 01 May 1998 00:38:35 +0100
- CC: egcs at cygnus dot com
- Organization: INESC
- References: <199804290257.TAA25048@rtl.cygnus.com>
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 <wilson@cygnus.com>
>
> * 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