Home | History | Annotate | Line # | Download | only in INSTALL
      1  1.19    mrg <!DOCTYPE html>
      2   1.9    mrg <html>
      3  1.19    mrg <!-- Created by GNU Texinfo 7.2, https://www.gnu.org/software/texinfo/ -->
      4  1.19    mrg <head>
      5  1.19    mrg <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6  1.19    mrg <!-- Copyright  1988-2024 Free Software Foundation, Inc.
      7   1.1    mrg 
      8   1.9    mrg Permission is granted to copy, distribute and/or modify this document
      9   1.3  skrll 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.9    mrg license is included in the section entitled "GNU
     14   1.9    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.9    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.9    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.9    mrg      funds for GNU development. -->
     25  1.12    mrg <title>Downloading GCC</title>
     26   1.9    mrg 
     27  1.12    mrg <meta name="description" content="Downloading GCC">
     28  1.12    mrg <meta name="keywords" content="Downloading GCC">
     29   1.9    mrg <meta name="resource-type" content="document">
     30   1.9    mrg <meta name="distribution" content="global">
     31   1.9    mrg <meta name="Generator" content="makeinfo">
     32  1.19    mrg <meta name="viewport" content="width=device-width,initial-scale=1">
     33  1.19    mrg 
     34   1.9    mrg 
     35   1.9    mrg 
     36   1.1    mrg </head>
     37   1.1    mrg 
     38   1.9    mrg <body lang="en">
     39   1.9    mrg 
     40   1.9    mrg 
     41   1.9    mrg 
     42   1.9    mrg 
     43   1.9    mrg 
     44   1.9    mrg 
     45   1.9    mrg 
     46   1.9    mrg 
     47   1.9    mrg 
     48   1.9    mrg 
     49   1.9    mrg 
     50   1.9    mrg 
     51   1.9    mrg 
     52   1.9    mrg 
     53   1.9    mrg 
     54   1.9    mrg 
     55   1.9    mrg 
     56   1.9    mrg 
     57  1.18    mrg 
     58  1.18    mrg 
     59  1.18    mrg 
     60  1.19    mrg <a class="index-entry-id" id="index-Downloading-GCC"></a>
     61  1.19    mrg <a class="index-entry-id" id="index-Downloading-the-Source"></a>
     62   1.9    mrg 
     63  1.19    mrg <p>GCC is distributed via <a class="uref" href="https://gcc.gnu.org/git.html">git</a> and via
     64  1.19    mrg HTTPS as tarballs compressed with <code class="command">gzip</code> or <code class="command">bzip2</code>.
     65   1.9    mrg </p>
     66  1.19    mrg <p>Please refer to the <a class="uref" href="https://gcc.gnu.org/releases.html">releases web page</a>
     67   1.8    mrg for information on how to obtain GCC.
     68   1.9    mrg </p>
     69  1.18    mrg <p>The source distribution includes the Ada, C, C++, Objective-C, D (GCC 9
     70  1.18    mrg and later), Fortran, Go, and Modula-2 (GCC 13 and later) compilers, as
     71  1.18    mrg well as runtime libraries for C++, Objective-C, and Fortran.
     72   1.3  skrll For previous versions these were downloadable as separate components such
     73   1.3  skrll as the core GCC distribution, which included the C language front end and
     74   1.3  skrll shared components, and language-specific distributions including the
     75   1.3  skrll language front end and the language runtime (where appropriate).
     76   1.9    mrg </p>
     77   1.9    mrg <p>If you also intend to build binutils (either to upgrade an existing
     78   1.1    mrg installation or for use in place of the corresponding tools of your
     79   1.1    mrg OS), unpack the binutils distribution either in the same directory or
     80   1.1    mrg a separate one.  In the latter case, add symbolic links to any
     81   1.1    mrg components of the binutils you intend to build alongside the compiler
     82  1.19    mrg (<samp class="file">bfd</samp>, <samp class="file">binutils</samp>, <samp class="file">gas</samp>, <samp class="file">gprof</samp>, <samp class="file">ld</samp>,
     83  1.19    mrg <samp class="file">opcodes</samp>, &hellip;) to the directory containing the GCC sources.
     84   1.9    mrg </p>
     85  1.18    mrg <p>Likewise the GMP, MPFR, MPC and Gettext libraries can be automatically
     86  1.18    mrg built together with GCC.  You may simply run the
     87  1.19    mrg <code class="command">contrib/download_prerequisites</code> script in the GCC source directory
     88   1.9    mrg to set up everything.
     89  1.18    mrg Otherwise unpack the GMP, MPFR, MPC and/or Gettext source
     90   1.1    mrg distributions in the directory containing the GCC sources and rename
     91  1.19    mrg their directories to <samp class="file">gmp</samp>, <samp class="file">mpfr</samp>, <samp class="file">mpc</samp> and
     92  1.19    mrg <samp class="file">gettext</samp>, respectively (or use symbolic links with the same name).
     93   1.9    mrg </p>
     94   1.9    mrg <hr />
     95   1.9    mrg <p>
     96  1.19    mrg <p><a class="uref" href="./index.html">Return to the GCC Installation page</a>
     97   1.9    mrg </p>
     98   1.9    mrg 
     99   1.9    mrg 
    100   1.9    mrg 
    101   1.9    mrg 
    102   1.9    mrg 
    103   1.9    mrg 
    104   1.9    mrg 
    105   1.9    mrg 
    106   1.9    mrg 
    107   1.8    mrg 
    108   1.1    mrg 
    109   1.9    mrg </body>
    110   1.9    mrg </html>
    111