Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Microsoft

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? "
This discussion has been archived. No new comments can be posted.

Postgres, WinNT and CygWin Licensing

Comments Filter:
  • worse yet, i'm a bit of a source-code communist, but here's my take on it. if your program just uses the database and isn't integrally tied to it, then it should be ok. technically speaking, you can make an argument that the client library is a seperate entity from the database server in general, so even though you have to give out the source to the database server (which already is free! free! free!, not GPL "free"), you shouldn't have to give the source to your main application. worst case, fork the source and use the new library to access the old database. just claim the new library is "compatible" with the old database, not an "integral part" of it because it came from a different source fork before it was tainted by the GPL. sounds like underhanded legal garbage bundled with absurd technicalities, but, hey, what legal garbage isn't? while i'm at it, always remember to ignore clueless AC's & check the mailing lists -- there was a thread on that a while back, but i didn't get involved, so i don't know what was said. heck, it could have been you that asked the question there & didn't get any answers, so you asked here.
  • This license is neither weird nor confusing. When one compiles using the cygwin compiler, one may either link to the CygWin unix-emulation library or to one of the microsoft libraries that exist on all win32 systems. The CygWin library is GPL'ed, so if one links to it, the resulting code must be GPL'ed. If this is not acceptable, one may either use the -mno-cygnus option to link to the MS libraries or pay Cygnus for a commercial license to the CygWin library.
  • Not according to the letter Stallman wrote to Linuxworld -- in it he states that you can't be forced to release all of the resulting code under the GPL -- only the part that is actually GPL'd.

    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).

    And anyway, doesn't the GNU library license specifically allow that linking to GPLL'd libraries does not constitute a 'derived work'? As I recall that was a major impediment to commericial use of GCC, resulting in the library license.

    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.

Money will say more in one moment than the most eloquent lover can in years.

Working...