Question about GCC license for commercial use
Richard Kenner
kenner@adacore.com
Wed Jul 16 13:20:42 GMT 2025
> AFAIU, this is accurate if libgcc and libstdc++ are linked statically,
> but not if the program is linked to their DLL versions (and therefore
> the DLLs must be distributed with the resulting program). In the
> latter case, the LGPL exception doesn't apply, and distributing these
> DLLs falls under GPL instead.
Perhaps (I'm not sure that I fully agree with that), but even if so, I
think the consequences aren't serious because the DLL's we're talking about
aren't normally distributed along with the program, but rather are
expected to be part of the user's environment.
> Whether this means the source code of the
> compiled program must also be made available, I don't know.
I don't see how it could, but again, we're not in the position of
giving legal advice on this list. If somebody cares, they should
get a legal opinion.
More information about the Gcc
mailing list