From da100bec8ee019c9782fa983d480c1742022fead Mon Sep 17 00:00:00 2001 From: davidsb Date: Fri, 21 Sep 2001 18:20:21 +0000 Subject: [PATCH] new entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?" --- winsup/doc/how-programming.texinfo | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/winsup/doc/how-programming.texinfo b/winsup/doc/how-programming.texinfo index bb6f405f1d..a568c559e7 100644 --- a/winsup/doc/how-programming.texinfo +++ b/winsup/doc/how-programming.texinfo @@ -161,6 +161,19 @@ This is not to be confused with 'MinGW' (Minimalist GNU for Windows), which is a completely separate effort. That project's home page is @file{http://www.mingw.org/index.shtml}. +@subsection Can I build a Cygwin program that does not require cygwin1.dll at runtime? + +No. If your program uses the Cygwin API, then your executable cannot +run without cygwin1.dll. In particular, it is not possible to +statically link with a Cygwin library to obtain an independent, +self-contained executable. + +If this is an issue because you intend to distribute your Cygwin +application, then you had better read and understand +@file{http://cygwin.com/licensing.html}, which explains the licensing +options. Unless you purchase a special commercial license from +Red Hat, then your Cygwin application must conform to the GPL. + @subsection Can I link with both MSVCRT*.DLL and cygwin1.dll? No, you must use one or the other, they are mutually exclusive. -- 2.11.0