Home | History | Annotate | Line # | Download | only in INSTALL
download.html revision 1.13
      1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      2 <html>
      3 <!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ -->
      4 <head>
      5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6 <!-- Copyright (C) 1988-2020 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>Downloading GCC</title>
     26 
     27 <meta name="description" content="Downloading GCC">
     28 <meta name="keywords" content="Downloading 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 <style type="text/css">
     35 <!--
     36 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
     37 a.summary-letter {text-decoration: none}
     38 blockquote.indentedblock {margin-right: 0em}
     39 div.display {margin-left: 3.2em}
     40 div.example {margin-left: 3.2em}
     41 kbd {font-style: oblique}
     42 pre.display {font-family: inherit}
     43 pre.format {font-family: inherit}
     44 pre.menu-comment {font-family: serif}
     45 pre.menu-preformatted {font-family: serif}
     46 span.nolinebreak {white-space: nowrap}
     47 span.roman {font-family: initial; font-weight: normal}
     48 span.sansserif {font-family: sans-serif; font-weight: normal}
     49 span:hover a.copiable-anchor {visibility: visible}
     50 ul.no-bullet {list-style: none}
     51 -->
     52 </style>
     53 
     54 
     55 </head>
     56 
     57 <body lang="en">
     58 <h1 class="settitle" align="center">Downloading GCC</h1>
     59 
     60 
     61 
     62 
     63 
     64 
     65 
     66 
     67 
     68 
     69 
     70 
     71 
     72 
     73 
     74 
     75 
     76 
     77 <span id="index-Downloading-GCC"></span>
     78 <span id="index-Downloading-the-Source"></span>
     79 
     80 <p>GCC is distributed via <a href="http://gcc.gnu.org/git.html">git</a> and via
     81 HTTPS as tarballs compressed with <code>gzip</code> or <code>bzip2</code>.
     82 </p>
     83 <p>Please refer to the <a href="http://gcc.gnu.org/releases.html">releases web page</a>
     84 for information on how to obtain GCC.
     85 </p>
     86 <p>The source distribution includes the C, C++, Objective-C, Fortran,
     87 and Ada (in the case of GCC 3.1 and later) compilers, as well as
     88 runtime libraries for C++, Objective-C, and Fortran.
     89 For previous versions these were downloadable as separate components such
     90 as the core GCC distribution, which included the C language front end and
     91 shared components, and language-specific distributions including the
     92 language front end and the language runtime (where appropriate).
     93 </p>
     94 <p>If you also intend to build binutils (either to upgrade an existing
     95 installation or for use in place of the corresponding tools of your
     96 OS), unpack the binutils distribution either in the same directory or
     97 a separate one.  In the latter case, add symbolic links to any
     98 components of the binutils you intend to build alongside the compiler
     99 (<samp>bfd</samp>, <samp>binutils</samp>, <samp>gas</samp>, <samp>gprof</samp>, <samp>ld</samp>,
    100 <samp>opcodes</samp>, &hellip;) to the directory containing the GCC sources.
    101 </p>
    102 <p>Likewise the GMP, MPFR and MPC libraries can be automatically built
    103 together with GCC.  You may simply run the
    104 <code>contrib/download_prerequisites</code> script in the GCC source directory
    105 to set up everything.
    106 Otherwise unpack the GMP, MPFR and/or MPC source
    107 distributions in the directory containing the GCC sources and rename
    108 their directories to <samp>gmp</samp>, <samp>mpfr</samp> and <samp>mpc</samp>,
    109 respectively (or use symbolic links with the same name).
    110 </p>
    111 <hr />
    112 <p>
    113 <p><a href="./index.html">Return to the GCC Installation page</a>
    114 </p>
    115 
    116 
    117 
    118 
    119 
    120 
    121 
    122 
    123 
    124 
    125 
    126 
    127 </body>
    128 </html>
    129