User forums > Using Code::Blocks
Code Profiler: Problem with gprof under WINDOWS
zak:
PLEASE,
HELP ME!!
mandrav:
--- Quote from: zak on June 09, 2008, 03:09:32 pm ---In the Windows version i don't need link with libgprof.a, there is a Profiler.dll file
in the directory C:\Programmi\Codeblocks\Share\Plugins.
--- End quote ---
What does profiler.dll (the C::B plugin) has to do with libgprof.a ?!?
You must link your app with libgprof.a if you want to profile it.
zak:
Thanks very much for the reply.
Were is libgprof.a???
mandrav:
--- Quote from: zak on June 11, 2008, 11:51:45 am ---Thanks very much for the reply.
Were is libgprof.a???
--- End quote ---
See? You confused me too :)
It's libgmon.a.
Jenna:
--- Quote from: mandrav on June 11, 2008, 11:20:03 am ---
--- Quote from: zak on June 09, 2008, 03:09:32 pm ---In the Windows version i don't need link with libgprof.a, there is a Profiler.dll file
in the directory C:\Programmi\Codeblocks\Share\Plugins.
--- End quote ---
What does profiler.dll (the C::B plugin) has to do with libgprof.a ?!?
You must link your app with libgprof.a if you want to profile it.
--- End quote ---
--- Quote from: mandrav on June 11, 2008, 02:36:53 pm ---
--- Quote from: zak on June 11, 2008, 11:51:45 am ---Thanks very much for the reply.
Were is libgprof.a???
--- End quote ---
See? You confused me too :)
It's libgmon.a.
--- End quote ---
Linking with libgmon.* should be done automagically.
It happens at least on my WinXP system at work, but the profiling does not work, or more exact, it works for me on linux, but not on WinXP (the calls are counted, but not the times).
@ zak:
libgmon.a is in <MinGW-root>/lib
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version