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"><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="Chapter1.Status" /><link rel="prev" href="status.html" title="Chapter1.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">Chapter1.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> 3 There are two licenses affecting GNU libstdc++: one for the code, 4 and one for the documentation. 5 </p><p> 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 7 questions, ask the FSF or the <a class="link" href="http://gcc.gnu.org/lists.html" target="_top">gcc mailing list</a>. 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> 9 The source code is distributed under the <a class="link" href="appendix_gpl.html" title="AppendixD. 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 11 the <span class="quote"><span class="quote">GCC Runtime Library Exception, version 3.1</span></span> 12 as follows (or see the file COPYING.RUNTIME): 13 </p><div class="literallayout"><p><br /> 14 GCCRUNTIMELIBRARYEXCEPTION<br /> 15 <br /> 16 Version3.1,31March2009<br /> 17 <br /> 18 Copyright(C)2009<a class="link" href="https://www.fsf.org" target="_top">FreeSoftwareFoundation,Inc.</a><br /> 19 <br /> 20 Everyoneispermittedtocopyanddistributeverbatimcopiesofthis<br /> 21 licensedocument,butchangingitisnotallowed.<br /> 22 <br /> 23 ThisGCCRuntimeLibraryException("Exception")isanadditional<br /> 24 permissionundersection7oftheGNUGeneralPublicLicense,version<br /> 25 3("GPLv3").Itappliestoagivenfile(the"RuntimeLibrary")that<br /> 26 bearsanoticeplacedbythecopyrightholderofthefilestatingthat<br /> 27 thefileisgovernedbyGPLv3alongwiththisException.<br /> 28 <br /> 29 WhenyouuseGCCtocompileaprogram,GCCmaycombineportionsof<br /> 30 certainGCCheaderfilesandruntimelibrarieswiththecompiled<br /> 31 program.ThepurposeofthisExceptionistoallowcompilationof<br /> 32 non-GPL(includingproprietary)programstouse,inthisway,the<br /> 33 headerfilesandruntimelibrariescoveredbythisException.<br /> 34 <br /> 35 0.Definitions.<br /> 36 <br /> 37 Afileisan"IndependentModule"ifiteitherrequirestheRuntime<br /> 38 LibraryforexecutionafteraCompilationProcess,ormakesuseofan<br /> 39 interfaceprovidedbytheRuntimeLibrary,butisnototherwisebased<br /> 40 ontheRuntimeLibrary.<br /> 41 <br /> 42 "GCC"meansaversionoftheGNUCompilerCollection,withorwithout<br /> 43 modifications,governedbyversion3(oraspecifiedlaterversion)of<br /> 44 theGNUGeneralPublicLicense(GPL)withtheoptionofusingany<br /> 45 subsequentversionspublishedbytheFSF.<br /> 46 <br /> 47 "GPL-compatibleSoftware"issoftwarewhoseconditionsofpropagation,<br /> 48 modificationandusewouldpermitcombinationwithGCCinaccordwith<br /> 49 thelicenseofGCC.<br /> 50 <br /> 51 "TargetCode"referstooutputfromanycompilerforarealorvirtual<br /> 52 targetprocessorarchitecture,inexecutableformorsuitablefor<br /> 53 inputtoanassembler,loader,linkerand/orexecution<br /> 54 phase.Notwithstandingthat,TargetCodedoesnotincludedatainany<br /> 55 formatthatisusedasacompilerintermediaterepresentation,orused<br /> 56 forproducingacompilerintermediaterepresentation.<br /> 57 <br /> 58 The"CompilationProcess"transformscodeentirelyrepresentedin<br /> 59 non-intermediatelanguagesdesignedforhuman-writtencode,and/orin<br /> 60 JavaVirtualMachinebytecode,intoTargetCode.Thus,forexample,<br /> 61 useofsourcecodegeneratorsandpreprocessorsneednotbeconsidered<br /> 62 partoftheCompilationProcess,sincetheCompilationProcesscanbe<br /> 63 understoodasstartingwiththeoutputofthegeneratorsor<br /> 64 preprocessors.<br /> 65 <br /> 66 ACompilationProcessis"Eligible"ifitisdoneusingGCC,aloneor<br /> 67 withotherGPL-compatiblesoftware,orifitisdonewithoutusingany<br /> 68 workbasedonGCC.Forexample,usingnon-GPL-compatibleSoftwareto<br /> 69 optimizeanyGCCintermediaterepresentationswouldnotqualifyasan<br /> 70 EligibleCompilationProcess.<br /> 71 <br /> 72 1.GrantofAdditionalPermission.<br /> 73 <br /> 74 YouhavepermissiontopropagateaworkofTargetCodeformedby<br /> 75 combiningtheRuntimeLibrarywithIndependentModules,evenifsuch<br /> 76 propagationwouldotherwiseviolatethetermsofGPLv3,providedthat<br /> 77 allTargetCodewasgeneratedbyEligibleCompilationProcesses.You<br /> 78 maythenconveysuchacombinationundertermsofyourchoice,<br /> 79 consistentwiththelicensingoftheIndependentModules.<br /> 80 <br /> 81 2.NoWeakeningofGCCCopyleft.<br /> 82 <br /> 83 TheavailabilityofthisExceptiondoesnotimplyanygeneral<br /> 84 presumptionthatthird-partysoftwareisunaffectedbythecopyleft<br /> 85 requirementsofthelicenseofGCC.<br /> 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. 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> 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="AppendixE.GNU Free Documentation License"> GNU Free Documentation 94 License version 1.3</a>. There are no Front-Cover Texts, no 95 Back-Cover Texts, and no Invariant Sections. 96 </p><p> 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="AppendixD. 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. 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">Chapter1.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>