Jonas Maebe wrote:

On 25 apr 2006, at 19:56, Пётр Косаревский wrote:

But the result is useless without Valgrind (no more useful than a
regularly compiled binary at least), just like compiling with -gd is


Just as compiler without a linker.


I hope you can see the difference between a linker, which is needed no matte how you want to use the compiler, and a tool like Valgrind or gprof.


With this difference, compiling -gv succeeds, even if Valgrind is not installed. Compiling -pg fails, if gprof/cygwin is not installed.

One might argue, that this is a good thing, compiling with -pg without having gprof is useless anyway.

Vincent.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to