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 |