On Thu, 19 Jan 2006 19:24:18 -0800 Donnie Berkholz <[EMAIL PROTECTED]> wrote: | Mike Frysinger wrote: | > - we will set sane debug defaults in the base profile: | > * DEBUG_CFLAGS=DEBUG_CXXFLAGS="-O -g" | | On gcc-4, even -O can make it really hard to track stuff. Might want | -O0 instead. 4.1 gets even crazier.
-O1 -fno-inline-functions will give you better results with C++ code. Without -O1, g++ will skip some really basic optimisations that makes it even harder than usual to figure out what STL code is doing... -- Ciaran McCreesh : Gentoo Developer (King of all Londinium) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm
signature.asc
Description: PGP signature