Pelles C forum

Pelles C => General discussions => Topic started by: Sneddles on March 02, 2017, 12:12:01 AM

Title: Selecting Linker Debug Info Option
Post by: Sneddles on March 02, 2017, 12:12:01 AM
The linker tab has three options for setting the debug information to use, but I can't find any information about which one I should use.

I'm running Windows 7 64Bit with Pelles C 8.0.
I selected CodeView format and it seems to work just fine.

As I understand it, CodeView and COFF are different binary formats for the roughly the same debug info.
So I was surprised by the "CodeView and COFF format" option.

So my question: "is one particular option preferred when all development is done with Pelles C?"

Namaste
Title: Re: Selecting Linker Debug Info Option
Post by: frankie on March 08, 2017, 09:26:36 PM
I think this is an old times option.
The COFF debug info are the standard debug info taken from the original COFF spec. They are normally used from PE (see MS PECOFF (https://www.microsoft.com/en-us/download/details.aspx?id=19509) specification).
Then  for all more specific debug info the CODEVIEW info are used.
To debug with max performance you should select COFF+CODEVIEW.