This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Licensing inconsistency, cplus-dem.c/cp-demangle.c/demangle.h
- From: Per Bothner <per at bothner dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 19 Dec 2001 13:58:55 -0800
- Subject: Re: Licensing inconsistency, cplus-dem.c/cp-demangle.c/demangle.h
- References: <20011219210952.GA29620@codesourcery.com>
Zack Weinberg wrote:
> cplus-dem.c is licensed under the LGPL; cp-demangle.c and demangle.h
> have the plain GPL. Normal use will need all three files, so they
> should all be licensed the same way.
>
> Is there a consensus on which license these files should use? I'd
> vote for LGPL, myself; there is no reason I see to restrict the use of
> the demanglers in proprietary software.
It may be desirable to use GPL+exception, to demangle GCJ stack-traces.
Currently, we filter stack traces through a forked c++filt, because
of the license. On the other hand, there has been talk that it would
be better anyway (though more work) to use the dwarf2 eh-unwinding code.
But at least in the short term, it would be better to be able to
link the demangler directly in to libgcj, without license contamination.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/