C++ Optimization with g++
Ken Foskey
foskey@optushome.com.au
Thu Feb 19 21:48:00 GMT 2004
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
More information about the Gcc-help
mailing list