public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* what kind of license is libstd++ ? (and libgcc_s)?
@ 2001-06-20  9:50 Neelakanth
  2001-06-20 18:08 ` David Edelsohn
  2001-06-20 19:02 ` Alexandre Oliva
  0 siblings, 2 replies; 6+ messages in thread
From: Neelakanth @ 2001-06-20  9:50 UTC (permalink / raw)
  To: gcc

can anybody tell me under what licenses are the above two libraries
released? a look at files under gcc-3.0/libstdc++-v3/src shows most
of them to be GPL. 
Since almost every c++ program now links with libstdc++ (which has a
dependency on libgcc_s), does this mean that I cannot distribute
commercial software built with g++?

-neelakanth

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what kind of license is libstd++ ? (and libgcc_s)?
  2001-06-20  9:50 what kind of license is libstd++ ? (and libgcc_s)? Neelakanth
@ 2001-06-20 18:08 ` David Edelsohn
  2001-06-20 19:02 ` Alexandre Oliva
  1 sibling, 0 replies; 6+ messages in thread
From: David Edelsohn @ 2001-06-20 18:08 UTC (permalink / raw)
  To: gcc

	Did you notice the "Special Exception" statement in the license of
files in libstdc++-v3?

	Also, please stop sending email with no return address so that it
looks like you are emailing from gnu.org.  Given that the email header
displays:

Received: from unknown (HELO mercury.Sun.COM) (192.9.25.1)
  by sourceware.cygnus.com with SMTP; 20 Jun 2001 16:50:11 -0000
Received: from engmail2.Eng.Sun.COM ([129.146.1.25])
        by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA20702
        for <gcc@gcc.gnu.org>; Wed, 20 Jun 2001 09:49:54 -0700 (PDT)
Received: from pastwatch.eng.sun.com (pastwatch.Eng.Sun.COM
[129.146.42.250])
        by engmail2.Eng.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id
JAA07611
        for <gcc@gcc.gnu.org>; Wed, 20 Jun 2001 09:49:08 -0700 (PDT)
Received: (from neel@localhost)
        by pastwatch.eng.sun.com (8.9.3+Sun/8.9.3) id JAA28981
        for gcc@gcc.gnu.org; Wed, 20 Jun 2001 09:56:05 -0700 (PDT)

It makes your employer, Sun Microsystems, look very incompetent about the
configuration of the email system and does not allow anyone to respond to
you. 

David

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what kind of license is libstd++ ? (and libgcc_s)?
  2001-06-20  9:50 what kind of license is libstd++ ? (and libgcc_s)? Neelakanth
  2001-06-20 18:08 ` David Edelsohn
@ 2001-06-20 19:02 ` Alexandre Oliva
  1 sibling, 0 replies; 6+ messages in thread
From: Alexandre Oliva @ 2001-06-20 19:02 UTC (permalink / raw)
  To: gcc

On Jun 20, 2001, Neelakanth <neelakanth@gnu.org> wrote:

> can anybody tell me under what licenses are the above two libraries
> released?

They're all GPL + the run-time exception:

<quote>
        In addition to the permissions in the GNU General Public
        License, the Free Software Foundation gives you unlimited
        permission to link the compiled version of this file into
        combinations with other programs, and to distribute those
        combinations without any restriction coming from the use of
        this file.  (The General Public License restrictions do apply
        in other respects; for example, they cover modification of the
        file, and distribution when not linked into a combine
        executable.)
</quote>

If you find any source or header files installed as part of GCC, or
used in one of the libraries installed by GCC, that does not contain
this exception clause, please let us know, because it should be fixed.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what kind of license is libstd++ ? (and libgcc_s)?
@ 2001-06-21  6:26 dewar
  0 siblings, 0 replies; 6+ messages in thread
From: dewar @ 2001-06-21  6:26 UTC (permalink / raw)
  To: gcc, mrs, neelakanth

<<In addition to the permissions in the GNU General Public License, the
Free Software Foundation gives you unlimited permission to link the
compiled version of this file into combinations with other programs,
and to distribute those combinations without any restriction coming
from the use of this file.  (The General Public License restrictions
do apply in other respects; for example, they cover modification of
the file, and distribution when not linked into a combine
executable.)
>>

I always wonder about macros and templates when I read this. The corresponding
exception phrase in Ada says:

-- As a special exception,  if other files  instantiate  generics from this --
-- unit, or you link  this unit with other files  to produce an executable, --
-- this  unit  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 Public License.                                      --

(instantiation of generics is the Ada equivalent of template expansion)

Neither seems to really fully address the issue of inlined procedures.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what kind of license is libstd++ ? (and libgcc_s)?
@ 2001-06-20 21:03 dewar
  0 siblings, 0 replies; 6+ messages in thread
From: dewar @ 2001-06-20 21:03 UTC (permalink / raw)
  To: gcc, neelakanth

> can anybody tell me under what licenses are the above two libraries
> released? a look at files under gcc-3.0/libstdc++-v3/src shows most
> of them to be GPL.
> Since almost every c++ program now links with libstdc++ (which has a
> dependency on libgcc_s), does this mean that I cannot distribute
> commercial software built with g++?
  ^^^^^^^^^^
I assume you meant proprietary? There is plenty of commercial Free Software
distributed under the GPL around!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what kind of license is libstd++ ? (and libgcc_s)?
@ 2001-06-20 18:35 mike stump
  0 siblings, 0 replies; 6+ messages in thread
From: mike stump @ 2001-06-20 18:35 UTC (permalink / raw)
  To: gcc, neelakanth

> Date: Wed, 20 Jun 2001 09:56:05 -0700
> From: Neelakanth <neelakanth@gnu.org>
> To: gcc@gcc.gnu.org

> can anybody tell me under what licenses are the above two libraries
> released? a look at files under gcc-3.0/libstdc++-v3/src shows most
> of them to be GPL.

The intent is to be GPL with the libgcc exception clause.  Read each
file you may be interested in, and let us know if it isn't so covered.
I suspect they all are.

The exception clause for libgcc is currently worded as:

In addition to the permissions in the GNU General Public License, the
Free Software Foundation gives you unlimited permission to link the
compiled version of this file into combinations with other programs,
and to distribute those combinations without any restriction coming
from the use of this file.  (The General Public License restrictions
do apply in other respects; for example, they cover modification of
the file, and distribution when not linked into a combine
executable.)

and the one for the C++ library reads as:

// 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.

They were designed to be commercial software friendly.

> Since almost every c++ program now links with libstdc++ (which has a
> dependency on libgcc_s), does this mean that I cannot distribute
> commercial software built with g++?

No, it doesn't mean this.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-06-21  6:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20  9:50 what kind of license is libstd++ ? (and libgcc_s)? Neelakanth
2001-06-20 18:08 ` David Edelsohn
2001-06-20 19:02 ` Alexandre Oliva
2001-06-20 18:35 mike stump
2001-06-20 21:03 dewar
2001-06-21  6:26 dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).