[fpc-pascal] profiler

Peter Vreman peter at freepascal.org
Sat Jul 2 23:18:40 CEST 2005


At 10:06 2-7-2005, you wrote:
>I have problems when compiling with -pg (profiler)
>
>Is this my fault or a compiler error?
>
>     P:\FmtBCD>ppc386 -a -pg -Croit         -Op1 testprof
>     Free Pascal Compiler version 2.1.1 [2005/06/25] for i386
>     Copyright (c) 1993-2005 by Florian Klaempfl
>     Target OS: Win32 for i386
>     Compiling testprof.pas
>     Assembling testp
>     Linking testprof.exe
>     o:\pp\bin\i386-win32\ld.exe: cannot find -lgcc
>     testprof.pas(5,5) Error: Error while linking
>     P:\FmtBCD>

Profiling under win32 has only be tested in the past under cygwin. Don't 
know if it still works. I only have used linux for profiling. From which 
the last 2 years were only with calltree&kcachegrind.




Peter





More information about the fpc-pascal mailing list