public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to let program running without cygwin environment???
@ 2003-09-02  2:11 xuzhd
  2003-09-02 13:34 ` Igor Pechtchanski
  0 siblings, 1 reply; 2+ messages in thread
From: xuzhd @ 2003-09-02  2:11 UTC (permalink / raw)
  To: cygwin

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?


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to let program running without cygwin environment???
  2003-09-02  2:11 How to let program running without cygwin environment??? xuzhd
@ 2003-09-02 13:34 ` Igor Pechtchanski
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Pechtchanski @ 2003-09-02 13:34 UTC (permalink / raw)
  To: xuzhd; +Cc: cygwin

On Mon, 1 Sep 2003 xuzhd@Lenovo.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@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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-02 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-02  2:11 How to let program running without cygwin environment??? xuzhd
2003-09-02 13:34 ` Igor Pechtchanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).