This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Program errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]