Subject: Re: C compiler flags
To: Ricardo Cervera Navarro <ricardodirecto@gmail.com>
From: Geert Hendrickx <ghen@NetBSD.org>
List: pkgsrc-users
Date: 11/14/2006 11:25:27
On Tue, Nov 14, 2006 at 12:08:49AM +0100, Ricardo Cervera Navarro wrote:
> Hi!
> 
> 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.

	Geert