Home | History | Annotate | Line # | Download | only in INSTALL
index.html revision 1.13
      1  1.11  mrg <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      2  1.11  mrg <html>
      3  1.13  mrg <!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ -->
      4  1.13  mrg <head>
      5  1.13  mrg <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6  1.13  mrg <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
      7   1.1  mrg 
      8  1.11  mrg Permission is granted to copy, distribute and/or modify this document
      9   1.3  mrg under the terms of the GNU Free Documentation License, Version 1.3 or
     10   1.1  mrg any later version published by the Free Software Foundation; with no
     11   1.1  mrg Invariant Sections, the Front-Cover texts being (a) (see below), and
     12   1.1  mrg with the Back-Cover Texts being (b) (see below).  A copy of the
     13  1.11  mrg license is included in the section entitled "GNU
     14  1.11  mrg Free Documentation License".
     15   1.1  mrg 
     16   1.1  mrg (a) The FSF's Front-Cover Text is:
     17   1.1  mrg 
     18  1.11  mrg A GNU Manual
     19   1.1  mrg 
     20   1.1  mrg (b) The FSF's Back-Cover Text is:
     21   1.1  mrg 
     22  1.11  mrg You have freedom to copy and modify this GNU Manual, like GNU
     23   1.1  mrg      software.  Copies published by the Free Software Foundation raise
     24  1.11  mrg      funds for GNU development. -->
     25  1.11  mrg <title>Installing GCC</title>
     26  1.11  mrg 
     27  1.11  mrg <meta name="description" content="Installing GCC">
     28  1.11  mrg <meta name="keywords" content="Installing GCC">
     29  1.11  mrg <meta name="resource-type" content="document">
     30  1.11  mrg <meta name="distribution" content="global">
     31  1.11  mrg <meta name="Generator" content="makeinfo">
     32  1.13  mrg <meta name="viewport" content="width=device-width,initial-scale=1">
     33  1.13  mrg 
     34  1.11  mrg <style type="text/css">
     35  1.11  mrg <!--
     36  1.13  mrg a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
     37  1.11  mrg a.summary-letter {text-decoration: none}
     38  1.11  mrg blockquote.indentedblock {margin-right: 0em}
     39  1.11  mrg div.display {margin-left: 3.2em}
     40  1.11  mrg div.example {margin-left: 3.2em}
     41  1.11  mrg kbd {font-style: oblique}
     42  1.11  mrg pre.display {font-family: inherit}
     43  1.11  mrg pre.format {font-family: inherit}
     44  1.11  mrg pre.menu-comment {font-family: serif}
     45  1.11  mrg pre.menu-preformatted {font-family: serif}
     46  1.11  mrg span.nolinebreak {white-space: nowrap}
     47  1.11  mrg span.roman {font-family: initial; font-weight: normal}
     48  1.11  mrg span.sansserif {font-family: sans-serif; font-weight: normal}
     49  1.13  mrg span:hover a.copiable-anchor {visibility: visible}
     50  1.11  mrg ul.no-bullet {list-style: none}
     51  1.11  mrg -->
     52  1.11  mrg </style>
     53  1.11  mrg 
     54  1.11  mrg 
     55   1.1  mrg </head>
     56  1.11  mrg 
     57  1.11  mrg <body lang="en">
     58  1.11  mrg <h1 class="settitle" align="center">Installing GCC</h1>
     59  1.11  mrg 
     60  1.11  mrg 
     61  1.11  mrg 
     62  1.11  mrg 
     63  1.11  mrg 
     64  1.11  mrg 
     65  1.11  mrg 
     66  1.11  mrg 
     67  1.11  mrg 
     68  1.11  mrg 
     69  1.11  mrg 
     70  1.11  mrg 
     71  1.11  mrg 
     72  1.11  mrg 
     73  1.11  mrg 
     74  1.11  mrg 
     75  1.11  mrg 
     76  1.11  mrg <p>The latest version of this document is always available at
     77  1.11  mrg <a href="http://gcc.gnu.org/install/">http://gcc.gnu.org/install/</a>.
     78   1.3  mrg It refers to the current development sources, instructions for
     79   1.3  mrg specific released versions are included with the sources.
     80  1.11  mrg </p>
     81  1.11  mrg <p>This document describes the generic installation procedure for GCC as well
     82   1.1  mrg as detailing some target specific installation instructions.
     83  1.11  mrg </p>
     84  1.11  mrg <p>GCC includes several components that previously were separate distributions
     85   1.1  mrg with their own installation instructions.  This document supersedes all
     86   1.3  mrg package-specific installation instructions.
     87  1.11  mrg </p>
     88  1.11  mrg <p><em>Before</em> starting the build/install procedure please check the
     89  1.11  mrg <a href="specific.html">host/target specific installation notes</a>.
     90   1.1  mrg We recommend you browse the entire generic installation instructions before
     91   1.1  mrg you proceed.
     92  1.11  mrg </p>
     93  1.11  mrg <p>Lists of successful builds for released versions of GCC are
     94  1.11  mrg available at <a href="http://gcc.gnu.org/buildstat.html">http://gcc.gnu.org/buildstat.html</a>.
     95   1.1  mrg These lists are updated as new information becomes available.
     96  1.11  mrg </p>
     97  1.11  mrg <p>The installation procedure itself is broken into five steps.
     98  1.11  mrg </p>
     99  1.11  mrg <ol>
    100  1.11  mrg <li> <a href="prerequisites.html">Prerequisites</a>
    101  1.11  mrg </li><li> <a href="download.html">Downloading the source</a>
    102  1.11  mrg </li><li> <a href="configure.html">Configuration</a>
    103  1.11  mrg </li><li> <a href="build.html">Building</a>
    104  1.11  mrg </li><li> <a href="test.html">Testing</a> (optional)
    105  1.11  mrg </li><li> <a href="finalinstall.html">Final install</a>
    106  1.11  mrg </li></ol>
    107   1.1  mrg 
    108  1.11  mrg <p>Please note that GCC does not support &lsquo;<samp>make uninstall</samp>&rsquo; and probably
    109  1.11  mrg won&rsquo;t do so in the near future as this would open a can of worms.  Instead,
    110   1.1  mrg we suggest that you install GCC into a directory of its own and simply
    111   1.1  mrg remove that directory when you do not need that specific version of GCC
    112   1.1  mrg any longer, and, if shared libraries are installed there as well, no
    113   1.1  mrg more binaries exist that use them.
    114  1.11  mrg </p>
    115  1.11  mrg <p>There are also some <a href="old.html">old installation instructions</a>,
    116   1.1  mrg which are mostly obsolete but still contain some information which has
    117   1.1  mrg not yet been merged into the main part of this manual.
    118  1.11  mrg </p>
    119  1.11  mrg <hr />
    120  1.11  mrg <p>
    121   1.1  mrg <p><a href="./index.html">Return to the GCC Installation page</a>
    122  1.11  mrg </p>
    123  1.13  mrg <p>Copyright &copy; 1988-2020 Free Software Foundation, Inc.
    124  1.11  mrg </p><br>
    125  1.11  mrg <p>Permission is granted to copy, distribute and/or modify this document
    126   1.3  mrg under the terms of the GNU Free Documentation License, Version 1.3 or
    127   1.1  mrg any later version published by the Free Software Foundation; with no
    128   1.1  mrg Invariant Sections, the Front-Cover texts being (a) (see below), and
    129   1.1  mrg with the Back-Cover Texts being (b) (see below).  A copy of the
    130  1.11  mrg license is included in the section entitled &ldquo;<a href="./gfdl.html">GNU
    131  1.11  mrg Free Documentation License</a>&rdquo;.
    132  1.11  mrg </p>
    133  1.11  mrg <p>(a) The FSF&rsquo;s Front-Cover Text is:
    134  1.11  mrg </p>
    135  1.11  mrg <p>A GNU Manual
    136  1.11  mrg </p>
    137  1.11  mrg <p>(b) The FSF&rsquo;s Back-Cover Text is:
    138  1.11  mrg </p>
    139  1.11  mrg <p>You have freedom to copy and modify this GNU Manual, like GNU
    140  1.11  mrg      software.  Copies published by the Free Software Foundation raise
    141  1.11  mrg      funds for GNU development.
    142  1.11  mrg </p>
    143  1.11  mrg 
    144  1.11  mrg 
    145  1.11  mrg 
    146  1.11  mrg 
    147  1.11  mrg 
    148  1.11  mrg 
    149  1.11  mrg 
    150  1.11  mrg 
    151  1.11  mrg 
    152   1.1  mrg 
    153   1.1  mrg 
    154   1.1  mrg 
    155   1.1  mrg 
    156   1.1  mrg 
    157  1.11  mrg </body>
    158  1.11  mrg </html>
    159