Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <379007D7.6AE87E90@geekspace.com> Date: Sat, 17 Jul 1999 00:34:31 -0400 From: Joshua Rosen Organization: GEEKS X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en,ja,no MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: -mwindows copyright? References: <721fd2d7 DOT 24c0eaa5 AT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit PositivePi AT aol DOT com wrote: > > Hi.. > > I'm using the -mno-cygwin and -mwindows options to compile my program. I'm > also binding to several other windows libs such as -lwsock32. I want to > distribute my programs--as well as source--entirely public domain. The > copyright on all of the mingw libraries seems to be public domain, so I'm ok > there. But looking at the windows libraries in the source, some of them have > copyrights such as winsup/sysdef/wsock32.def: > --snip-- > ; Exports for WSOCK32 DLL > ; > ; Copyright (C) 1996 Free Software Foundation, Inc. > ; > ; Author: Scott Christley > ; Date: 1996 > ; > ; This file is part of the Windows32 API Library. > ; > ; This library is free software; you can redistribute it and/or > ; modify it under the terms of the GNU Library General Public > ; License as published by the Free Software Foundation; either > ; version 2 of the License, or (at your option) any later version. > --snip-- > Does this mean that if I use -mwindows/-lwsock32 I either have to distribute > my program under GNU, or write my own .def's for windows API? (which I > imagine would be a minor pain) If you read the LGPL, it's explained pretty clearly that, so long as your work doesn't *contain* parts of GPL'd code (or X-licensed code from someone else), your work isn't a `derivative work', and is in no way affected by the license of another work (unless, of course, the other work has a license that specifies `things that make use of this tool...', which the LGPL doesn't). If you link statically (the linker copies the libraries into your executable), then the *executable* is a derivative work, and gets the GPL. DLL's are, however, by definition, *dynamically* linked (which is to say, `not statically linked;)'). If you're distributing source code that doesn't include GPL'd code, then just forget about the licensing issues and get on with it--you're safe. If you're distributing binaries (of a programme, not a library), then it shouldn't really matter whether the *binaries* are GPL'd or public domain--they seem to be pretty much the same thing, in that case, because there's not a lot that one can typically do to create derivative works of the binary (unless one is into hacking on machine code). -Rozzin. . o O ( one could convert the machine code to code for a different architecture.... Isn't the `machine code' effectively `source code', then? Oh my..., what thoughts.... ) -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com