delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/29/18:22:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: cygwin AT sourceware DOT cygnus DOT com
Date: Sat, 29 May 1999 18:21:18 -0400
Message-Id: <199905292221.SAA00982@rtl.cygnus.com>
X-Authentication-Warning: trixie.bosbc.com: localhost [127.0.0.1] didn't use HELO protocol
To: cygwin AT sourceware DOT cygnus DOT com
Subject: 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019