This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with profiling library


You'd talked a bit about throwing these flags into the --enable-debug
mix. I (still) think this is a good idea, if you want to add it.

>cd <build>/i686-pc-linux-gnu/libstdc++-v3
>make clean
>make CXXFLAGS='-O2 -pg -fprofile-arcs -ggdb3' install

I used

CXXFLAGS='-pg -O0 -g'

And it worked. I'm using a 20030216 toolchain at the moment to debug.
See debug/11325.

Although, I've got to say, I'm sold on oprofile for accurate profiling.
If you're interested, I can give you details in a separate email about
how to get it set up (very convoluted).

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]