Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Daniel Franklin <joshuadfranklin@yahoo.com>2005-07-10 23:39:31 +0400
committerJoshua Daniel Franklin <joshuadfranklin@yahoo.com>2005-07-10 23:39:31 +0400
commit12d53ce6a001f9eafb81388987b2125268538234 (patch)
tree5a8a09a7ebb8a37fcb04d10c15b24bfa1f322631 /winsup/doc/how-programming.texinfo
parentf79359a5bc7354bb973396d3592e7b378fea59c1 (diff)
2005-07-10 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* cygwinenv.sgml: Update tty section to mention rxvt and xterm. * how-programming.texinfo: Update GPL section of VS FAQ. * how-using.texinfo: Expand FAQ about out of date pacakages. * setup-net.sgml: Add troubleshooting setup.exe section.
Diffstat (limited to 'winsup/doc/how-programming.texinfo')
-rw-r--r--winsup/doc/how-programming.texinfo13
1 files changed, 10 insertions, 3 deletions
diff --git a/winsup/doc/how-programming.texinfo b/winsup/doc/how-programming.texinfo
index a7dc8dff6..bd9b82d84 100644
--- a/winsup/doc/how-programming.texinfo
+++ b/winsup/doc/how-programming.texinfo
@@ -213,6 +213,15 @@ have our own Win32 headers which are pretty complete.
@subsection How do I use @samp{cygwin1.dll} with Visual Studio or MinGW?
+Before you begin, note that Cygwin is licensed under the GNU GPL (as
+indeed are all other Cygwin-based libraries). That means that if your
+code links against the cygwin dll (and if your program is calling
+functions from Cygwin, it must, as a matter of fact, be linked against
+it), you must apply the GPL to your source as well. Of course, this
+only matters if you plan to distribute your program in binary form. For
+more information, see @file{http://gnu.org/licenses/gpl-faq.html}. If
+that is not a problem, read on.
+
If you want to load the DLL dynamically, read
@code{winsup/cygwin/how-cygtls-works.txt} and the sample code in
@code{winsup/testsuite/cygload} to understand how this works.
@@ -268,9 +277,7 @@ void
@item Download crt0.c from the cygwin website and include it in
your sources. Modify it to call my_crt0() instead of
- cygwin_crt0(). Since you are using Cygwin source code, your
- resulting program will be licensed under the GNU GPL. For more
- information, see @file{http://gnu.org/licenses/gpl-faq.html}.
+ cygwin_crt0().
@item Build your object files using the MS VC compiler cl.