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