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: Joao Cardoso <jcardoso at inescn dot pt>
- Subject: Re: egcs-1.0.2 wrongly detect a Pentium II as a i386 on SCO5 - patch included
- From: Todd Vierling <tv at pobox dot com>
- Date: Tue, 28 Apr 1998 19:25:38 -0400 (EDT)
- cc: egcs at cygnus dot com
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)