On Fri, Jul 23, 2010 at 5:14 AM, Rob Withers reefedjib@yahoo.com wrote:
How can I compile with debugging info under cygwin? I tried -g and it blew up on me.
Have a look at the Cog cygwin makefiles. They use -ggdb2 (-ggdb3 & -ggdb3 works too) and --add-gnu-debuglink to connect the stripped executable to the unstripped for debugging the stripped executable.
Thanks, Rob