This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Program errors
- To: cygwin@sourceware.cygnus.com
- Subject: Re: Program errors
- From: cygwin@sourceware.cygnus.com
- Date: Sat, 29 May 1999 18:21:18 -0400
On Fri, May 28, 1999 at 04:07:26PM +0000, James Woodcock wrote:
>I am currently trying to convert our companies product from various Unix
>systems. I am trying to compile one program (that is archaic) & works
>fine
>under Linux, Solaris etc, etc. Under Windows it crashes before it gets
>to
>main(). I think it also crashes before it gets to mainCRTStartup(). If
>I set
>"STRACE=1", then run the program I get no debug output (it crashes
>before even that
>kicks in). Does anybody know what might cause this or how to fix it?
This would be one of the many cases where running the program under gdb
would probably prove useful.
That's how you debug programs on UNIX and it's how you debug programs
under Cygwin, as well.
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com