delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/24/19:17:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 24 Oct 2003 19:16:55 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Benjamin Cutler <deblob AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problem with a Cygwin App - Broken on a pristine system until
I install Cygwin, cygwin1.dll doesn't seem to be enough
In-Reply-To: <20031024230725.15635.qmail@web41205.mail.yahoo.com>
Message-ID: <Pine.GSO.4.56.0310241915540.11370@slinky.cs.nyu.edu>
References: <20031024230725 DOT 15635 DOT qmail AT web41205 DOT mail DOT yahoo DOT com>
Importance: Normal
MIME-Version: 1.0

On Fri, 24 Oct 2003, Benjamin Cutler wrote:

> I have a program that I originally wrote on Linux, and compiled with
> cygwin to make a Windows binary. The problem is that the Windows binary
> won't work properly on a system that doesn't have cygwin installed on
> it. It seems to not be using fread and fwrite correctly, or it's having
> some weird problem with pointers that I can't figure out. The problem is
> that as SOON as I install Cygwin onto a system, the executable works
> perfectly, even though I don't change anything directly related to the
> program itself.
>
> The program is using SDL, if that makes any difference, and cygwin1.dll
> is the latest version in all my test cases. So far on every machine I've
> tried it on this has been the case, where it won't work properly until
> I've installed cygwin. What might cygwin be installing that suddenly
> lets the program work right that I need to be distributing with my
> program besides cygwin1.dll?

"cygcheck yourprogram.exe" should tell you all the DLLs that your program
directly or indirectly depends on.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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