Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alpha
Navigation:
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alpha@g.o
From: Thomas Cort <linuxgeek@...>
Subject: Re: optimization flags
Date: Wed, 14 Dec 2005 11:17:18 -0500
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@g.o mailing list


References:
optimization flags
-- Jeff Sacksteder
Navigation:
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
optimization flags
Next by thread:
rsync timeouts
Previous by date:
optimization flags
Next by date:
rsync timeouts


Updated Jun 17, 2009

Summary: Archive of the gentoo-alpha mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.