egcs-1.0.2 wrongly detect a Pentium II as a i386 on SCO5 - patch included

Todd Vierling tv@pobox.com
Tue Apr 28 19:49:00 GMT 1998


On Mon, 27 Apr 1998, Joao Cardoso wrote:

: On sco-3.2v5.0.4 `configure' wrongly detect a Pentium II as a i386.

This is actually half correct.

: I don't know if this has any implications on code generation. A simple
:  `gcc -S foo.c' report `-mcpu=i386 -march=pentium'

The -march= is what really matters.  All i[3456]86 based chips are, at their
base, considered `i386' processors, but the architecture can be set for code
generation as gcc does above.  The actual architecture name is i386, not
i586 or i686.

When it comes down to it, a machine name such as `i586-pc-linux' is
incorrect.  `configure' just happily accepts it and treats it as
`i386-pc-linux'.  Same goes for SCO.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)




More information about the Gcc mailing list