Re: C++ Optimization with g++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2004-02-20 at 01:12, David.Carter-Hitchin wrote:

> How can I find out why -O[0123] fails?  Is there a strategy I can follow
> or doc I should read?  Is there a "simple" way of debugging my way out of
> this situation, or is there no alternative to inspecting the assembly?

Profiling sounds like what you need.  Look up the -gp option which
switches the profile on and then gprof, there is also a kde program to
support this.

If you are on Intel Linux you might want to look up valgrind to trace
whether there are any memory problems.

-- 
Thanks
KenF
OpenOffice.org developer


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux