(...)
> Merci, sur le forum de Unixtech Yop � post� ce lien int�ressant:
> http://www.freehackers.org/gentoo/gccflags/
>
> - --
> # Fabian Vilers
> # [EMAIL PROTECTED]
> # http://fabianvilers.linux-fan.com
> #
> # Powered by Gentoo
> # GnuPG Key ID: 0x7F52B5F6
> # Available at http://pgp.ael.be - http://belgium.keyserver.net
>
> Didier> ok, mais un truc m'�tonne qd m�me !
>
> http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html
>
> ------------------
> This page is for those who don't want to experiment, want a
> stable system,
> but still optimized for their processor. Be careful, by using
> those flags,
> binaries from your system might not work on another one. So if you
> compiled with those flags optimized for p4, you cant send a
> tbz2 or share
> a hard disk with a friend who only has a pentium MMX.
> ------------------
>
> �a me semble d�bile �a?
> Ce n'est pas parce que le kernel, les utilitaires, gzip, etc,
> seraient
> compil�s pour un Pentium MMX qu'un autre PC non mmx serait
> incapable de
> d�compresser le fichier bz2 par ex !???
>
> De plus, si de telles limitations et probl�mes de compatibilit�s
> existaient, �a se saurait je pense?
>
> --
> Didier
>
En fait, si tu optimises pour un athlon, gcc utilisera parfois des instructions propre � ce cpu afin d'acc�lerer le tout, donc ton binaire compil� pour athlon, ne fonctionnera (peut-etre) pas sur un p4. Je pense aussi (a verifier) que si tu utilises -mcpu=athlon ca fonctionnera partout mais optimis� pour athlon (binaire plus lourd), par contre -march=athlon donnera une optimisation uniquement pour ahtlon.
Fabian
This electronic transmission and any attached document is intended exclusively for the person or entity to whom it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you receive this message in error, please contact the sender and delete the material from any and all computers. SPEOS does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays.

