[fpc-pascal] profiler
Florian Klaempfl
F.Klaempfl at gmx.de
Sat Jul 2 10:54:33 CEST 2005
Gerhard Scholz 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>
You need libgcc from e.g. cygwin. But I must admit, I'am not sure if
profiling using gprof works on win32. I usually profile under linux
using callgrind.
>
> Gerhard
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list