Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Huggins-Daines <dhd@linuxcare.com>
To: axp-list@redhat.com
Subject: Re: different alpha cpu compatibility issues?
Date: 28 Mar 2000 15:15:51 -0500	[thread overview]
Message-ID: <87bt3ysvew.fsf@saison.thepuffigroup.com> (raw)
In-Reply-To: Eric Ding's message of "Tue, 28 Mar 2000 14:59:45 -0500"

Eric Ding <ericding@applix.com> writes:

> OK, so here's the followup question -- how to compile specifically for EV4?

To quote the info file:

`-mcpu=CPU_TYPE'
     Set the instruction set, register set, and instruction scheduling
     parameters for machine type CPU_TYPE.  You can specify either the
     `EV' style name or the corresponding chip number.  GCC supports
     scheduling parameters for the EV4 and EV5 family of processors and
     will choose the default values for the instruction set from the
     processor you specify.  If you do not specify a processor type,
     GCC will default to the processor on which the compiler was built.

That's not exactly true though, you just have to be careful to
configure the compiler with 'alpha-linux' instead of, say,
'alphaev6-linux' as the target.  Just typing './configure && make
bootstrap' isn't good enough. If your distribution doesn't do this,
then you might want to find a new one.

To be sure, compile with -mcpu=ev4 or -mcpu=ev5.  You probably want
-mcpu=ev5, because the only difference is the instruction scheduling,
and EV5 scheduling is better for the majority of machines out there
these days.

-- 
David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc.
613.562.1239 desk, 613.223.0225 mobile
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.


  reply	other threads:[~2000-03-28 20:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-28 19:21 different alpha cpu compatibility issues? Hoover, Tony
2000-03-28 19:59 ` Eric Ding
2000-03-28 20:15   ` David Huggins-Daines [this message]
2000-03-28 20:38     ` warp
2000-03-28 20:35   ` Jay Estabrook
2000-03-28 20:00 ` Jay Estabrook
  -- strict thread matches above, loose matches on Subject: below --
2000-03-28 18:43 Eric Ding
2000-03-28 19:12 ` warp
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox