Postgres, WinNT and CygWin Licensing 5
BigJocker asks: "Im developing a program under Linux which connects to PostgreSQL. I want to port the software to WinNT, but i have read in the documentation that to make Postgres run on WinNT you have to use CygWin, which has a very particular license, is free if you distribute your code. If i want to sell my software (which is code-independant with PostgreSQL) for the WinNT OS, i have to compile Postgres with CygWin, and distribute the binaries along with the source code, so i keep the GPL license, but my software is distributed in binary form with a license from myself. Then, how do i distribute it? is there a way to do this? has anyone tried it? is it even legal? "
i'm no lawyer (Score:1)
The CygWin license (Score:1)
Re:The CygWin license (Score:1)
You need to re-read that section; one is not forced to release one's code under the GPL, UNLESS one incorperates GPL'ed code into one's own. This includes linking against it. If one wishes to release one's code under a different license, one my do so by removing all GPL'ed code (and probably rewriting those sections).
The Lesser GPL (LGPL -- used to be Library GPL) allows one to link against a library without one's code being considered a derivative work. glibc, for example, is LGPL'ed; the GNU readline library, on the other hand, like the CygWin library, is GPL'ed. If one links against a GPL'ed library, the resulting code is considered a derived work and one is required to GPL it (or, of course, not use the library). Not all libraries are, or should be, LGPL'ed, which is why they changed the name. The GNU web page [gnu.org] has a good discussion of these issues.