xref: /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/doc/html/manual/license.html (revision 6a493d6bc668897c91594964a732d38505b70cbb)
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>License</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><meta name="keywords" content="&#10;      ISO C++&#10;    , &#10;      library&#10;    " /><link rel="home" href="../spine.html" title="The GNU C++ Library Documentation" /><link rel="up" href="status.html" title="Chapter 1. Status" /><link rel="prev" href="status.html" title="Chapter 1. Status" /><link rel="next" href="bugs.html" title="Bugs" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">License</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="status.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Status</th><td width="20%" align="right"> <a accesskey="n" href="bugs.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="License"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="manual.intro.status.license"></a>License</h2></div></div></div><p>
4    There are two licenses affecting GNU libstdc++: one for the code,
5    and one for the documentation.
6    </p><p>
7      There is a license section in the FAQ regarding common <a class="link" href="../faq.html#faq.license" title="License">questions</a>. If you have more
8      questions, ask the FSF or the <a class="ulink" href="http://gcc.gnu.org/lists.html" target="_top">gcc mailing list</a>.
9    </p><div class="sect2" title="The Code: GPL"><div class="titlepage"><div><div><h3 class="title"><a id="manual.intro.status.license.gpl"></a>The Code: GPL</h3></div></div></div><p>
10      The source code is distributed under the <a class="link" href="appendix_gpl.html" title="Appendix D.  GNU General Public License version 3">GNU General Public License version 3</a>,
11      with the addition under section 7 of an exception described in
12      the <span class="quote">“<span class="quote">GCC Runtime Library Exception, version 3.1</span>”</span>
13      as follows (or see the file COPYING.RUNTIME):
14    </p><div class="literallayout"><p><br />
15GCC RUNTIME LIBRARY EXCEPTION<br />
16<br />
17Version 3.1, 31 March 2009<br />
18<br />
19Copyright (C) 2009 <a class="ulink" href="http://www.fsf.org" target="_top">Free Software Foundation, Inc.</a><br />
20<br />
21Everyone is permitted to copy and distribute verbatim copies of this<br />
22license document, but changing it is not allowed.<br />
23<br />
24This GCC Runtime Library Exception ("Exception") is an additional<br />
25permission under section 7 of the GNU General Public License, version<br />
263 ("GPLv3"). It applies to a given file (the "Runtime Library") that<br />
27bears a notice placed by the copyright holder of the file stating that<br />
28the file is governed by GPLv3 along with this Exception.<br />
29<br />
30When you use GCC to compile a program, GCC may combine portions of<br />
31certain GCC header files and runtime libraries with the compiled<br />
32program. The purpose of this Exception is to allow compilation of<br />
33non-GPL (including proprietary) programs to use, in this way, the<br />
34header files and runtime libraries covered by this Exception.<br />
35<br />
360. Definitions.<br />
37<br />
38A file is an "Independent Module" if it either requires the Runtime<br />
39Library for execution after a Compilation Process, or makes use of an<br />
40interface provided by the Runtime Library, but is not otherwise based<br />
41on the Runtime Library.<br />
42<br />
43"GCC" means a version of the GNU Compiler Collection, with or without<br />
44modifications, governed by version 3 (or a specified later version) of<br />
45the GNU General Public License (GPL) with the option of using any<br />
46subsequent versions published by the FSF.<br />
47<br />
48"GPL-compatible Software" is software whose conditions of propagation,<br />
49modification and use would permit combination with GCC in accord with<br />
50the license of GCC.<br />
51<br />
52"Target Code" refers to output from any compiler for a real or virtual<br />
53target processor architecture, in executable form or suitable for<br />
54input to an assembler, loader, linker and/or execution<br />
55phase. Notwithstanding that, Target Code does not include data in any<br />
56format that is used as a compiler intermediate representation, or used<br />
57for producing a compiler intermediate representation.<br />
58<br />
59The "Compilation Process" transforms code entirely represented in<br />
60non-intermediate languages designed for human-written code, and/or in<br />
61Java Virtual Machine byte code, into Target Code. Thus, for example,<br />
62use of source code generators and preprocessors need not be considered<br />
63part of the Compilation Process, since the Compilation Process can be<br />
64understood as starting with the output of the generators or<br />
65preprocessors.<br />
66<br />
67A Compilation Process is "Eligible" if it is done using GCC, alone or<br />
68with other GPL-compatible software, or if it is done without using any<br />
69work based on GCC. For example, using non-GPL-compatible Software to<br />
70optimize any GCC intermediate representations would not qualify as an<br />
71Eligible Compilation Process.<br />
72<br />
731. Grant of Additional Permission.<br />
74<br />
75You have permission to propagate a work of Target Code formed by<br />
76combining the Runtime Library with Independent Modules, even if such<br />
77propagation would otherwise violate the terms of GPLv3, provided that<br />
78all Target Code was generated by Eligible Compilation Processes. You<br />
79may then convey such a combination under terms of your choice,<br />
80consistent with the licensing of the Independent Modules.<br />
81<br />
822. No Weakening of GCC Copyleft.<br />
83<br />
84The availability of this Exception does not imply any general<br />
85presumption that third-party software is unaffected by the copyleft<br />
86requirements of the license of GCC.<br />
87    </p></div><p>
88      Hopefully that text is self-explanatory.  If it isn't, you need to speak
89      to your lawyer, or the Free Software Foundation.
90    </p></div><div class="sect2" title="The Documentation: GPL, FDL"><div class="titlepage"><div><div><h3 class="title"><a id="manual.intro.status.license.fdl"></a>The Documentation: GPL, FDL</h3></div></div></div><p>
91      The documentation shipped with the library and made available over
92      the web, excluding the pages generated from source comments, are
93      copyrighted by the Free Software Foundation, and placed under the
94      <a class="link" href="appendix_gfdl.html" title="Appendix E. GNU Free Documentation License"> GNU Free Documentation
95      License version 1.2</a>.  There are no Front-Cover Texts, no
96      Back-Cover Texts, and no Invariant Sections.
97    </p><p>
98      For documentation generated by doxygen or other automated tools
99      via processing source code comments and markup, the original source
100      code license applies to the generated files. Thus, the doxygen
101      documents are licensed <a class="link" href="appendix_gpl.html" title="Appendix D.  GNU General Public License version 3">GPL</a>.
102    </p><p>
103      If you plan on making copies of the documentation, please let us know.
104      We can probably offer suggestions.
105    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="status.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="status.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bugs.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. Status </td><td width="20%" align="center"><a accesskey="h" href="../spine.html">Home</a></td><td width="40%" align="right" valign="top"> Bugs</td></tr></table></div></body></html>
106