Date: Tue, 10 Oct 1995 15:32:37 -0500 (CDT) From: Aaron Ucko Subject: Re: Stupid legal question - selling compiled programs? To: ken AT rahul DOT net Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Organization: Rockhurst College; Kansas City, MO >> 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 output of GCC itself is not a problem; you can pretty much do what >you want with it. The problem is the libraries. These are covered by the >GNU library license, not the GPL. Assuming your program links in the Only libgpl.a and libgpp.a. The other libraries which come with DJGPP (including libc.a, libm.a, and libiostr.a) have no such restriction. >run-time libraries (i.e., if you have not written your own RTL from >scratch), you need to follow the terms of this license. As I read it, >you are required to make your program available in relocatable (.O) form >in addition to the executable (.EXE) form. This allows end-users to >modify the library and relink to your relocatable objects. AFAIK, that is correct --- _for programs which use LGPLed libraries_. -- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp! "That's right," he said. "We're philosophers. We think, therefore we am." -- Terry Pratchett, _Small Gods_ | Geek Code 3.1 [for explanation, finger hayden AT mankato DOT msus DOT edu]: GCS/M/S/C d- s: g+ a17 C++(+++)>++++ UL++>++++ P++ L++>+++++ E- W(-) N++(+) o+ K- w--- O M@ V-(--) PS++(+++) PE- Y(+) PGP(+) t(+) !5 X-- R(-) tv-@ b++(+++) DI+ !D(--) G++(+++) e->+++++(*) h!>+ r-(--)>+++ y?