Changing CFLAGS for i386 packages on x86_64(benchmarks included)

Kevin Kofler kevin.kofler at chello.at
Tue Jul 18 10:42:28 UTC 2006


dragoran <dragoran <at> feuerpokemon.de> writes:
> the last one (-m64) is weird (much slower!!) no -OX was used.

Then your benchmarks are essentially worthless. Sorry, but since GCC defaults 
to -O0, which means no optimization whatsoever, i.e. very bad code, you should 
NEVER compile production code without an -O flag (generally -O2 or -Os), and 
especially not benchmarks!

So please rerun your benchmarks with -O2 to get more useful results.

        Kevin Kofler




More information about the fedora-devel-list mailing list