delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/16/14:30:02

Message-ID: <3DADAFAC.10640FA5@cyberoptics.com>
Date: Wed, 16 Oct 2002 13:27:56 -0500
From: Eric Rudd <rudd AT cyberoptics DOT com>
Organization: CyberOptics
X-Mailer: Mozilla 4.76 [en] (Win95; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: symify problem
References: <3DAD80B7 DOT 98C390C1 AT cyberoptics DOT com> <3DAD8DD2 DOT A632564D AT phekda DOT freeserve DOT co DOT uk>
Lines: 25
NNTP-Posting-Host: 65.214.97.102
X-Trace: 1034792880 reader0.ash.ops.us.uu.net 21978 65.214.97.102
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019