From mboxrd@z Thu Jan 1 00:00:00 1970 From: Todd Vierling To: Joao Cardoso Cc: egcs@cygnus.com Subject: Re: egcs-1.0.2 wrongly detect a Pentium II as a i386 on SCO5 - patch included Date: Tue, 28 Apr 1998 19:49:00 -0000 Message-id: References: <3544B654.41C6@inescn.pt> X-SW-Source: 1998-04/msg01126.html 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)