index.html revision 1.14
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-2020 Free Software Foundation, Inc. 4 5Permission is granted to copy, distribute and/or modify this document 6under the terms of the GNU Free Documentation License, Version 1.3 or 7any later version published by the Free Software Foundation; with no 8Invariant Sections, the Front-Cover texts being (a) (see below), and 9with the Back-Cover Texts being (b) (see below). A copy of the 10license is included in the section entitled "GNU 11Free Documentation License". 12 13(a) The FSF's Front-Cover Text is: 14 15A GNU Manual 16 17(b) The FSF's Back-Cover Text is: 18 19You 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<!-- 34a.summary-letter {text-decoration: none} 35blockquote.indentedblock {margin-right: 0em} 36blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} 37blockquote.smallquotation {font-size: smaller} 38div.display {margin-left: 3.2em} 39div.example {margin-left: 3.2em} 40div.lisp {margin-left: 3.2em} 41div.smalldisplay {margin-left: 3.2em} 42div.smallexample {margin-left: 3.2em} 43div.smalllisp {margin-left: 3.2em} 44kbd {font-style: oblique} 45pre.display {font-family: inherit} 46pre.format {font-family: inherit} 47pre.menu-comment {font-family: serif} 48pre.menu-preformatted {font-family: serif} 49pre.smalldisplay {font-family: inherit; font-size: smaller} 50pre.smallexample {font-size: smaller} 51pre.smallformat {font-family: inherit; font-size: smaller} 52pre.smalllisp {font-size: smaller} 53span.nolinebreak {white-space: nowrap} 54span.roman {font-family: initial; font-weight: normal} 55span.sansserif {font-family: sans-serif; font-weight: normal} 56ul.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="http://gcc.gnu.org/install/">http://gcc.gnu.org/install/</a>. 84It refers to the current development sources, instructions for 85specific released versions are included with the sources. 86</p> 87<p>This document describes the generic installation procedure for GCC as well 88as detailing some target specific installation instructions. 89</p> 90<p>GCC includes several components that previously were separate distributions 91with their own installation instructions. This document supersedes all 92package-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>. 96We recommend you browse the entire generic installation instructions before 97you proceed. 98</p> 99<p>Lists of successful builds for released versions of GCC are 100available at <a href="http://gcc.gnu.org/buildstat.html">http://gcc.gnu.org/buildstat.html</a>. 101These 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 115won’t do so in the near future as this would open a can of worms. Instead, 116we suggest that you install GCC into a directory of its own and simply 117remove that directory when you do not need that specific version of GCC 118any longer, and, if shared libraries are installed there as well, no 119more binaries exist that use them. 120</p> 121<p>There are also some <a href="old.html">old installation instructions</a>, 122which are mostly obsolete but still contain some information which has 123not yet been merged into the main part of this manual. 124</p> 125<hr /> 126<p> 127<p><a href="./index.html">Return to the GCC Installation page</a> 128</p> 129<p>Copyright © 1988-2020 Free Software Foundation, Inc. 130</p><br> 131<p>Permission is granted to copy, distribute and/or modify this document 132under the terms of the GNU Free Documentation License, Version 1.3 or 133any later version published by the Free Software Foundation; with no 134Invariant Sections, the Front-Cover texts being (a) (see below), and 135with the Back-Cover Texts being (b) (see below). A copy of the 136license is included in the section entitled “<a href="./gfdl.html">GNU 137Free Documentation License</a>”. 138</p> 139<p>(a) The FSF’s Front-Cover Text is: 140</p> 141<p>A GNU Manual 142</p> 143<p>(b) The FSF’s Back-Cover Text is: 144</p> 145<p>You have freedom to copy and modify this GNU Manual, like GNU 146 software. Copies published by the Free Software Foundation raise 147 funds for GNU development. 148</p> 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164</body> 165</html> 166