* How do we target Athlon MP?
@ 2002-08-08 14:22 Phil Edwards
2002-08-09 15:46 ` Richard Henderson
0 siblings, 1 reply; 4+ messages in thread
From: Phil Edwards @ 2002-08-08 14:22 UTC (permalink / raw)
To: gcc
I see that config.gcc recognizes athlon_mp as a machine name, but config.sub
won't accept it. It later seems to look at a - instead of a _ but of course
"athlon-mp" becomes "athlon-mp-pc-linux-gnu", and "mp" isn't a vendor.
What triplet should I be using?
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do we target Athlon MP?
2002-08-08 14:22 How do we target Athlon MP? Phil Edwards
@ 2002-08-09 15:46 ` Richard Henderson
2002-08-09 21:31 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 2002-08-09 15:46 UTC (permalink / raw)
To: Phil Edwards; +Cc: gcc
On Thu, Aug 08, 2002 at 05:22:04PM -0400, Phil Edwards wrote:
> I see that config.gcc recognizes athlon_mp as a machine name, but config.sub
> won't accept it. It later seems to look at a - instead of a _ but of course
> "athlon-mp" becomes "athlon-mp-pc-linux-gnu", and "mp" isn't a vendor.
>
> What triplet should I be using?
At the moment there isn't one. Use -march=athlon-mp?
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do we target Athlon MP?
2002-08-09 15:46 ` Richard Henderson
@ 2002-08-09 21:31 ` Daniel Jacobowitz
2002-08-10 11:26 ` Phil Edwards
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-08-09 21:31 UTC (permalink / raw)
To: Richard Henderson, Phil Edwards, gcc
On Fri, Aug 09, 2002 at 03:46:31PM -0700, Richard Henderson wrote:
> On Thu, Aug 08, 2002 at 05:22:04PM -0400, Phil Edwards wrote:
> > I see that config.gcc recognizes athlon_mp as a machine name, but config.sub
> > won't accept it. It later seems to look at a - instead of a _ but of course
> > "athlon-mp" becomes "athlon-mp-pc-linux-gnu", and "mp" isn't a vendor.
> >
> > What triplet should I be using?
>
> At the moment there isn't one. Use -march=athlon-mp?
Or ask someone to review:
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00203.html
and use --with-cpu=athlon-mp.
(Actually, you can do it now: athlon_mp-pc-linux-gnu should work.)
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do we target Athlon MP?
2002-08-09 21:31 ` Daniel Jacobowitz
@ 2002-08-10 11:26 ` Phil Edwards
0 siblings, 0 replies; 4+ messages in thread
From: Phil Edwards @ 2002-08-10 11:26 UTC (permalink / raw)
To: Richard Henderson, gcc
On Sat, Aug 10, 2002 at 12:31:40AM -0400, Daniel Jacobowitz wrote:
> On Fri, Aug 09, 2002 at 03:46:31PM -0700, Richard Henderson wrote:
> > On Thu, Aug 08, 2002 at 05:22:04PM -0400, Phil Edwards wrote:
> > > I see that config.gcc recognizes athlon_mp as a machine name, but config.sub
> > > won't accept it. It later seems to look at a - instead of a _ but of course
> > > "athlon-mp" becomes "athlon-mp-pc-linux-gnu", and "mp" isn't a vendor.
> > >
> > > What triplet should I be using?
> >
> > At the moment there isn't one. Use -march=athlon-mp?
>
> Or ask someone to review:
> http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00203.html
> and use --with-cpu=athlon-mp.
Okay:
Hey, would someone kindly review
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00203.html
so that we can configure using --with-cpu=athlon-mp?
:-)
> (Actually, you can do it now: athlon_mp-pc-linux-gnu should work.)
config.gcc knows about it, but the toplevel/FSF config.sub does not.
It accepts "athlon" and "athlon-*", but the "*" replaces "pc". And then
"athlon-mp-linux-gnu" fails later tests. The athlon_* isn't accepted at all.
I'm the middle of patching it to accept the underscore forms now, but the
--with-cpu thing should go in regardless, it's very nice IMHO.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-08-10 11:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-08 14:22 How do we target Athlon MP? Phil Edwards
2002-08-09 15:46 ` Richard Henderson
2002-08-09 21:31 ` Daniel Jacobowitz
2002-08-10 11:26 ` Phil Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).