Adriaan van Os a écrit:
Does gpc support the COFF debug format ?
[G4:~/testgpcadriaan] adriaan% i386-mingw32msvc-gcc hello.c -o hello.exe -gcoff [G4:~/testgpcadriaan] adriaan% i386-mingw32msvc-gpc hello.pas -o hello.exe -gcoff /var/tmp//ccESsNAv.s: Assembler messages: /var/tmp//ccESsNAv.s:275: Fatal error: C_EFCN symbol out of scope
I noticed that the default for MinGW is stabs, but the advantage of COFF is that it can be read by WinDbg.
COFF originally was the default debug format for DJGPP. I had seen similar error messages at a time, after a change of gcc version. I have changed since then to stabs because it gives better debugging information, and default in DJGPP is now dwarf-2, which I have not followed, due to the need to include pascal patches for gdb indicated by waldeck in his web page (I use rhide, which includes its own (unpatched) gdb, and never tried to compile it). Keeping alive old tools is frequently a problem.
Maurice