Compilers · GNU Project
GCC runtime libraries (libgcc, libstdc++) license
Programs compiled with GCC can be distributed under any license even though they link libgcc and libstdc++, as long as an eligible compilation process was used. The compiler itself is GPL-3.0-or-later.
CounselMode editorial view; not legal advice.
License
All versionsNow
GPL-3.0-or-later WITH GCC-exception-3.1
Strong copyleft
- Internal use
- Low
- Your SaaS
- Low
- Shipped
- High
Checked against the license file in this release on 2026-11-23.