[fpc-devel] Profiling in Windows

Paul Ishenin ip at kmiac.ru
Mon Dec 7 02:49:27 CET 2009


Žilvinas Ledas wrote:

> I have downloaded and installed cygwin (1,7) under windows 7.
> I have put 
> C:\cygwin\lib\;C:\cygwin\bin\;C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\ 
> with -Fl option and I am trying to compile my program with -pg (using 
> Lazarus IDE), but I'm getting this error:
> 
> sint_LPC.lpr(311,1) Error: Failed reading coff file, invalid section 
> index while reading C:\cygwin\lib\libcygwin.a(_cygwin_crt0_common.o)

As Vincent I installed both mingw and cygwin to make it work :) I really 
don't know which one is used - maybe both. And I think you need to 
rebuild RTL with -pg switch.

Best regards,
Paul Ishenin.




More information about the fpc-devel mailing list