index.html revision 1.15
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</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<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</h1> 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76<p>The latest version of this document is always available at 77<a href="https://gcc.gnu.org/install/">https://gcc.gnu.org/install/</a>. 78It refers to the current development sources, instructions for 79specific released versions are included with the sources. 80</p> 81<p>This document describes the generic installation procedure for GCC as well 82as detailing some target specific installation instructions. 83</p> 84<p>GCC includes several components that previously were separate distributions 85with their own installation instructions. This document supersedes all 86package-specific installation instructions. 87</p> 88<p><em>Before</em> starting the build/install procedure please check the 89<a href="specific.html">host/target specific installation notes</a>. 90We recommend you browse the entire generic installation instructions before 91you proceed. 92</p> 93<p>Lists of successful builds for released versions of GCC are 94available at <a href="https://gcc.gnu.org/buildstat.html">https://gcc.gnu.org/buildstat.html</a>. 95These lists are updated as new information becomes available. 96</p> 97<p>The installation procedure itself is broken into five steps. 98</p> 99<ol> 100<li> <a href="prerequisites.html">Prerequisites</a> 101</li><li> <a href="download.html">Downloading the source</a> 102</li><li> <a href="configure.html">Configuration</a> 103</li><li> <a href="build.html">Building</a> 104</li><li> <a href="test.html">Testing</a> (optional) 105</li><li> <a href="finalinstall.html">Final install</a> 106</li></ol> 107 108<p>Please note that GCC does not support ‘<samp>make uninstall</samp>’ and probably 109won’t do so in the near future as this would open a can of worms. Instead, 110we suggest that you install GCC into a directory of its own and simply 111remove that directory when you do not need that specific version of GCC 112any longer, and, if shared libraries are installed there as well, no 113more binaries exist that use them. 114</p> 115<hr /> 116<p> 117<p><a href="./index.html">Return to the GCC Installation page</a> 118</p> 119<p>Copyright © 1988-2022 Free Software Foundation, Inc. 120</p><br> 121<p>Permission is granted to copy, distribute and/or modify this document 122under the terms of the GNU Free Documentation License, Version 1.3 or 123any later version published by the Free Software Foundation; with no 124Invariant Sections, the Front-Cover texts being (a) (see below), and 125with the Back-Cover Texts being (b) (see below). A copy of the 126license is included in the section entitled “<a href="./gfdl.html">GNU 127Free Documentation License</a>”. 128</p> 129<p>(a) The FSF’s Front-Cover Text is: 130</p> 131<p>A GNU Manual 132</p> 133<p>(b) The FSF’s Back-Cover Text is: 134</p> 135<p>You have freedom to copy and modify this GNU Manual, like GNU 136 software. Copies published by the Free Software Foundation raise 137 funds for GNU development. 138</p> 139 140 141 142 143 144 145 146 147 148 149 150 151 152</body> 153</html> 154