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.
Regards,
Adriaan van Os