Mail Archives: djgpp/2002/10/16/14:30:02
Richard Dawe wrote:
> Try explicitly building it with COFF debugging information, using -gcoff
> instead
> of -g.
Yes, I just tried it and it works for me, too. Unfortunately, I've got -g in
makefiles all over the place, and I don't want to change them all. Is there a
way to change the default debug format of gcc from DWARF2 to COFF? I thought
that changing
*asm_debug:
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}
to
*asm_debug:
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gcoff}}
in the "specs" file would fix the problem, but it appeared to have no effect. I
don't really understand the format in that file. Is it documented somewhere?
-Eric Rudd
rudd AT cyberoptics DOT com
- Raw text -