Subject: Re: C compiler flags
To: Ricardo Cervera Navarro <firstname.lastname@example.org>
From: Geert Hendrickx <ghen@NetBSD.org>
Date: 11/14/2006 11:25:27
On Tue, Nov 14, 2006 at 12:08:49AM +0100, Ricardo Cervera Navarro wrote:
> I am using:
> CFLAGS+=-O2 -march=athlon
> in my /etc/mk.conf. But the problem is that I realized that I wanted
> this setting after compiling a large amount of software.
> My question is: Is it worth it (from the performance point of view) to
> recompile all those packages again with -march=athlon? It's because I
> have compiled octave with this setting and I had never seen it running
> that fast. Maybe it is just a misperception ;)
It will only make a (noticable) difference for CPU-intensive programs.
Octave is a good example. Don't bother recompiling the rest.