xref: /netbsd-src/external/gpl3/gcc/dist/INSTALL/gfdl.html (revision 4fe0f936ff464bca8e6277bde90f477ef5a4d004)
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ -->
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6<!-- Copyright (C) 1988-2022 Free Software Foundation, Inc.
7
8Permission is granted to copy, distribute and/or modify this document
9under the terms of the GNU Free Documentation License, Version 1.3 or
10any later version published by the Free Software Foundation; with no
11Invariant Sections, the Front-Cover texts being (a) (see below), and
12with the Back-Cover Texts being (b) (see below).  A copy of the
13license is included in the section entitled "GNU
14Free Documentation License".
15
16(a) The FSF's Front-Cover Text is:
17
18A GNU Manual
19
20(b) The FSF's Back-Cover Text is:
21
22You have freedom to copy and modify this GNU Manual, like GNU
23     software.  Copies published by the Free Software Foundation raise
24     funds for GNU development. -->
25<title>Installing GCC: GNU Free Documentation License</title>
26
27<meta name="description" content="Installing GCC: GNU Free Documentation License">
28<meta name="keywords" content="Installing GCC: GNU Free Documentation License">
29<meta name="resource-type" content="document">
30<meta name="distribution" content="global">
31<meta name="Generator" content="makeinfo">
32<meta name="viewport" content="width=device-width,initial-scale=1">
33
34<style type="text/css">
35<!--
36a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
37a.summary-letter {text-decoration: none}
38blockquote.indentedblock {margin-right: 0em}
39div.display {margin-left: 3.2em}
40div.example {margin-left: 3.2em}
41kbd {font-style: oblique}
42pre.display {font-family: inherit}
43pre.format {font-family: inherit}
44pre.menu-comment {font-family: serif}
45pre.menu-preformatted {font-family: serif}
46span.nolinebreak {white-space: nowrap}
47span.roman {font-family: initial; font-weight: normal}
48span.sansserif {font-family: sans-serif; font-weight: normal}
49span:hover a.copiable-anchor {visibility: visible}
50ul.no-bullet {list-style: none}
51-->
52</style>
53
54
55</head>
56
57<body lang="en">
58<h1 class="settitle" align="center">Installing GCC: GNU Free Documentation License</h1>
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84<h1 align="center">Installing GCC: GNU Free Documentation License</h1>
85
86<span id="index-FDL_002c-GNU-Free-Documentation-License"></span>
87<div align="center">Version 1.3, 3 November 2008
88</div>
89<div class="display">
90<pre class="display">Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
91<a href="https://fsf.org/">https://fsf.org/</a>
92
93Everyone is permitted to copy and distribute verbatim copies
94of this license document, but changing it is not allowed.
95</pre></div>
96
97<ol start="0">
98<li> PREAMBLE
99
100<p>The purpose of this License is to make a manual, textbook, or other
101functional and useful document <em>free</em> in the sense of freedom: to
102assure everyone the effective freedom to copy and redistribute it,
103with or without modifying it, either commercially or noncommercially.
104Secondarily, this License preserves for the author and publisher a way
105to get credit for their work, while not being considered responsible
106for modifications made by others.
107</p>
108<p>This License is a kind of &ldquo;copyleft&rdquo;, which means that derivative
109works of the document must themselves be free in the same sense.  It
110complements the GNU General Public License, which is a copyleft
111license designed for free software.
112</p>
113<p>We have designed this License in order to use it for manuals for free
114software, because free software needs free documentation: a free
115program should come with manuals providing the same freedoms that the
116software does.  But this License is not limited to software manuals;
117it can be used for any textual work, regardless of subject matter or
118whether it is published as a printed book.  We recommend this License
119principally for works whose purpose is instruction or reference.
120</p>
121</li><li> APPLICABILITY AND DEFINITIONS
122
123<p>This License applies to any manual or other work, in any medium, that
124contains a notice placed by the copyright holder saying it can be
125distributed under the terms of this License.  Such a notice grants a
126world-wide, royalty-free license, unlimited in duration, to use that
127work under the conditions stated herein.  The &ldquo;Document&rdquo;, below,
128refers to any such manual or work.  Any member of the public is a
129licensee, and is addressed as &ldquo;you&rdquo;.  You accept the license if you
130copy, modify or distribute the work in a way requiring permission
131under copyright law.
132</p>
133<p>A &ldquo;Modified Version&rdquo; of the Document means any work containing the
134Document or a portion of it, either copied verbatim, or with
135modifications and/or translated into another language.
136</p>
137<p>A &ldquo;Secondary Section&rdquo; is a named appendix or a front-matter section
138of the Document that deals exclusively with the relationship of the
139publishers or authors of the Document to the Document&rsquo;s overall
140subject (or to related matters) and contains nothing that could fall
141directly within that overall subject.  (Thus, if the Document is in
142part a textbook of mathematics, a Secondary Section may not explain
143any mathematics.)  The relationship could be a matter of historical
144connection with the subject or with related matters, or of legal,
145commercial, philosophical, ethical or political position regarding
146them.
147</p>
148<p>The &ldquo;Invariant Sections&rdquo; are certain Secondary Sections whose titles
149are designated, as being those of Invariant Sections, in the notice
150that says that the Document is released under this License.  If a
151section does not fit the above definition of Secondary then it is not
152allowed to be designated as Invariant.  The Document may contain zero
153Invariant Sections.  If the Document does not identify any Invariant
154Sections then there are none.
155</p>
156<p>The &ldquo;Cover Texts&rdquo; are certain short passages of text that are listed,
157as Front-Cover Texts or Back-Cover Texts, in the notice that says that
158the Document is released under this License.  A Front-Cover Text may
159be at most 5 words, and a Back-Cover Text may be at most 25 words.
160</p>
161<p>A &ldquo;Transparent&rdquo; copy of the Document means a machine-readable copy,
162represented in a format whose specification is available to the
163general public, that is suitable for revising the document
164straightforwardly with generic text editors or (for images composed of
165pixels) generic paint programs or (for drawings) some widely available
166drawing editor, and that is suitable for input to text formatters or
167for automatic translation to a variety of formats suitable for input
168to text formatters.  A copy made in an otherwise Transparent file
169format whose markup, or absence of markup, has been arranged to thwart
170or discourage subsequent modification by readers is not Transparent.
171An image format is not Transparent if used for any substantial amount
172of text.  A copy that is not &ldquo;Transparent&rdquo; is called &ldquo;Opaque&rdquo;.
173</p>
174<p>Examples of suitable formats for Transparent copies include plain
175<small>ASCII</small> without markup, Texinfo input format, LaTeX input
176format, <acronym>SGML</acronym> or <acronym>XML</acronym> using a publicly available
177<acronym>DTD</acronym>, and standard-conforming simple <acronym>HTML</acronym>,
178PostScript or <acronym>PDF</acronym> designed for human modification.  Examples
179of transparent image formats include <acronym>PNG</acronym>, <acronym>XCF</acronym> and
180<acronym>JPG</acronym>.  Opaque formats include proprietary formats that can be
181read and edited only by proprietary word processors, <acronym>SGML</acronym> or
182<acronym>XML</acronym> for which the <acronym>DTD</acronym> and/or processing tools are
183not generally available, and the machine-generated <acronym>HTML</acronym>,
184PostScript or <acronym>PDF</acronym> produced by some word processors for
185output purposes only.
186</p>
187<p>The &ldquo;Title Page&rdquo; means, for a printed book, the title page itself,
188plus such following pages as are needed to hold, legibly, the material
189this License requires to appear in the title page.  For works in
190formats which do not have any title page as such, &ldquo;Title Page&rdquo; means
191the text near the most prominent appearance of the work&rsquo;s title,
192preceding the beginning of the body of the text.
193</p>
194<p>The &ldquo;publisher&rdquo; means any person or entity that distributes copies
195of the Document to the public.
196</p>
197<p>A section &ldquo;Entitled XYZ&rdquo; means a named subunit of the Document whose
198title either is precisely XYZ or contains XYZ in parentheses following
199text that translates XYZ in another language.  (Here XYZ stands for a
200specific section name mentioned below, such as &ldquo;Acknowledgements&rdquo;,
201&ldquo;Dedications&rdquo;, &ldquo;Endorsements&rdquo;, or &ldquo;History&rdquo;.)  To &ldquo;Preserve the Title&rdquo;
202of such a section when you modify the Document means that it remains a
203section &ldquo;Entitled XYZ&rdquo; according to this definition.
204</p>
205<p>The Document may include Warranty Disclaimers next to the notice which
206states that this License applies to the Document.  These Warranty
207Disclaimers are considered to be included by reference in this
208License, but only as regards disclaiming warranties: any other
209implication that these Warranty Disclaimers may have is void and has
210no effect on the meaning of this License.
211</p>
212</li><li> VERBATIM COPYING
213
214<p>You may copy and distribute the Document in any medium, either
215commercially or noncommercially, provided that this License, the
216copyright notices, and the license notice saying this License applies
217to the Document are reproduced in all copies, and that you add no other
218conditions whatsoever to those of this License.  You may not use
219technical measures to obstruct or control the reading or further
220copying of the copies you make or distribute.  However, you may accept
221compensation in exchange for copies.  If you distribute a large enough
222number of copies you must also follow the conditions in section 3.
223</p>
224<p>You may also lend copies, under the same conditions stated above, and
225you may publicly display copies.
226</p>
227</li><li> COPYING IN QUANTITY
228
229<p>If you publish printed copies (or copies in media that commonly have
230printed covers) of the Document, numbering more than 100, and the
231Document&rsquo;s license notice requires Cover Texts, you must enclose the
232copies in covers that carry, clearly and legibly, all these Cover
233Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
234the back cover.  Both covers must also clearly and legibly identify
235you as the publisher of these copies.  The front cover must present
236the full title with all words of the title equally prominent and
237visible.  You may add other material on the covers in addition.
238Copying with changes limited to the covers, as long as they preserve
239the title of the Document and satisfy these conditions, can be treated
240as verbatim copying in other respects.
241</p>
242<p>If the required texts for either cover are too voluminous to fit
243legibly, you should put the first ones listed (as many as fit
244reasonably) on the actual cover, and continue the rest onto adjacent
245pages.
246</p>
247<p>If you publish or distribute Opaque copies of the Document numbering
248more than 100, you must either include a machine-readable Transparent
249copy along with each Opaque copy, or state in or with each Opaque copy
250a computer-network location from which the general network-using
251public has access to download using public-standard network protocols
252a complete Transparent copy of the Document, free of added material.
253If you use the latter option, you must take reasonably prudent steps,
254when you begin distribution of Opaque copies in quantity, to ensure
255that this Transparent copy will remain thus accessible at the stated
256location until at least one year after the last time you distribute an
257Opaque copy (directly or through your agents or retailers) of that
258edition to the public.
259</p>
260<p>It is requested, but not required, that you contact the authors of the
261Document well before redistributing any large number of copies, to give
262them a chance to provide you with an updated version of the Document.
263</p>
264</li><li> MODIFICATIONS
265
266<p>You may copy and distribute a Modified Version of the Document under
267the conditions of sections 2 and 3 above, provided that you release
268the Modified Version under precisely this License, with the Modified
269Version filling the role of the Document, thus licensing distribution
270and modification of the Modified Version to whoever possesses a copy
271of it.  In addition, you must do these things in the Modified Version:
272</p>
273<ol type="A" start="1">
274<li> Use in the Title Page (and on the covers, if any) a title distinct
275from that of the Document, and from those of previous versions
276(which should, if there were any, be listed in the History section
277of the Document).  You may use the same title as a previous version
278if the original publisher of that version gives permission.
279
280</li><li> List on the Title Page, as authors, one or more persons or entities
281responsible for authorship of the modifications in the Modified
282Version, together with at least five of the principal authors of the
283Document (all of its principal authors, if it has fewer than five),
284unless they release you from this requirement.
285
286</li><li> State on the Title page the name of the publisher of the
287Modified Version, as the publisher.
288
289</li><li> Preserve all the copyright notices of the Document.
290
291</li><li> Add an appropriate copyright notice for your modifications
292adjacent to the other copyright notices.
293
294</li><li> Include, immediately after the copyright notices, a license notice
295giving the public permission to use the Modified Version under the
296terms of this License, in the form shown in the Addendum below.
297
298</li><li> Preserve in that license notice the full lists of Invariant Sections
299and required Cover Texts given in the Document&rsquo;s license notice.
300
301</li><li> Include an unaltered copy of this License.
302
303</li><li> Preserve the section Entitled &ldquo;History&rdquo;, Preserve its Title, and add
304to it an item stating at least the title, year, new authors, and
305publisher of the Modified Version as given on the Title Page.  If
306there is no section Entitled &ldquo;History&rdquo; in the Document, create one
307stating the title, year, authors, and publisher of the Document as
308given on its Title Page, then add an item describing the Modified
309Version as stated in the previous sentence.
310
311</li><li> Preserve the network location, if any, given in the Document for
312public access to a Transparent copy of the Document, and likewise
313the network locations given in the Document for previous versions
314it was based on.  These may be placed in the &ldquo;History&rdquo; section.
315You may omit a network location for a work that was published at
316least four years before the Document itself, or if the original
317publisher of the version it refers to gives permission.
318
319</li><li> For any section Entitled &ldquo;Acknowledgements&rdquo; or &ldquo;Dedications&rdquo;, Preserve
320the Title of the section, and preserve in the section all the
321substance and tone of each of the contributor acknowledgements and/or
322dedications given therein.
323
324</li><li> Preserve all the Invariant Sections of the Document,
325unaltered in their text and in their titles.  Section numbers
326or the equivalent are not considered part of the section titles.
327
328</li><li> Delete any section Entitled &ldquo;Endorsements&rdquo;.  Such a section
329may not be included in the Modified Version.
330
331</li><li> Do not retitle any existing section to be Entitled &ldquo;Endorsements&rdquo; or
332to conflict in title with any Invariant Section.
333
334</li><li> Preserve any Warranty Disclaimers.
335</li></ol>
336
337<p>If the Modified Version includes new front-matter sections or
338appendices that qualify as Secondary Sections and contain no material
339copied from the Document, you may at your option designate some or all
340of these sections as invariant.  To do this, add their titles to the
341list of Invariant Sections in the Modified Version&rsquo;s license notice.
342These titles must be distinct from any other section titles.
343</p>
344<p>You may add a section Entitled &ldquo;Endorsements&rdquo;, provided it contains
345nothing but endorsements of your Modified Version by various
346parties&mdash;for example, statements of peer review or that the text has
347been approved by an organization as the authoritative definition of a
348standard.
349</p>
350<p>You may add a passage of up to five words as a Front-Cover Text, and a
351passage of up to 25 words as a Back-Cover Text, to the end of the list
352of Cover Texts in the Modified Version.  Only one passage of
353Front-Cover Text and one of Back-Cover Text may be added by (or
354through arrangements made by) any one entity.  If the Document already
355includes a cover text for the same cover, previously added by you or
356by arrangement made by the same entity you are acting on behalf of,
357you may not add another; but you may replace the old one, on explicit
358permission from the previous publisher that added the old one.
359</p>
360<p>The author(s) and publisher(s) of the Document do not by this License
361give permission to use their names for publicity for or to assert or
362imply endorsement of any Modified Version.
363</p>
364</li><li> COMBINING DOCUMENTS
365
366<p>You may combine the Document with other documents released under this
367License, under the terms defined in section 4 above for modified
368versions, provided that you include in the combination all of the
369Invariant Sections of all of the original documents, unmodified, and
370list them all as Invariant Sections of your combined work in its
371license notice, and that you preserve all their Warranty Disclaimers.
372</p>
373<p>The combined work need only contain one copy of this License, and
374multiple identical Invariant Sections may be replaced with a single
375copy.  If there are multiple Invariant Sections with the same name but
376different contents, make the title of each such section unique by
377adding at the end of it, in parentheses, the name of the original
378author or publisher of that section if known, or else a unique number.
379Make the same adjustment to the section titles in the list of
380Invariant Sections in the license notice of the combined work.
381</p>
382<p>In the combination, you must combine any sections Entitled &ldquo;History&rdquo;
383in the various original documents, forming one section Entitled
384&ldquo;History&rdquo;; likewise combine any sections Entitled &ldquo;Acknowledgements&rdquo;,
385and any sections Entitled &ldquo;Dedications&rdquo;.  You must delete all
386sections Entitled &ldquo;Endorsements.&rdquo;
387</p>
388</li><li> COLLECTIONS OF DOCUMENTS
389
390<p>You may make a collection consisting of the Document and other documents
391released under this License, and replace the individual copies of this
392License in the various documents with a single copy that is included in
393the collection, provided that you follow the rules of this License for
394verbatim copying of each of the documents in all other respects.
395</p>
396<p>You may extract a single document from such a collection, and distribute
397it individually under this License, provided you insert a copy of this
398License into the extracted document, and follow this License in all
399other respects regarding verbatim copying of that document.
400</p>
401</li><li> AGGREGATION WITH INDEPENDENT WORKS
402
403<p>A compilation of the Document or its derivatives with other separate
404and independent documents or works, in or on a volume of a storage or
405distribution medium, is called an &ldquo;aggregate&rdquo; if the copyright
406resulting from the compilation is not used to limit the legal rights
407of the compilation&rsquo;s users beyond what the individual works permit.
408When the Document is included in an aggregate, this License does not
409apply to the other works in the aggregate which are not themselves
410derivative works of the Document.
411</p>
412<p>If the Cover Text requirement of section 3 is applicable to these
413copies of the Document, then if the Document is less than one half of
414the entire aggregate, the Document&rsquo;s Cover Texts may be placed on
415covers that bracket the Document within the aggregate, or the
416electronic equivalent of covers if the Document is in electronic form.
417Otherwise they must appear on printed covers that bracket the whole
418aggregate.
419</p>
420</li><li> TRANSLATION
421
422<p>Translation is considered a kind of modification, so you may
423distribute translations of the Document under the terms of section 4.
424Replacing Invariant Sections with translations requires special
425permission from their copyright holders, but you may include
426translations of some or all Invariant Sections in addition to the
427original versions of these Invariant Sections.  You may include a
428translation of this License, and all the license notices in the
429Document, and any Warranty Disclaimers, provided that you also include
430the original English version of this License and the original versions
431of those notices and disclaimers.  In case of a disagreement between
432the translation and the original version of this License or a notice
433or disclaimer, the original version will prevail.
434</p>
435<p>If a section in the Document is Entitled &ldquo;Acknowledgements&rdquo;,
436&ldquo;Dedications&rdquo;, or &ldquo;History&rdquo;, the requirement (section 4) to Preserve
437its Title (section 1) will typically require changing the actual
438title.
439</p>
440</li><li> TERMINATION
441
442<p>You may not copy, modify, sublicense, or distribute the Document
443except as expressly provided under this License.  Any attempt
444otherwise to copy, modify, sublicense, or distribute it is void, and
445will automatically terminate your rights under this License.
446</p>
447<p>However, if you cease all violation of this License, then your license
448from a particular copyright holder is reinstated (a) provisionally,
449unless and until the copyright holder explicitly and finally
450terminates your license, and (b) permanently, if the copyright holder
451fails to notify you of the violation by some reasonable means prior to
45260 days after the cessation.
453</p>
454<p>Moreover, your license from a particular copyright holder is
455reinstated permanently if the copyright holder notifies you of the
456violation by some reasonable means, this is the first time you have
457received notice of violation of this License (for any work) from that
458copyright holder, and you cure the violation prior to 30 days after
459your receipt of the notice.
460</p>
461<p>Termination of your rights under this section does not terminate the
462licenses of parties who have received copies or rights from you under
463this License.  If your rights have been terminated and not permanently
464reinstated, receipt of a copy of some or all of the same material does
465not give you any rights to use it.
466</p>
467</li><li> FUTURE REVISIONS OF THIS LICENSE
468
469<p>The Free Software Foundation may publish new, revised versions
470of the GNU Free Documentation License from time to time.  Such new
471versions will be similar in spirit to the present version, but may
472differ in detail to address new problems or concerns.  See
473<a href="https://www.gnu.org/copyleft/">https://www.gnu.org/copyleft/</a>.
474</p>
475<p>Each version of the License is given a distinguishing version number.
476If the Document specifies that a particular numbered version of this
477License &ldquo;or any later version&rdquo; applies to it, you have the option of
478following the terms and conditions either of that specified version or
479of any later version that has been published (not as a draft) by the
480Free Software Foundation.  If the Document does not specify a version
481number of this License, you may choose any version ever published (not
482as a draft) by the Free Software Foundation.  If the Document
483specifies that a proxy can decide which future versions of this
484License can be used, that proxy&rsquo;s public statement of acceptance of a
485version permanently authorizes you to choose that version for the
486Document.
487</p>
488</li><li> RELICENSING
489
490<p>&ldquo;Massive Multiauthor Collaboration Site&rdquo; (or &ldquo;MMC Site&rdquo;) means any
491World Wide Web server that publishes copyrightable works and also
492provides prominent facilities for anybody to edit those works.  A
493public wiki that anybody can edit is an example of such a server.  A
494&ldquo;Massive Multiauthor Collaboration&rdquo; (or &ldquo;MMC&rdquo;) contained in the
495site means any set of copyrightable works thus published on the MMC
496site.
497</p>
498<p>&ldquo;CC-BY-SA&rdquo; means the Creative Commons Attribution-Share Alike 3.0
499license published by Creative Commons Corporation, a not-for-profit
500corporation with a principal place of business in San Francisco,
501California, as well as future copyleft versions of that license
502published by that same organization.
503</p>
504<p>&ldquo;Incorporate&rdquo; means to publish or republish a Document, in whole or
505in part, as part of another Document.
506</p>
507<p>An MMC is &ldquo;eligible for relicensing&rdquo; if it is licensed under this
508License, and if all works that were first published under this License
509somewhere other than this MMC, and subsequently incorporated in whole
510or in part into the MMC, (1) had no cover texts or invariant sections,
511and (2) were thus incorporated prior to November 1, 2008.
512</p>
513<p>The operator of an MMC Site may republish an MMC contained in the site
514under CC-BY-SA on the same site at any time before August 1, 2009,
515provided the MMC is eligible for relicensing.
516</p>
517</li></ol>
518
519<div class="unnumberedsec" id="ADDENDUM_003a-How-to-use-this-License-for-your-documents">
520<h3 class="unnumberedsec">ADDENDUM: How to use this License for your documents</h3>
521
522<p>To use this License in a document you have written, include a copy of
523the License in the document and put the following copyright and
524license notices just after the title page:
525</p>
526<div class="example">
527<pre class="example">  Copyright (C)  <var>year</var>  <var>your name</var>.
528  Permission is granted to copy, distribute and/or modify this document
529  under the terms of the GNU Free Documentation License, Version 1.3
530  or any later version published by the Free Software Foundation;
531  with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
532  Texts.  A copy of the license is included in the section entitled ``GNU
533  Free Documentation License''.
534</pre></div>
535
536<p>If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
537replace the &ldquo;with...Texts.&rdquo; line with this:
538</p>
539<div class="example">
540<pre class="example">    with the Invariant Sections being <var>list their titles</var>, with
541    the Front-Cover Texts being <var>list</var>, and with the Back-Cover Texts
542    being <var>list</var>.
543</pre></div>
544
545<p>If you have Invariant Sections without Cover Texts, or some other
546combination of the three, merge those two alternatives to suit the
547situation.
548</p>
549<p>If your document contains nontrivial examples of program code, we
550recommend releasing these examples in parallel under your choice of
551free software license, such as the GNU General Public License,
552to permit their use in free software.
553</p>
554
555<hr />
556<p>
557<p><a href="./index.html">Return to the GCC Installation page</a>
558</p>
559
560<hr></div>
561
562
563
564</body>
565</html>
566