This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ licensing
- To: linguist-gcc at rich-paul dot net
- Subject: Re: libstdc++ licensing
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 26 Jan 2001 21:23:28 -0500
- cc: gcc at gcc dot gnu dot org
>>>>> linguist-gcc writes:
L> I was having problems getting a simple IOStreams program to link (still am, but
L> that doesn't matter until I get an answer to this) and I happened to notice
L> that libstdc++ appears to be under the GPL, rather than the LGPL ... which
L> implies to me, since libstdc++ is now the default c++ library for gcc, that any
L> c++ program compiled with gcc must be free software. Please tell me I'm wrong!
Okay, you're wrong.
Did you look at the source files which contain the following
exception:
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
David