gprof with mingw-4.4.1 and wxwidgets 2.8.11 |
|
Hi NG,
i would like to get some profiling-information from my mingw32 build of my
app which is using wxwidgets. Does anyone has experiences to do this using
the windows toolchain?
If i enable profiling (-pg in the commandline of the compiler and linker)
the build application will crash. Without wxwidgets, profiling will work
fine (tested with some simple sample-code)
wxwidgets was built as a release version without any debug-information and
without profiling-support as i only need those data for my only code.
Where can i find more information about this? Google doesn't show me the
right answers.
Thanks
|
Re: gprof with mingw-4.4.1 and wxwidgets 2.8.11 |
|
Am Fri, 3 Sep 2010 23:38:56 +0200 schrieb Georg Kirschner:
> If i enable profiling (-pg in the commandline of the compiler and linker)
> the build application will crash. Without wxwidgets, profiling will work
> fine (tested with some simple sample-code)
Got some news/workaround:
Profiling will work if i add the library "gmon" at the beginning of the
used libraries.
libgmon.a is bundled with mingw and i thought that it will be linked if i
use the -pg switch on the linker command-line, hmm? but now it work's, who
care's.
|