Xref: news-dnh.mv.net comp.os.msdos.djgpp:2538 Path: news-dnh.mv.net!mv!news.sprintlink.net!cs.utexas.edu!academ!bcm.tmc.edu!pendragon.jsc.nasa.gov!news.msfc.nasa.gov!cs.utk.edu!not-for-mail From: mwilliam AT cs DOT utk DOT edu (Myles Barrett Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: Stupid legal question - selling compiled programs? Date: 10 Oct 1995 15:39:38 -0400 Organization: CS Department, University of Tennessee, Knoxville Lines: 24 References: <45c93l$9qd AT nyx10 DOT cs DOT du DOT edu> Nntp-Posting-Host: duncan.cs.utk.edu To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp >I have read all the 'copying' readme files for the GCC compilers. What I >want to know is this. Can I sell a compiled program I wrote in C and >compiled using GCC? The use of GCC to compile a program places no restrictions on the distribution of that program. If you use the GNU C library to compile it (and with DJGPP, you do), you may sell it, but you must satisfy one of the following requirements specified in the GNU Library General Public License (LGPL) a. Accompany the program with complete source code for the library, and object code for your program (in an object format of your choice, and a copy of the GNU LGPL; b. Offer (in writing) to provide the above materials at a charge not greater than the cost of distributing the materials; or c. Distribute your program without the above materials, under a license that gives the user explicity permission to 'hack' the compiled program for personal use. See the LGPL (The filename is COPYING.LIB) for details. Myles Williams "When you see me again, it won't be me."