136ac495dSmrg<?xml version="1.0" encoding="UTF-8" standalone="no"?> 236ac495dSmrg<!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> 336ac495dSmrg There are two licenses affecting GNU libstdc++: one for the code, 436ac495dSmrg and one for the documentation. 536ac495dSmrg </p><p> 636ac495dSmrg There is a license section in the FAQ regarding common <a class="link" href="../faq.html#faq.license">questions</a>. If you have more 736ac495dSmrg questions, ask the FSF or the <a class="link" href="http://gcc.gnu.org/lists.html" target="_top">gcc mailing list</a>. 836ac495dSmrg </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> 936ac495dSmrg 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>, 1036ac495dSmrg with the addition under section 7 of an exception described in 1136ac495dSmrg the <span class="quote">“<span class="quote">GCC Runtime Library Exception, version 3.1</span>”</span> 1236ac495dSmrg as follows (or see the file COPYING.RUNTIME): 1336ac495dSmrg </p><div class="literallayout"><p><br /> 1436ac495dSmrgGCC RUNTIME LIBRARY EXCEPTION<br /> 1536ac495dSmrg<br /> 1636ac495dSmrgVersion 3.1, 31 March 2009<br /> 1736ac495dSmrg<br /> 18*a2dc1f3fSmrgCopyright (C) 2009 <a class="link" href="https://www.fsf.org" target="_top">Free Software Foundation, Inc.</a><br /> 1936ac495dSmrg<br /> 2036ac495dSmrgEveryone is permitted to copy and distribute verbatim copies of this<br /> 2136ac495dSmrglicense document, but changing it is not allowed.<br /> 2236ac495dSmrg<br /> 2336ac495dSmrgThis GCC Runtime Library Exception ("Exception") is an additional<br /> 2436ac495dSmrgpermission under section 7 of the GNU General Public License, version<br /> 2536ac495dSmrg3 ("GPLv3"). It applies to a given file (the "Runtime Library") that<br /> 2636ac495dSmrgbears a notice placed by the copyright holder of the file stating that<br /> 2736ac495dSmrgthe file is governed by GPLv3 along with this Exception.<br /> 2836ac495dSmrg<br /> 2936ac495dSmrgWhen you use GCC to compile a program, GCC may combine portions of<br /> 3036ac495dSmrgcertain GCC header files and runtime libraries with the compiled<br /> 3136ac495dSmrgprogram. The purpose of this Exception is to allow compilation of<br /> 3236ac495dSmrgnon-GPL (including proprietary) programs to use, in this way, the<br /> 3336ac495dSmrgheader files and runtime libraries covered by this Exception.<br /> 3436ac495dSmrg<br /> 3536ac495dSmrg0. Definitions.<br /> 3636ac495dSmrg<br /> 3736ac495dSmrgA file is an "Independent Module" if it either requires the Runtime<br /> 3836ac495dSmrgLibrary for execution after a Compilation Process, or makes use of an<br /> 3936ac495dSmrginterface provided by the Runtime Library, but is not otherwise based<br /> 4036ac495dSmrgon the Runtime Library.<br /> 4136ac495dSmrg<br /> 4236ac495dSmrg"GCC" means a version of the GNU Compiler Collection, with or without<br /> 4336ac495dSmrgmodifications, governed by version 3 (or a specified later version) of<br /> 4436ac495dSmrgthe GNU General Public License (GPL) with the option of using any<br /> 4536ac495dSmrgsubsequent versions published by the FSF.<br /> 4636ac495dSmrg<br /> 4736ac495dSmrg"GPL-compatible Software" is software whose conditions of propagation,<br /> 4836ac495dSmrgmodification and use would permit combination with GCC in accord with<br /> 4936ac495dSmrgthe license of GCC.<br /> 5036ac495dSmrg<br /> 5136ac495dSmrg"Target Code" refers to output from any compiler for a real or virtual<br /> 5236ac495dSmrgtarget processor architecture, in executable form or suitable for<br /> 5336ac495dSmrginput to an assembler, loader, linker and/or execution<br /> 5436ac495dSmrgphase. Notwithstanding that, Target Code does not include data in any<br /> 5536ac495dSmrgformat that is used as a compiler intermediate representation, or used<br /> 5636ac495dSmrgfor producing a compiler intermediate representation.<br /> 5736ac495dSmrg<br /> 5836ac495dSmrgThe "Compilation Process" transforms code entirely represented in<br /> 5936ac495dSmrgnon-intermediate languages designed for human-written code, and/or in<br /> 6036ac495dSmrgJava Virtual Machine byte code, into Target Code. Thus, for example,<br /> 6136ac495dSmrguse of source code generators and preprocessors need not be considered<br /> 6236ac495dSmrgpart of the Compilation Process, since the Compilation Process can be<br /> 6336ac495dSmrgunderstood as starting with the output of the generators or<br /> 6436ac495dSmrgpreprocessors.<br /> 6536ac495dSmrg<br /> 6636ac495dSmrgA Compilation Process is "Eligible" if it is done using GCC, alone or<br /> 6736ac495dSmrgwith other GPL-compatible software, or if it is done without using any<br /> 6836ac495dSmrgwork based on GCC. For example, using non-GPL-compatible Software to<br /> 6936ac495dSmrgoptimize any GCC intermediate representations would not qualify as an<br /> 7036ac495dSmrgEligible Compilation Process.<br /> 7136ac495dSmrg<br /> 7236ac495dSmrg1. Grant of Additional Permission.<br /> 7336ac495dSmrg<br /> 7436ac495dSmrgYou have permission to propagate a work of Target Code formed by<br /> 7536ac495dSmrgcombining the Runtime Library with Independent Modules, even if such<br /> 7636ac495dSmrgpropagation would otherwise violate the terms of GPLv3, provided that<br /> 7736ac495dSmrgall Target Code was generated by Eligible Compilation Processes. You<br /> 7836ac495dSmrgmay then convey such a combination under terms of your choice,<br /> 7936ac495dSmrgconsistent with the licensing of the Independent Modules.<br /> 8036ac495dSmrg<br /> 8136ac495dSmrg2. No Weakening of GCC Copyleft.<br /> 8236ac495dSmrg<br /> 8336ac495dSmrgThe availability of this Exception does not imply any general<br /> 8436ac495dSmrgpresumption that third-party software is unaffected by the copyleft<br /> 8536ac495dSmrgrequirements of the license of GCC.<br /> 8636ac495dSmrg </p></div><p> 8736ac495dSmrg Hopefully that text is self-explanatory. If it isn't, you need to speak 8836ac495dSmrg to your lawyer, or the Free Software Foundation. 8936ac495dSmrg </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> 9036ac495dSmrg The documentation shipped with the library and made available over 9136ac495dSmrg the web, excluding the pages generated from source comments, are 9236ac495dSmrg copyrighted by the Free Software Foundation, and placed under the 9336ac495dSmrg <a class="link" href="appendix_gfdl.html" title="Appendix E. GNU Free Documentation License"> GNU Free Documentation 9436ac495dSmrg License version 1.3</a>. There are no Front-Cover Texts, no 9536ac495dSmrg Back-Cover Texts, and no Invariant Sections. 9636ac495dSmrg </p><p> 9736ac495dSmrg For documentation generated by doxygen or other automated tools 9836ac495dSmrg via processing source code comments and markup, the original source 9936ac495dSmrg code license applies to the generated files. Thus, the doxygen 10036ac495dSmrg documents are licensed <a class="link" href="appendix_gpl.html" title="Appendix D. GNU General Public License version 3">GPL</a>. 10136ac495dSmrg </p><p> 10236ac495dSmrg If you plan on making copies of the documentation, please let us know. 10336ac495dSmrg We can probably offer suggestions. 10436ac495dSmrg </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>