Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] x86-64 arch specfile not x86-64

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] x86-64 arch specfile not x86-64
  • Date: Mon, 4 Apr 2005 19:34:58 -0700

On Mon, Apr 04, 2005 at 10:24:20PM -0400, David Michael Leo Brown Jr. wrote:
>
> I was looking at the x86-64 specfile and was surprised to see that it wasn't
> x86-64 the -march flag was set to k8 for gcc 3.4, when it should be x86-64.
>
> I understand that there's some people in sourcemage who have amd64
> processors
> however, I don't, I have the intel version that uses the x86-64
> specifications
> (called extended memory 64 technology)
>
> gcc doesn't have em64t as a valid arch spec (not even in v4.1) the closest
> thing I
> can pass to gcc is x86-64
>
> I would propose a change to the specfiles and move the current x86-64 and
> x86-32
> to k8-64 and k8-32, and change the x86-64 and x86-32 to the more generic
> -march=x86-64, also I would change the x86-[64,32] gcc 3.3 to
> -march=pentium4
>
> This way would provide arch specs for both amd and intel implementations of
> the
> arch specification x86-64.
>

What would the HOST variable be for each of the archspecs?

Im going to take this opportunity to make a plug for moving archspecs
(at least new ones) to a spell. Everytime theres a new arch sorcery has
to be updated and a new version released, quite often releasing a new
sorcery for just an archspec is a big ordeal, furthermore outdated or
incorrect archspecs are quite often a sore-spot for people with newer
architectures who also cant use devel sorcery. So, I propose that future
archspecs go into a spell and I can make sorcery look in multiple places
for archspecs and use the spell location in preference to its own.

-Andrew

--
__________________________________________________________________________
|Andrew D. Stitt | astitt at sourcemage.org |
|irc: afrayedknot | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus | acedit at armory.com |
|Sorcery Team Lead | ftp://t.armory.com/ |
--------------------------------------------------------------------------

Attachment: pgpct8_jZvPvK.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page