dmd -gc flag

Bill Baxter dnewsgroup at billbaxter.com
Thu Feb 14 20:10:20 PST 2008


BCS wrote:
> Reply to Bill,
> 
>> What's the point of DMD's -gc flag?  What does it do differently from
>> -g and why would that be preferred to -g?
>>
>> --bb
>>
> 
> it makes DMD emit C debugging data (it clames ot be c) and it's so that 
> d can be debued with a C debugger.
> 
> 

So basically you'd only want that if you aren't using a real 
D-supporting debugger like zerobugs or ddbg?

It seems to be the flag of choice for Linuxy folks, so I guess that's 
because they use gdb for debugging?

--bb


More information about the Digitalmars-d-learn mailing list