Gentoo Archives: gentoo-dev

From: "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Replacing cpu-feature USE flags
Date: Thu, 06 Jul 2006 12:48:35
Message-Id: 200607061444.23014@enterprise.flameeyes.is-a-geek.org
In Reply to: Re: [gentoo-dev] Replacing cpu-feature USE flags by "Kevin F. Quinn"
1 On Thursday 06 July 2006 14:35, Kevin F. Quinn wrote:
2 > This could easily be done by configure
3 > scripts; perhaps it would be a good idea to look into writing some
4 > autoconf macros.
5 Actually there's little need, you can simply use the #ifdef in the code,
6 unless you have separated source files for MMX, SSE and so on (that might as
7 well be), but even then, it's really trivial to autoconf.
8
9 The problem is that many autoconf scripts do it the other way around, by
10 forcing -march or -mcpu (that is deprecated by -mtune too) deduced
11 from /proc/cpuinfo.
12
13 --
14 Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
15 Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

Replies

Subject Author
Re: [gentoo-dev] Replacing cpu-feature USE flags "Kevin F. Quinn" <kevquinn@g.o>