gcc-help@gcc.gnu.org

Jonathan Wakely jwakely.gcc@gmail.com
Mon May 11 11:58:04 GMT 2020


On Mon, 11 May 2020 at 11:58, Keil, Jochen via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Dear all,
>
> In our team we are employing GCC for embedded products which require statically linked binaries. Our own code is proprietary, hence we would like to make use of the GPL-3.0+ Runtime Exception. We do not modify the GCC nor use Plugins to modify intermediate code, therefore I think we are allowed to link our object code statically with libgcc without releasing our proprietary source code.
>
> However, upon closer inspection of the GCC sources I found that the files in the `libcc1` and `libcpp` folders do only carry the licensing terms of GPL-3.0+ without any mention of the Runtime Exception. Is it still valid to use those libraries with statically linked proprietary code?

As Florian said, you should ask your lawyers for legal advice. Are you
even linking to libcc1 and libcpp though? If you're not linking to
them, their license doesn't affect your code.


More information about the Gcc-help mailing list