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