delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/18/06:53:36

X-Spam-Check-By: sourceware.org
Date: Wed, 18 Jul 2007 12:53:12 +0200
From: "Hans Streibel" <streibel DOT 2006 AT gmx DOT net>
In-Reply-To: <20070718100058.203680@gmx.net>
Message-ID: <20070718105312.83940@gmx.net>
MIME-Version: 1.0
References: <20070718100058 DOT 203680 AT gmx DOT net>
Subject: Re: Own Compiled Program Immediately Crashes on Startup
To: cygwin AT cygwin DOT com
X-Authenticated: #31121696
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-GMX-UID: Kseod79IbUk7IhbS6GknY7xsZ2hlN8rR
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> > The package has an explanation on how to compile
> > jove under cygwin. I followed that explanation and
> > compiling, linking and installing went fine.
> > However the resulting program immediately exits when
> > I try to start it.
> > 
> > I even inserted a printf() statement at the very beginning
> > of the main() function but its text is not displayed.
> > Therefore there seems to be something going wrong at the very
> > beginning of the program.
> 
> It may be missing a DLL it needs.  Run "cygcheck </path/to/your/binary>"
> and see if the output lists anything missing.

$ cygcheck `pwd`/jjove.exe
C:/cygwin/home/hstreibel/private/src/jove/jove4.16.0.65/jjove.exe
  C:\cygwin\bin\cygncurses-8.dll
    C:\cygwin\bin\cygwin1.dll
      C:\WINDOWS\system32\ADVAPI32.DLL
        C:\WINDOWS\system32\ntdll.dll
        C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\RPCRT4.dll

That looks ok for me...

Hans

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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