1 |
On Thu, 19 Jan 2006 19:24:18 -0800 Donnie Berkholz |
2 |
<spyderous@g.o> wrote: |
3 |
| Mike Frysinger wrote: |
4 |
| > - we will set sane debug defaults in the base profile: |
5 |
| > * DEBUG_CFLAGS=DEBUG_CXXFLAGS="-O -g" |
6 |
| |
7 |
| On gcc-4, even -O can make it really hard to track stuff. Might want |
8 |
| -O0 instead. 4.1 gets even crazier. |
9 |
|
10 |
-O1 -fno-inline-functions will give you better results with C++ code. |
11 |
Without -O1, g++ will skip some really basic optimisations that makes |
12 |
it even harder than usual to figure out what STL code is doing... |
13 |
|
14 |
-- |
15 |
Ciaran McCreesh : Gentoo Developer (King of all Londinium) |
16 |
Mail : ciaranm at gentoo.org |
17 |
Web : http://dev.gentoo.org/~ciaranm |