* [gentoo-alpha] optimization flags
@ 2005-12-14 16:04 Jeff Sacksteder
2005-12-14 16:17 ` Thomas Cort
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Sacksteder @ 2005-12-14 16:04 UTC (permalink / raw
To: gentoo-alpha
What level of optimizations flags are recommended?
Is the advice regarding flags for i386 in the official documentation
appropriate?
--
gentoo-alpha@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-alpha] optimization flags
2005-12-14 16:04 [gentoo-alpha] optimization flags Jeff Sacksteder
@ 2005-12-14 16:17 ` Thomas Cort
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Cort @ 2005-12-14 16:17 UTC (permalink / raw
To: gentoo-alpha
I use the flags from the Safe_Cflags article on the wiki (
http://gentoo-wiki.com/Safe_Cflag ). So far they haven't caused me any
headaches.
CHOST="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CXXFLAGS="${CFLAGS}"
> What level of optimizations flags are recommended?
On all of the Gentoo systems I've set up I've used -O2. I use it over
-O3 for a number of reasons. One, I cannot tell the difference in
terms of speed between something that is compiled with -O2 vs. -O3.
Two, emerge times are longer if you use -O3. Three, sometimes using
too many optimizations screws things up. (see
http://bugs.gentoo.org/74072 ).
-Thomas
--
gentoo-alpha@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-14 16:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-14 16:04 [gentoo-alpha] optimization flags Jeff Sacksteder
2005-12-14 16:17 ` Thomas Cort
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox