On Jul 2, 2005, at 17:18, Peter Vreman wrote:
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.
Was the profiling tested under OS X?
Assembling tfmtbcd
Linking TFMTBCD
/usr/bin/ld: unknown flag: -dynamic-linker=
TFMTBCD.pp(328,4) Error: Error while linking
Error: /usr/local/bin/ppcppc returned an error exitcode (normal if you
did not specifiy a source file to be compiled)
Thanks
Jan
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal