<br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 5:14 AM, Rob Withers <span dir="ltr">&lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
How can I compile with debugging info under cygwin?  I tried -g and it blew up on me.<br></blockquote><div><br></div><div>Have a look at the Cog cygwin makefiles. They use -ggdb2 (-ggdb3 &amp; -ggdb3 works too) and  --add-gnu-debuglink to connect the stripped executable to the unstripped for debugging the stripped executable.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Thanks,<br><font color="#888888">
Rob <br>
</font></blockquote></div><br>