This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] lmemmem.patch
> That's ok for GDB of course, but how about libiberty? A mix of pure
> GPL and LGPL/GPL+exception in libiberty seems problematic, but it's
> been awhile.
We have a somewhat even mix of GPL, LGPL, and other licenses already.
The key is to make sure the license is correct for its intended use
before committing it; changing it after the fact is more difficult.
Normally this advice applies to user-contributed changes, but in this
case, if we have two sources with two licenses, we get a choice.
It matters if the code will be used in, for example, the C++ libraries
where we must have an exception.