diff options
author | David Starks-Browning <starksb@ebi.ac.uk> | 2001-09-21 22:20:21 +0400 |
---|---|---|
committer | David Starks-Browning <starksb@ebi.ac.uk> | 2001-09-21 22:20:21 +0400 |
commit | 99059a8c3801cc5992a221f422d2741b1d7fe7ca (patch) | |
tree | fca00c37d8d268552af79a78e3356a868120a694 /winsup | |
parent | fc08ed56c32836a454f978eca6851fa98ffb703e (diff) |
new entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?"
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/doc/how-programming.texinfo | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/winsup/doc/how-programming.texinfo b/winsup/doc/how-programming.texinfo index bb6f405f1..a568c559e 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. |