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