1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 <!-- Copyright (C) 1988-2013 Free Software Foundation, Inc.
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".
13 (a) The FSF's Front-Cover Text is:
17 (b) The FSF's Back-Cover Text is:
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 5.1, http://www.gnu.org/software/texinfo/ -->
24 <title>Installing GCC</title>
26 <meta name="description" content="Installing GCC">
27 <meta name="keywords" content="Installing GCC">
28 <meta name="resource-type" content="document">
29 <meta name="distribution" content="global">
30 <meta name="Generator" content="makeinfo">
31 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
32 <style type="text/css">
34 a.summary-letter {text-decoration: none}
35 blockquote.smallquotation {font-size: smaller}
36 div.display {margin-left: 3.2em}
37 div.example {margin-left: 3.2em}
38 div.indentedblock {margin-left: 3.2em}
39 div.lisp {margin-left: 3.2em}
40 div.smalldisplay {margin-left: 3.2em}
41 div.smallexample {margin-left: 3.2em}
42 div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
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.nocodebreak {white-space:nowrap}
54 span.nolinebreak {white-space:nowrap}
55 span.roman {font-family:serif; font-weight:normal}
56 span.sansserif {font-family:sans-serif; font-weight:normal}
57 ul.no-bullet {list-style: none}
64 <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
65 <h1 class="settitle" align="center">Installing GCC</h1>
83 <p>The latest version of this document is always available at
84 <a href="http://gcc.gnu.org/install/">http://gcc.gnu.org/install/</a>.
85 It refers to the current development sources, instructions for
86 specific released versions are included with the sources.
88 <p>This document describes the generic installation procedure for GCC as well
89 as detailing some target specific installation instructions.
91 <p>GCC includes several components that previously were separate distributions
92 with their own installation instructions. This document supersedes all
93 package-specific installation instructions.
95 <p><em>Before</em> starting the build/install procedure please check the
96 <a href="specific.html">host/target specific installation notes</a>.
97 We recommend you browse the entire generic installation instructions before
100 <p>Lists of successful builds for released versions of GCC are
101 available at <a href="http://gcc.gnu.org/buildstat.html">http://gcc.gnu.org/buildstat.html</a>.
102 These lists are updated as new information becomes available.
104 <p>The installation procedure itself is broken into five steps.
107 <li> <a href="prerequisites.html">Prerequisites</a>
108 </li><li> <a href="download.html">Downloading the source</a>
109 </li><li> <a href="configure.html">Configuration</a>
110 </li><li> <a href="build.html">Building</a>
111 </li><li> <a href="test.html">Testing</a> (optional)
112 </li><li> <a href="finalinstall.html">Final install</a>
115 <p>Please note that GCC does not support ‘<samp>make uninstall</samp>’ and probably
116 won’t do so in the near future as this would open a can of worms. Instead,
117 we suggest that you install GCC into a directory of its own and simply
118 remove that directory when you do not need that specific version of GCC
119 any longer, and, if shared libraries are installed there as well, no
120 more binaries exist that use them.
122 <p>There are also some <a href="old.html">old installation instructions</a>,
123 which are mostly obsolete but still contain some information which has
124 not yet been merged into the main part of this manual.
127 <p><p><a href="./index.html">Return to the GCC Installation page</a>
129 <p>Copyright © 1988-2013 Free Software Foundation, Inc.
131 <p>Permission is granted to copy, distribute and/or modify this document
132 under the terms of the GNU Free Documentation License, Version 1.3 or
133 any later version published by the Free Software Foundation; with no
134 Invariant Sections, the Front-Cover texts being (a) (see below), and
135 with the Back-Cover Texts being (b) (see below). A copy of the
136 license is included in the section entitled “<a href="./gfdl.html">GNU
137 Free Documentation License</a>”.
139 <p>(a) The FSF’s Front-Cover Text is:
143 <p>(b) The FSF’s Back-Cover Text is:
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.