This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Fwd: Add in Pentium III & Pentium 4 to config.sub
- From: Kelley Cook <kcook34 at ford dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Ben Elliston <bje at wasabisystems dot com>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 20 May 2003 09:31:50 -0400
- Subject: Fwd: Add in Pentium III & Pentium 4 to config.sub
- Hop-count: 1
---- Forwarded e-mail ----
From: Ben Elliston [mailto:bje@wasabisystems.com]
Sent: Monday, May 19, 2003 5:09 PM
To: Cook, Kelley (R.K.)
Subject: Re: Add in Pentium III & Pentium 4 to config.sub
"Cook, Kelley (R.K.)" <kcook34@ford.com> writes:
> Did this change get missed in todays upload of config.{guess,sub}?
> Config.guess seems to be changed, but not config.sub.
I have not applied your patch, as I was waiting for an answer to:
> I wonder, though, why GCC people have not already requested such a
> change a long time ago? They would need it for a Pentium III tuned
> compiler, for example.
Ben
---- Forwared e-mail ----
GCC team,
Is this config.sub patch which defines pentiumiii & pentium3 to be
aliases for i686 and pentium4 to be an alias for i786 acceptable to
your group? A google search shows that a similar change was suggested
a post by Joseph Myers two years ago when Jan Hubicka first added
Pentium 4 support.
http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01651.html
Is this the correct patch?
FWIW, the toplevel and binutils patches that allow them to use
i786-*-* have already been installed and I have posted a libiberty patch for
approval. I apologize for that since I misunderstood Ben's initial response
to be an approval with an added rhetorical question.
Kelley Cook
--- config.sub.orig 2003-05-12 12:44:54.000000000 -0400
+++ config.sub 2003-05-12 12:44:38.000000000 -0400
@@ -771,18 +771,24 @@
pentiumpro | p6 | 6x86 | athlon | athlon_*)
basic_machine=i686-pc
;;
- pentiumii | pentium2)
+ pentiumii | pentium2 | pentiumiii | pentium3)
basic_machine=i686-pc
;;
+ pentium4)
+ basic_machine=i786-pc
+ ;;
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pentiumpro-* | p6-* | 6x86-* | athlon-*)
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
- pentiumii-* | pentium2-*)
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
+ pentium4-*)
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
pn)
basic_machine=pn-gould
;;