This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]