Program errors

cygwin@sourceware.cygnus.com cygwin@sourceware.cygnus.com
Mon May 31 21:10:00 GMT 1999


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



More information about the Cygwin mailing list