pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: C compiler flags



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



Home | Main Index | Thread Index | Old Index