How can one use gprof under win32?
While it is possible to download one or another gprof, fpc reports linking error: "ld.exe: cannot find -lc".

Mailing lists / fpc-pascal / 2006-04
6 messages · 3 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
How can one use gprof under win32?
While it is possible to download one or another gprof, fpc reports linking error: "ld.exe: cannot find -lc".
gprof only works under cygwin Peter
Is there any common way of profiling under win32 with freepascal?
(One way is obvious: getting timestamps before/after long procedures, analyzing assembler output for little ones. But it's not an easy one.)
Using gprof is the only way that fpc provides. Peter
So, if I install cygwin, will error disappear?
How can one use gprof under win32? While it is possible to download one or another gprof,…
you wroteHow can one use gprof under win32? While it is possible to download one or another gprof, fpc reports linking error: "ld.exe: cannot find -lc".
gprof only works under cygwin
Peter
Is there any common way of profiling under win32 with freepascal? (One way is obvious:…
Using gprof is the only way that fpc provides.
Peter
gprof only works under cygwin Peter
I recently used it under MingW. The CodeBlocks IDE comes with it. The IDE also has a plugin to interpret the results. But mine was all C/C++ code. So, donno whether it works on code output by fpc.
Cheers,
Krishna