home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / g / help / 1405 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  2.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!agate!forney.berkeley.edu!jbuck
  2. From: jbuck@forney.berkeley.edu (Joe Buck)
  3. Newsgroups: gnu.g++.help
  4. Subject: Re: distributing programs created with g++
  5. Date: 6 Nov 1992 04:54:29 GMT
  6. Organization: U. C. Berkeley
  7. Lines: 36
  8. Distribution: usa
  9. Message-ID: <1dctq5INNi3r@agate.berkeley.edu>
  10. References: <1992Nov05.235245.11709@mixcom.com>
  11. NNTP-Posting-Host: forney.berkeley.edu
  12.  
  13. In article <1992Nov05.235245.11709@mixcom.com> calyx.corp <calyx.corp@mixcom.mixcom.com> writes:
  14. >Is it is possible to distribute programs for profit that are 
  15. >created with g++ and use the g++ libraries.  It is my understanding
  16. >that this can be done if a copyright string is included in the 
  17. >binary executable files.   It is also my understanding that this 
  18. >can be done without requiring the release of source code that 
  19. >we have created.  Is this correct?
  20.  
  21. Another item for the FAQ.
  22.  
  23. You don't have to release your source code.  But you need to go a
  24. lot further than just putting a copyright string into the executable.
  25.  
  26. Compiling your code with a Gnu compiler does not affect its copyright;
  27. it is still yours.  However, in order to ship code that links in a Gnu
  28. library such as libg++ there are certain rules you must follow.  The
  29. rules are described in the file COPYING.LIB that accompanies gcc
  30. distributions; it is also included in the libg++ distribution.
  31. See that file for the exact rules.  The agreement is called the
  32. Library Gnu Public License or LGPL.
  33.  
  34. Here's the deal: let's say that you use some version of libg++,
  35. completely unchanged, in your software, and you want to ship only
  36. a binary form of your code.  You can do this, but there are several
  37. special requirements.  If you want to use libg++ but ship only object
  38. code for your code, you have to ship source for libg++ (or ensure
  39. somehow that your customer already has the source for the exact
  40. version you are using), and ship your application in linkable form.
  41. You cannot forbid your customer from reverse-engineering or extending
  42. your program by exploiting its linkable form.
  43.  
  44. Furthermore, if you modify libg++ itself, you must provide source
  45. for your modifications (making a derived class does not count as
  46. modifying the library -- that is "a work that uses the library").
  47. --
  48. Joe Buck    jbuck@ohm.berkeley.edu
  49.