This is the mail archive of the
mailing list for the Cygwin project.
Re: Running cygwin built programs in Windows XP
- From: Randall R Schulz <rrschulz at cris dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 21 Dec 2002 17:03:46 -0800
- Subject: Re: Running cygwin built programs in Windows XP
Cygwin is a POSIX emulation environment for Windows. By default, the C /
C++ compiler, linker and libraries all supply some portion or aspect of
that emulation and the primary runtime component of the emulation is the
If you want to create "Windows-native" applications using Cygwin tools but
which will not be "Cygwin executables" (i.e., that will be independent of
Cygwin during execution) there's a compiler option "-mno-cygwin" which
triggers a whole series of variant compilation and linking procedures
designed to produce executables that are independent of the Cygwin runtime.
It sounds like that's the option you need to use to achieve the results you
desire. If, however, you want a program that has all the POSIX capabilities
provided by Cygwin itself, then you're bound to executing in a Cygwin
environment, and that means at an absolute minimum, the presence of
Cygwin1.dll and, if you're distributing this software, conformance with the
Cygwin license's redistribution terms.
The horns of a dilemma, you say? Nonsense! It's the best of both worlds!
At 16:41 2002-12-21, John Seeliger wrote:
How do I run a program that I built with gcc under Cygwin in Windows? When
I try to run them, it says it can't find cygwin1.dll.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html