delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/02/12:37:22

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: Tue, 2 Sep 2003 09:34:46 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: xuzhd AT Lenovo DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: How to let program running without cygwin environment???
In-Reply-To: <OFDB588AB3.9B66D963-ON48256D94.0044DB06@legend.com.cn>
Message-ID: <Pine.GSO.4.56.0309020931020.601@slinky.cs.nyu.edu>
References: <OFDB588AB3 DOT 9B66D963-ON48256D94 DOT 0044DB06 AT legend DOT com DOT cn>
Importance: Normal
MIME-Version: 1.0

On Mon, 1 Sep 2003 xuzhd AT Lenovo DOT com wrote:

> I wrote a C program using cygwin, and I hope I can minimize my install
> package only including my program and the pre-requisite files such as
> cygwin1.dll, ipc-daemon.exe and so on. I had thought that I realized my
> goal, but I found that my program didn't run stably after some long-term
> tests. I also let my program running under machines installed with
> cygwin, and the results are stable though the test time is not very
> long. I wonder if there are some important files ingored by me?

Run "cygcheck yourprog.exe".  This should show you all the DLLs that your
program expects to find at runtime.

It is generally recommended that you use setup.exe to install Cygwin on
the machines you'll be running Cygwin programs on, rather than copy the
files by hand.  If you feel adventurous, you could try compiling your
program using MinGW, by adding a "-mno-cygwin" flag to gcc, but be aware
that you won't be getting full POSIX emulation (in particular, if your
program uses shared memory, you'll *have* to use Cygwin, AFAIK).
	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