3 <title>Installing GCC
</title>
4 <meta http-equiv=
"Content-Type" content=
"text/html">
5 <meta name=
"description" content=
"Installing GCC">
6 <meta name=
"generator" content=
"makeinfo 4.7">
7 <link title=
"Top" rel=
"top" href=
"#Top">
8 <link href=
"http://www.gnu.org/software/texinfo/" rel=
"generator-home" title=
"Texinfo Homepage">
10 Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
11 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
13 Permission is granted to copy, distribute and/or modify this document
14 under the terms of the GNU Free Documentation License, Version 1.2 or
15 any later version published by the Free Software Foundation; with no
16 Invariant Sections, the Front-Cover texts being (a) (see below), and
17 with the Back-Cover Texts being (b) (see below). A copy of the
18 license is included in the section entitled "GNU Free Documentation License".
20 (a) The FSF's Front-Cover Text is:
24 (b) The FSF's Back-Cover Text is:
26 You have freedom to copy and modify this GNU Manual, like GNU
27 software. Copies published by the Free Software Foundation raise
28 funds for GNU development.-->
29 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
30 <style type=
"text/css"><!--
31 pre
.display
{ font-family:inherit
}
32 pre
.format
{ font-family:inherit
}
33 pre
.smalldisplay
{ font-family:inherit
; font-size:smaller
}
34 pre
.smallformat
{ font-family:inherit
; font-size:smaller
}
35 pre
.smallexample
{ font-size:smaller
}
36 pre
.smalllisp
{ font-size:smaller
}
37 span
.sc
{ font-variant:small-caps
}
38 span
.roman
{ font-family: serif
; font-weight: normal
; }
42 <h1 class=
"settitle">Installing GCC
</h1>
43 The latest version of this document is always available at
44 <a href=
"http://gcc.gnu.org/install/">http://gcc.gnu.org/install/
</a>.
46 <p>This document describes the generic installation procedure for GCC as well
47 as detailing some target specific installation instructions.
49 <p>GCC includes several components that previously were separate distributions
50 with their own installation instructions. This document supersedes all
51 package specific installation instructions.
53 <p><em>Before
</em> starting the build/install procedure please check the
54 <a href=
"specific.html">host/target specific installation notes
</a>.
55 We recommend you browse the entire generic installation instructions before
58 <p>Lists of successful builds for released versions of GCC are
59 available at
<a href=
"http://gcc.gnu.org/buildstat.html">http://gcc.gnu.org/buildstat.html
</a>.
60 These lists are updated as new information becomes available.
62 <p>The installation procedure itself is broken into five steps.
65 <li><a href=
"prerequisites.html">Prerequisites
</a>
66 <li><a href=
"download.html">Downloading the source
</a>
67 <li><a href=
"configure.html">Configuration
</a>
68 <li><a href=
"build.html">Building
</a>
69 <li><a href=
"test.html">Testing
</a> (optional)
70 <li><a href=
"finalinstall.html">Final install
</a>
73 <p>Please note that GCC does not support
<span class=
"samp">make uninstall
</span> and probably
74 won't do so in the near future as this would open a can of worms. Instead,
75 we suggest that you install GCC into a directory of its own and simply
76 remove that directory when you do not need that specific version of GCC
77 any longer, and, if shared libraries are installed there as well, no
78 more binaries exist that use them.
80 <p>There are also some
<a href=
"old.html">old installation instructions
</a>,
81 which are mostly obsolete but still contain some information which has
82 not yet been merged into the main part of this manual.
85 <p><a href=
"./index.html">Return to the GCC Installation page
</a>
87 <p>Copyright
© 1988,
1989,
1992,
1993,
1994,
1995,
1996,
1997,
1998,
88 1999,
2000,
2001,
2002,
2003,
2004 Free Software Foundation, Inc.
92 Permission is granted to copy, distribute and/or modify this document
93 under the terms of the GNU Free Documentation License, Version
1.2 or
94 any later version published by the Free Software Foundation; with no
95 Invariant Sections, the Front-Cover texts being (a) (see below), and
96 with the Back-Cover Texts being (b) (see below). A copy of the
97 license is included in the section entitled
“<a href=
"./gfdl.html">GNU Free Documentation License
</a>”.
99 <p>(a) The FSF's Front-Cover Text is:
103 <p>(b) The FSF's Back-Cover Text is:
105 <p>You have freedom to copy and modify this GNU Manual, like GNU
106 software. Copies published by the Free Software Foundation raise
107 funds for GNU development.
109 <!-- ***Prerequisites************************************************** -->
110 <!-- ***Downloading the source************************************************** -->
111 <!-- ***Configuration*********************************************************** -->
112 <!-- ***Building**************************************************************** -->
113 <!-- ***Testing***************************************************************** -->
114 <!-- ***Final install*********************************************************** -->
115 <!-- ***Binaries**************************************************************** -->
116 <!-- ***Specific**************************************************************** -->
117 <!-- ***Old documentation****************************************************** -->
118 <!-- ***GFDL******************************************************************** -->
119 <!-- *************************************************************************** -->
120 <!-- Part 6 The End of the Document -->