Skip site navigation (1)Skip section navigation (2)
Date:      23 Dec 2005 09:40:03 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cflags and other compiling questions.
Message-ID:  <44acer3mik.fsf@be-well.ilk.org>
In-Reply-To: <20051222125729.08216ce5.kristian@struer.net>
References:  <20051222125729.08216ce5.kristian@struer.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Kristian M / Struer.Net / Drift" <kristian@struer.net> writes:

> I'm kinda new to freebsd, i have been running Gentoo linux for a long time, and know you can optimize your programs if you compile them your self, i have already an portage collection, (witch i update with cvsup-without-gui) this works perfectly, but my question is, how can i optimize the programs?
> 
> >From gentoo, i have Cflags and march values, example, -march can be set to pentium4 if this is the kind of cpu you have, and then the programs will be compiled with optimizations for this kind of cpu. I actually dont know for sure if this helps (performance, stability, anything) but it would be nice to know.
> 
> Maybe someone can point me to some homepage or guide but it have to be simple as i dont have much time to do everything the right way, by reading all the welldocumentated stuff out there (although it would properly be for the best).

If you don't have much time to learn about it, then don't bother with
anything at all; the possible gains will generally be too small to
make much difference anyway.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44acer3mik.fsf>