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