[bugweek] A script to detect -mtune=i386 libraries

Dax Kelson dax at gurulabs.com
Mon Sep 27 16:50:01 UTC 2004


On Sat, 2004-09-25 at 18:09, Alan Cox wrote:
> On Sat, Sep 25, 2004 at 11:09:42PM +0200, Arjan van de Ven wrote:
> > in theory we compile all of fedora core with -mtune=i686 (or
> > -mtune=pentium4 nowadays). however that only actually happens if
> > packages propagate the RPM_OPT_FLAGS into the CFLAGS properly; almost
> > all but not quite not all packages actually do this.
> 
> I noticed a curiosity playing with this that perhaps the gcc folks can
> explain the right choice for - on Dothan -mtune=i686 is a lot faster than
> tuning for pentium4.

AFAIK there's a -march=pentium-m in gcc 3.4.x. Does that imply that
-mtune=pentium-m exists?

Dax 





More information about the fedora-devel-list mailing list