[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i686



On Sun, 10 Mar 2002 21:19:46 +0100
MadCoder <pierre.habouzit@m4x.org> wrote:

> pour la plupart avec les options "-O3 -march=i686 -ffast-math 
> -finline-functions" (le -finline-functions sur tout pour les
> libs ou les petites applis, pas pour kdevelop par exemple)

je regarde pentiume-builder et le README.Debian indique :

"The way this package works is it diverts gcc, cc, g++, etc, with
shell scripts that, if the environment variable DEBIAN_BUILDARCH
is set and exported, call "gcc -m$DEBIAN_BUILDARCH". So with
DEBIAN_BUILDARCH=pentium set and exported, you build pentium
optimized binaries, without it set, you build normal i386
binaries.

It also specially interecpts dpkg's call to gcc
--print-libgcc-file-name ann munges the result to that dpkg
thinks the target architecture is the value of $DEBIAN_BUILDARCH"


Est-ce que quelqu'un peut/sait comparer les deux techniques ??
(apparemment, on touche à -march, -mcpu ...)

Et si je comprends bien, tu peux te construire facilement un
paquet madcoder-pentium-builder ;-) pour implémenter ta technique
de manière propre et transparente ... (inline-functions/fast-math
...)


A+
-- 
mailto:georges.mariano@inrets.fr     tel: (33) 03 20 43 84 06   
INRETS, 20 rue Élisée Reclus         fax: (33) 03 20 43 83 59   
BP 317 -- 59666 Villeneuve d'Ascq       
http://www3.inrets.fr/estas/mariano



Reply to: