DragonFly users List (threaded) for 2007-02
Re: CPUTYPE and gcc optimizations
It depends whether it appears to speed up the code you are compiling
up or not! And the only way you will know this is if you try it.
Although benchmarks tend to lie anyway and "magic bullets" not exist.
The best way of doing this, at least for packages, would be to port
so that it works with DragonFly
I have modified for my system
CFLAGS+=-march=pentium3 in the BSD_PKG_MK section of /etc/mk.conf
This seems to speed up ubench anyway.
I doubt there is much point in setting it for kernel compiles,
although perhaps world.
To be honest playing with GCC optimisation flags rarely seems to speed
up stuff in the real world that much and increases the chance of
On 2/11/07, Petr Janda <email@example.com> wrote:
I'm wondering if its good o set CPUTYPE for extra optimization, or if
its ok to set any other extra compiler optimizations other than the