This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with a Cygwin App - Broken on a pristine system untilI install Cygwin, cygwin1.dll doesn't seem to be enough
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Benjamin Cutler <deblob at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 24 Oct 2003 19:16:55 -0400 (EDT)
- Subject: Re: Problem with a Cygwin App - Broken on a pristine system untilI install Cygwin, cygwin1.dll doesn't seem to be enough
- References: <20031024230725.15635.qmail@web41205.mail.yahoo.com>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/