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