|
| 1 | +GCC RUNTIME LIBRARY EXCEPTION |
| 2 | + |
| 3 | +Version 3.1, 31 March 2009 |
| 4 | + |
| 5 | +Copyright (c) 2009 Free Software Foundation, Inc. <http://fsf.org/> |
| 6 | + |
| 7 | +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. |
| 8 | + |
| 9 | +This GCC Runtime Library Exception ("Exception") is an additional permission under section 7 of the GNU General Public License, |
| 10 | +version 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that bears a notice placed by the copyright holder of |
| 11 | +the file stating that the file is governed by GPLv3 along with this Exception. |
| 12 | + |
| 13 | +When you use GCC to compile a program, GCC may combine portions of certain GCC header files and runtime libraries with the |
| 14 | +compiled program. The purpose of this Exception is to allow compilation of non-GPL (including proprietary) programs to |
| 15 | +use, in this way, the header files and runtime libraries covered by this Exception. |
| 16 | + |
| 17 | +0. Definitions. |
| 18 | + |
| 19 | +A file is an "Independent Module" if it either requires the Runtime Library for execution after a Compilation |
| 20 | +Process, or makes use of an interface provided by the Runtime Library, but is not otherwise based on the Runtime Library. |
| 21 | + |
| 22 | +"GCC" means a version of the GNU Compiler Collection, with or without modifications, governed by version 3 |
| 23 | +(or a specified later version) of the GNU General Public License (GPL) with the option of using any subsequent |
| 24 | +versions published by the FSF. |
| 25 | + |
| 26 | +"GPL-compatible Software" is software whose conditions of propagation, modification and use would permit combination |
| 27 | +with GCC in accord with the license of GCC. |
| 28 | + |
| 29 | +"Target Code" refers to output from any compiler for a real or virtual target processor architecture, in executable |
| 30 | +form or suitable for input to an assembler, loader, linker and/or execution phase. Notwithstanding that, Target Code |
| 31 | +does not include data in any format that is used as a compiler intermediate representation, or used for producing a |
| 32 | +compiler intermediate representation. |
| 33 | + |
| 34 | +The "Compilation Process" transforms code entirely represented in non-intermediate languages designed for human-written |
| 35 | +code, and/or in Java Virtual Machine byte code, into Target Code. Thus, for example, use of source code generators and |
| 36 | +preprocessors need not be considered part of the Compilation Process, since the Compilation Process can be understood as |
| 37 | +starting with the output of the generators or preprocessors. |
| 38 | + |
| 39 | +A Compilation Process is "Eligible" if it is done using GCC, alone or with other GPL-compatible software, or if it is |
| 40 | +done without using any work based on GCC. For example, using non-GPL-compatible Software to optimize any GCC |
| 41 | +intermediate representations would not qualify as an Eligible Compilation Process. |
| 42 | + |
| 43 | +1. Grant of Additional Permission. |
| 44 | + |
| 45 | +You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, |
| 46 | +even if such propagation would otherwise violate the terms of GPLv3, provided that all Target Code was generated by |
| 47 | +Eligible Compilation Processes. You may then convey such a combination under terms of your choice, consistent with the |
| 48 | +licensing of the Independent Modules. |
| 49 | + |
| 50 | +2. No Weakening of GCC Copyleft. |
| 51 | + |
| 52 | +The availability of this Exception does not imply any general presumption that third-party software is unaffected by |
| 53 | +the copyleft requirements of the license of GCC. |
0 commit comments