This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1b bug in configure.guess for sco-3.2v5.0.4. Patch included.
- To: Joao Cardoso <jcardoso at inescn dot pt>, egcs at cygnus dot com
- Subject: Re: egcs-1.1b bug in configure.guess for sco-3.2v5.0.4. Patch included.
- From: Robert Lipe <robertl at dgii dot com>
- Date: Tue, 8 Sep 1998 21:55:17 -0500
- References: <35F55677.538C6390@inescn.pt>
> I enclose a patch to correct a bug in the top config.guess for egcs-1.1b
> when configured on a Pentium II running sco-3.2v5.0.4:
Damn. 5.0.4 will only detect a Pentium II as a Pentium II when release
supplement 5.0.4c is installed. (Until that's installed, it's reported
as a Pentium Pro.) 5.0.5 Definitely reports a Pentium II as "PentII" and
not "Pent II" as you're seeing.
Could you please verify if changing that line to
|egrep '^Machine.*Pent *II'
still correctly detects your system?
If so, I'll amend the regex and commit it.
Thanx for the detail.
RJL
> bash-2.02# diff -c config.guess.org config.guess
>
> *** config.guess.org Tue Sep 8 15:45:06 1998
> --- config.guess Tue Sep 8 15:47:39 1998
> ***************
> *** 699,705 ****
> (/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.*PentII' >/dev/null) \
> && UNAME_MACHINE=i686
> (/bin/uname -X|egrep '^Machine.*Pentium Pro'
> >/dev/null) \
> && UNAME_MACHINE=i686
> --- 699,705 ----
> (/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
> (/bin/uname -X|egrep '^Machine.*Pentium Pro'
> >/dev/null) \
> && UNAME_MACHINE=i686
>
> --
> Joao Cardoso | e-mail: jcardoso@inescn.pt
> INESC, R. Jose Falcao 110 | tel: + 351 2 2094322
> 4050 Porto, Portugal | fax: + 351 2 2008487