Home | History | Annotate | Line # | Download | only in INSTALL
      1 <!DOCTYPE html>
      2 <html>
      3 <!-- Created by GNU Texinfo 7.2, https://www.gnu.org/software/texinfo/ -->
      4 <head>
      5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6 <!-- Copyright  1988-2024 Free Software Foundation, Inc.
      7 
      8 Permission is granted to copy, distribute and/or modify this document
      9 under the terms of the GNU Free Documentation License, Version 1.3 or
     10 any later version published by the Free Software Foundation; with no
     11 Invariant Sections, the Front-Cover texts being (a) (see below), and
     12 with the Back-Cover Texts being (b) (see below).  A copy of the
     13 license is included in the section entitled "GNU
     14 Free Documentation License".
     15 
     16 (a) The FSF's Front-Cover Text is:
     17 
     18 A GNU Manual
     19 
     20 (b) The FSF's Back-Cover Text is:
     21 
     22 You have freedom to copy and modify this GNU Manual, like GNU
     23      software.  Copies published by the Free Software Foundation raise
     24      funds for GNU development. -->
     25 <title>Installing GCC</title>
     26 
     27 <meta name="description" content="Installing GCC">
     28 <meta name="keywords" content="Installing GCC">
     29 <meta name="resource-type" content="document">
     30 <meta name="distribution" content="global">
     31 <meta name="Generator" content="makeinfo">
     32 <meta name="viewport" content="width=device-width,initial-scale=1">
     33 
     34 
     35 
     36 </head>
     37 
     38 <body lang="en">
     39 
     40 
     41 
     42 
     43 
     44 
     45 
     46 
     47 
     48 
     49 
     50 
     51 
     52 
     53 
     54 
     55 
     56 
     57 
     58 
     59 <p>The latest version of this document is always available at
     60 <a class="uref" href="https://gcc.gnu.org/install/">https://gcc.gnu.org/install/</a>.
     61 It refers to the current development sources, instructions for
     62 specific released versions are included with the sources.
     63 </p>
     64 <p>This document describes the generic installation procedure for GCC as well
     65 as detailing some target specific installation instructions.
     66 </p>
     67 <p>GCC includes several components that previously were separate distributions
     68 with their own installation instructions.  This document supersedes all
     69 package-specific installation instructions.
     70 </p>
     71 <p><em class="emph">Before</em> starting the build/install procedure please check the
     72 <a class="uref" href="specific.html">host/target specific installation notes</a>.
     73 We recommend you browse the entire generic installation instructions before
     74 you proceed.
     75 </p>
     76 <p>The installation procedure itself is broken into five steps.
     77 </p>
     78 <ol class="enumerate">
     79 <li> <a class="uref" href="prerequisites.html">Prerequisites</a>
     80 </li><li> <a class="uref" href="download.html">Downloading the source</a>
     81 </li><li> <a class="uref" href="configure.html">Configuration</a>
     82 </li><li> <a class="uref" href="build.html">Building</a>
     83 </li><li> <a class="uref" href="test.html">Testing</a> (optional)
     84 </li><li> <a class="uref" href="finalinstall.html">Final install</a>
     85 </li></ol>
     86 
     87 <p>Please note that GCC does not support &lsquo;<samp class="samp">make uninstall</samp>&rsquo; and probably
     88 won&rsquo;t do so in the near future as this would open a can of worms.  Instead,
     89 we suggest that you install GCC into a directory of its own and simply
     90 remove that directory when you do not need that specific version of GCC
     91 any longer, and, if shared libraries are installed there as well, no
     92 more binaries exist that use them.
     93 </p>
     94 <hr />
     95 <p>
     96 <p><a class="uref" href="./index.html">Return to the GCC Installation page</a>
     97 </p>
     98 <p>Copyright &copy; 1988-2024 Free Software Foundation, Inc.
     99 </p><br>
    100 <p>Permission is granted to copy, distribute and/or modify this document
    101 under the terms of the GNU Free Documentation License, Version 1.3 or
    102 any later version published by the Free Software Foundation; with no
    103 Invariant Sections, the Front-Cover texts being (a) (see below), and
    104 with the Back-Cover Texts being (b) (see below).  A copy of the
    105 license is included in the section entitled &ldquo;<a class="uref" href="./gfdl.html">GNU
    106 Free Documentation License</a>&rdquo;.
    107 </p>
    108 <p>(a) The FSF&rsquo;s Front-Cover Text is:
    109 </p>
    110 <p>A GNU Manual
    111 </p>
    112 <p>(b) The FSF&rsquo;s Back-Cover Text is:
    113 </p>
    114 <p>You have freedom to copy and modify this GNU Manual, like GNU
    115      software.  Copies published by the Free Software Foundation raise
    116      funds for GNU development.
    117 </p>
    118 
    119 
    120 
    121 
    122 
    123 
    124 
    125 
    126 
    127 
    128 
    129 
    130 
    131 </body>
    132 </html>
    133