| 1 | <html lang="en">
|
|---|
| 2 | <head>
|
|---|
| 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.5">
|
|---|
| 7 | <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
|
|---|
| 8 | <!--
|
|---|
| 9 | Copyright © 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
|---|
| 10 | 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
|---|
| 11 | <br><p>
|
|---|
| 12 | <p>Permission is granted to copy, distribute and/or modify this document
|
|---|
| 13 | under the terms of the GNU Free Documentation License, Version 1.2 or
|
|---|
| 14 | any later version published by the Free Software Foundation; with no
|
|---|
| 15 | Invariant Sections, the Front-Cover texts being (a) (see below), and
|
|---|
| 16 | with the Back-Cover Texts being (b) (see below). A copy of the
|
|---|
| 17 | license is included in the section entitled "<a href="./gfdl.html">GNU Free Documentation License</a>".
|
|---|
| 18 |
|
|---|
| 19 | <p>(a) The FSF's Front-Cover Text is:
|
|---|
| 20 |
|
|---|
| 21 | <p>A GNU Manual
|
|---|
| 22 |
|
|---|
| 23 | <p>(b) The FSF's Back-Cover Text is:
|
|---|
| 24 |
|
|---|
| 25 | <p>You have freedom to copy and modify this GNU Manual, like GNU
|
|---|
| 26 | software. Copies published by the Free Software Foundation raise
|
|---|
| 27 | funds for GNU development.-->
|
|---|
| 28 | </head>
|
|---|
| 29 | <body>
|
|---|
| 30 | <h1 class="settitle">Installing GCC</h1>
|
|---|
| 31 | The latest version of this document is always available at
|
|---|
| 32 | <a href="http://gcc.gnu.org/install/">http://gcc.gnu.org/install/</a>.
|
|---|
| 33 |
|
|---|
| 34 | <p>This document describes the generic installation procedure for GCC as well
|
|---|
| 35 | as detailing some target specific installation instructions.
|
|---|
| 36 |
|
|---|
| 37 | <p>GCC includes several components that previously were separate distributions
|
|---|
| 38 | with their own installation instructions. This document supersedes all
|
|---|
| 39 | package specific installation instructions.
|
|---|
| 40 |
|
|---|
| 41 | <p><em>Before</em> starting the build/install procedure please check the
|
|---|
| 42 | <a href="specific.html">host/target specific installation notes</a>.
|
|---|
| 43 | We recommend you browse the entire generic installation instructions before
|
|---|
| 44 | you proceed.
|
|---|
| 45 |
|
|---|
| 46 | <p>Lists of successful builds for released versions of GCC are
|
|---|
| 47 | available at <a href="http://gcc.gnu.org/buildstat.html">http://gcc.gnu.org/buildstat.html</a>.
|
|---|
| 48 | These lists are updated as new information becomes available.
|
|---|
| 49 |
|
|---|
| 50 | <p>The installation procedure itself is broken into five steps.
|
|---|
| 51 |
|
|---|
| 52 | <ol type=1 start=1>
|
|---|
| 53 | <li><a href="download.html">Downloading the source</a>
|
|---|
| 54 | <li><a href="configure.html">Configuration</a>
|
|---|
| 55 | <li><a href="build.html">Building</a>
|
|---|
| 56 | <li><a href="test.html">Testing</a> (optional)
|
|---|
| 57 | <li><a href="finalinstall.html">Final install</a>
|
|---|
| 58 | </ol>
|
|---|
| 59 |
|
|---|
| 60 | <p>Please note that GCC does not support <code>make uninstall</code> and probably
|
|---|
| 61 | won't do so in the near future as this would open a can of worms. Instead,
|
|---|
| 62 | we suggest that you install GCC into a directory of its own and simply
|
|---|
| 63 | remove that directory when you do not need that specific version of GCC
|
|---|
| 64 | any longer, and, if shared libraries are installed there as well, no
|
|---|
| 65 | more binaries exist that use them.
|
|---|
| 66 |
|
|---|
| 67 | <p>There are also some <a href="old.html">old installation instructions</a>,
|
|---|
| 68 | which are mostly obsolete but still contain some information which has
|
|---|
| 69 | not yet been merged into the main part of this manual.
|
|---|
| 70 |
|
|---|
| 71 | <hr />
|
|---|
| 72 | <p>
|
|---|
| 73 | <a href="./index.html">Return to the GCC Installation page</a>
|
|---|
| 74 |
|
|---|
| 75 | Copyright © 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
|---|
| 76 | 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
|---|
| 77 | <br><p>
|
|---|
| 78 | <p>Permission is granted to copy, distribute and/or modify this document
|
|---|
| 79 | under the terms of the GNU Free Documentation License, Version 1.2 or
|
|---|
| 80 | any later version published by the Free Software Foundation; with no
|
|---|
| 81 | Invariant Sections, the Front-Cover texts being (a) (see below), and
|
|---|
| 82 | with the Back-Cover Texts being (b) (see below). A copy of the
|
|---|
| 83 | license is included in the section entitled "<a href="./gfdl.html">GNU Free Documentation License</a>".
|
|---|
| 84 |
|
|---|
| 85 | <p>(a) The FSF's Front-Cover Text is:
|
|---|
| 86 |
|
|---|
| 87 | <p>A GNU Manual
|
|---|
| 88 |
|
|---|
| 89 | <p>(b) The FSF's Back-Cover Text is:
|
|---|
| 90 |
|
|---|
| 91 | <p>You have freedom to copy and modify this GNU Manual, like GNU
|
|---|
| 92 | software. Copies published by the Free Software Foundation raise
|
|---|
| 93 | funds for GNU development.
|
|---|
| 94 | </body></html>
|
|---|
| 95 |
|
|---|