Ž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.

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to