www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - dmd -gc flag

reply Bill Baxter <dnewsgroup billbaxter.com> writes:
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
Feb 14 2008
parent reply BCS <ao pathlink.com> writes:
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.
Feb 14 2008
next sibling parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
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.
Oh, BCS. Now that I have your attention could you add me to scrapple? --bb
Feb 14 2008
parent reply BCS <ao pathlink.com> writes:
Reply to Bill,

 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.
Oh, BCS. Now that I have your attention could you add me to scrapple? --bb
what's your unsername?
Feb 15 2008
parent reply Paul Findlay <r.lph50+d gmail.com> writes:
 what's your unsername?
Umm, I believe it is baxissimo :) - Paul
Feb 15 2008
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Paul Findlay wrote:
 what's your unsername?
Umm, I believe it is baxissimo :) - Paul
Yes :) I sent BCS an email tellin' him so. --bb
Feb 15 2008
next sibling parent Paul Findlay <r.lph50+d gmail.com> writes:
 Yes  :)  I sent BCS an email tellin' him so.
Ah, sorry. Forgot a whole private world exists - Paul
Feb 15 2008
prev sibling parent BCS <ao pathlink.com> writes:
Reply to Bill,

 Paul Findlay wrote:
 
 what's your unsername?
 
Umm, I believe it is baxissimo :) - Paul
Yes :) I sent BCS an email tellin' him so. --bb
your in, but your e-mail didn't get here (the address I use for posting is bogus)
Feb 16 2008
prev sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
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
Feb 14 2008