egcs-1.1b bug in configure.guess for sco-3.2v5.0.4. Patch included.

Robert Lipe robertl@dgii.com
Wed Sep 9 05:52:00 GMT 1998


> 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



More information about the Gcc mailing list