On Fri, Jul 23, 2010 at 11:37 PM, Rob Withers
<[hidden email]> wrote:
So I should run CroquetUnstripped.exe to
debug? I am a little confused by all the binaries.
You can use either Croquet.exe or CroquetUnstripped.exe. If footprint is a concern you deploy Croquet.exe and (if needed to debug in the field) grab a copy of CroquetUnstripped.exe, gdb Croquet.exe and say (gdb) file CroquetUnstripped.exe. If footprint isn't a concern just use CroquetUnstripped.exe.
The CroquetConsole.exe & its unstripped twin are there because WIndows divides binaries into those that run in their own window (effectively with no stdio) and those that in a console with stdio.
HTH
Eliot
Sent: Friday, July 23, 2010 1:06 PM
Subject: Re: [Vm-dev] debugging info
On Fri, Jul 23, 2010 at 5:14 AM, Rob Withers
<[hidden email]> 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