Mail Archives: cygwin/2002/12/21/20:04:04
John,
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
Cygwin1.dll.
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!
Randall Schulz
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.
>
>--
>John Seeliger
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -