index.html revision 1.13 1 1.9 mrg <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 1.9 mrg <html>
3 1.11 mrg <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
4 1.1 mrg
5 1.9 mrg Permission is granted to copy, distribute and/or modify this document
6 1.3 skrll under the terms of the GNU Free Documentation License, Version 1.3 or
7 1.1 mrg any later version published by the Free Software Foundation; with no
8 1.1 mrg Invariant Sections, the Front-Cover texts being (a) (see below), and
9 1.1 mrg with the Back-Cover Texts being (b) (see below). A copy of the
10 1.9 mrg license is included in the section entitled "GNU
11 1.9 mrg Free Documentation License".
12 1.1 mrg
13 1.1 mrg (a) The FSF's Front-Cover Text is:
14 1.1 mrg
15 1.9 mrg A GNU Manual
16 1.1 mrg
17 1.1 mrg (b) The FSF's Back-Cover Text is:
18 1.1 mrg
19 1.9 mrg You have freedom to copy and modify this GNU Manual, like GNU
20 1.1 mrg software. Copies published by the Free Software Foundation raise
21 1.9 mrg funds for GNU development. -->
22 1.13 mrg <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
23 1.13 mrg <head>
24 1.13 mrg <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
25 1.9 mrg <title>Installing GCC</title>
26 1.9 mrg
27 1.9 mrg <meta name="description" content="Installing GCC">
28 1.9 mrg <meta name="keywords" content="Installing GCC">
29 1.9 mrg <meta name="resource-type" content="document">
30 1.9 mrg <meta name="distribution" content="global">
31 1.9 mrg <meta name="Generator" content="makeinfo">
32 1.9 mrg <style type="text/css">
33 1.9 mrg <!--
34 1.9 mrg a.summary-letter {text-decoration: none}
35 1.9 mrg blockquote.indentedblock {margin-right: 0em}
36 1.13 mrg blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
37 1.13 mrg blockquote.smallquotation {font-size: smaller}
38 1.9 mrg div.display {margin-left: 3.2em}
39 1.9 mrg div.example {margin-left: 3.2em}
40 1.13 mrg div.lisp {margin-left: 3.2em}
41 1.13 mrg div.smalldisplay {margin-left: 3.2em}
42 1.13 mrg div.smallexample {margin-left: 3.2em}
43 1.13 mrg div.smalllisp {margin-left: 3.2em}
44 1.9 mrg kbd {font-style: oblique}
45 1.9 mrg pre.display {font-family: inherit}
46 1.9 mrg pre.format {font-family: inherit}
47 1.9 mrg pre.menu-comment {font-family: serif}
48 1.9 mrg pre.menu-preformatted {font-family: serif}
49 1.13 mrg pre.smalldisplay {font-family: inherit; font-size: smaller}
50 1.13 mrg pre.smallexample {font-size: smaller}
51 1.13 mrg pre.smallformat {font-family: inherit; font-size: smaller}
52 1.13 mrg pre.smalllisp {font-size: smaller}
53 1.9 mrg span.nolinebreak {white-space: nowrap}
54 1.9 mrg span.roman {font-family: initial; font-weight: normal}
55 1.9 mrg span.sansserif {font-family: sans-serif; font-weight: normal}
56 1.9 mrg ul.no-bullet {list-style: none}
57 1.9 mrg -->
58 1.9 mrg </style>
59 1.9 mrg
60 1.9 mrg
61 1.1 mrg </head>
62 1.9 mrg
63 1.9 mrg <body lang="en">
64 1.9 mrg <h1 class="settitle" align="center">Installing GCC</h1>
65 1.9 mrg
66 1.9 mrg
67 1.9 mrg
68 1.9 mrg
69 1.9 mrg
70 1.9 mrg
71 1.9 mrg
72 1.9 mrg
73 1.9 mrg
74 1.9 mrg
75 1.9 mrg
76 1.9 mrg
77 1.9 mrg
78 1.9 mrg
79 1.9 mrg
80 1.9 mrg
81 1.9 mrg
82 1.9 mrg <p>The latest version of this document is always available at
83 1.9 mrg <a href="http://gcc.gnu.org/install/">http://gcc.gnu.org/install/</a>.
84 1.3 skrll It refers to the current development sources, instructions for
85 1.3 skrll specific released versions are included with the sources.
86 1.9 mrg </p>
87 1.9 mrg <p>This document describes the generic installation procedure for GCC as well
88 1.1 mrg as detailing some target specific installation instructions.
89 1.9 mrg </p>
90 1.9 mrg <p>GCC includes several components that previously were separate distributions
91 1.1 mrg with their own installation instructions. This document supersedes all
92 1.3 skrll package-specific installation instructions.
93 1.9 mrg </p>
94 1.9 mrg <p><em>Before</em> starting the build/install procedure please check the
95 1.9 mrg <a href="specific.html">host/target specific installation notes</a>.
96 1.1 mrg We recommend you browse the entire generic installation instructions before
97 1.1 mrg you proceed.
98 1.9 mrg </p>
99 1.9 mrg <p>Lists of successful builds for released versions of GCC are
100 1.9 mrg available at <a href="http://gcc.gnu.org/buildstat.html">http://gcc.gnu.org/buildstat.html</a>.
101 1.1 mrg These lists are updated as new information becomes available.
102 1.9 mrg </p>
103 1.9 mrg <p>The installation procedure itself is broken into five steps.
104 1.9 mrg </p>
105 1.9 mrg <ol>
106 1.9 mrg <li> <a href="prerequisites.html">Prerequisites</a>
107 1.9 mrg </li><li> <a href="download.html">Downloading the source</a>
108 1.9 mrg </li><li> <a href="configure.html">Configuration</a>
109 1.9 mrg </li><li> <a href="build.html">Building</a>
110 1.9 mrg </li><li> <a href="test.html">Testing</a> (optional)
111 1.9 mrg </li><li> <a href="finalinstall.html">Final install</a>
112 1.9 mrg </li></ol>
113 1.1 mrg
114 1.9 mrg <p>Please note that GCC does not support ‘<samp>make uninstall</samp>’ and probably
115 1.9 mrg won’t do so in the near future as this would open a can of worms. Instead,
116 1.1 mrg we suggest that you install GCC into a directory of its own and simply
117 1.1 mrg remove that directory when you do not need that specific version of GCC
118 1.1 mrg any longer, and, if shared libraries are installed there as well, no
119 1.1 mrg more binaries exist that use them.
120 1.9 mrg </p>
121 1.9 mrg <p>There are also some <a href="old.html">old installation instructions</a>,
122 1.1 mrg which are mostly obsolete but still contain some information which has
123 1.1 mrg not yet been merged into the main part of this manual.
124 1.9 mrg </p>
125 1.9 mrg <hr />
126 1.9 mrg <p>
127 1.1 mrg <p><a href="./index.html">Return to the GCC Installation page</a>
128 1.9 mrg </p>
129 1.11 mrg <p>Copyright © 1988-2020 Free Software Foundation, Inc.
130 1.9 mrg </p><br>
131 1.9 mrg <p>Permission is granted to copy, distribute and/or modify this document
132 1.3 skrll under the terms of the GNU Free Documentation License, Version 1.3 or
133 1.1 mrg any later version published by the Free Software Foundation; with no
134 1.1 mrg Invariant Sections, the Front-Cover texts being (a) (see below), and
135 1.1 mrg with the Back-Cover Texts being (b) (see below). A copy of the
136 1.9 mrg license is included in the section entitled “<a href="./gfdl.html">GNU
137 1.9 mrg Free Documentation License</a>”.
138 1.9 mrg </p>
139 1.9 mrg <p>(a) The FSF’s Front-Cover Text is:
140 1.9 mrg </p>
141 1.9 mrg <p>A GNU Manual
142 1.9 mrg </p>
143 1.9 mrg <p>(b) The FSF’s Back-Cover Text is:
144 1.9 mrg </p>
145 1.9 mrg <p>You have freedom to copy and modify this GNU Manual, like GNU
146 1.9 mrg software. Copies published by the Free Software Foundation raise
147 1.9 mrg funds for GNU development.
148 1.9 mrg </p>
149 1.9 mrg
150 1.9 mrg
151 1.9 mrg
152 1.9 mrg
153 1.9 mrg
154 1.9 mrg
155 1.9 mrg
156 1.9 mrg
157 1.9 mrg
158 1.1 mrg
159 1.1 mrg
160 1.1 mrg
161 1.1 mrg
162 1.1 mrg
163 1.13 mrg
164 1.9 mrg </body>
165 1.9 mrg </html>
166