Mail Archives: djgpp/1997/07/21/17:44:55
> I'm a little fuzzy on the whole DJGPP/C++/Legality issue here. I read
> the faq, and it says that I can use libiostream.a and my program can
> still be a commercial program, correct? I cannot, however, create
> commercial programs use libgpp.a, correct?
libg++ includes more than just the standard C++ classes. It also
includes a large number of gnu-specific classes. Those gnu-specific
classes are LGPL. To comply with the C++ language specs better, the
FSF decided that those parts of libg++ that were required for ANSI C++
compatibility would be best to be "more free" (i.e. suitable for
unrestricted use). Those "more free" functions are also available in
the libiostream and libstdc libraries, neither of which include the
LGPL portions of libg++. Thus, to ensure that your program does not
fall under the LGPL, it's best to avoid libgpp.a and use only
libstdc.a or libiostream.a.
> What about my own classes? Am I allowed to write my own classes in a
> commercial program?
Of course you are.
> Here's the deal: I like to write in C++. I've written quite a few
> classes (graphics, 3d, etc) and I also use cout and cin and fstream (all
> in libiostream.a, right?). If I write a program using all of the above
> classes, can it be commercial?
Yes.
- Raw text -