Home | History | Annotate | Line # | Download | only in INSTALL
download.html revision 1.1
      1 <html lang="en">
      2 <head>
      3 <title>Downloading GCC</title>
      4 <meta http-equiv="Content-Type" content="text/html">
      5 <meta name="description" content="Downloading GCC">
      6 <meta name="generator" content="makeinfo 4.12">
      7 <link title="Top" rel="top" href="#Top">
      8 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
      9 <!--
     10 Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
     11 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
     12 2009, 2010, 2011 Free Software Foundation, Inc.
     13 
     14    Permission is granted to copy, distribute and/or modify this document
     15 under the terms of the GNU Free Documentation License, Version 1.2 or
     16 any later version published by the Free Software Foundation; with no
     17 Invariant Sections, the Front-Cover texts being (a) (see below), and
     18 with the Back-Cover Texts being (b) (see below).  A copy of the
     19 license is included in the section entitled "GNU Free Documentation License".
     20 
     21 (a) The FSF's Front-Cover Text is:
     22 
     23      A GNU Manual
     24 
     25 (b) The FSF's Back-Cover Text is:
     26 
     27      You have freedom to copy and modify this GNU Manual, like GNU
     28      software.  Copies published by the Free Software Foundation raise
     29      funds for GNU development.-->
     30 <meta http-equiv="Content-Style-Type" content="text/css">
     31 <style type="text/css"><!--
     32   pre.display { font-family:inherit }
     33   pre.format  { font-family:inherit }
     34   pre.smalldisplay { font-family:inherit; font-size:smaller }
     35   pre.smallformat  { font-family:inherit; font-size:smaller }
     36   pre.smallexample { font-size:smaller }
     37   pre.smalllisp    { font-size:smaller }
     38   span.sc    { font-variant:small-caps }
     39   span.roman { font-family:serif; font-weight:normal; } 
     40   span.sansserif { font-family:sans-serif; font-weight:normal; } 
     41 --></style>
     42 </head>
     43 <body>
     44 <h1 class="settitle">Downloading GCC</h1>
     45 <a name="index-Downloading-GCC-1"></a><a name="index-Downloading-the-Source-2"></a>
     46 GCC is distributed via <a href="http://gcc.gnu.org/svn.html">SVN</a> and FTP
     47 tarballs compressed with <samp><span class="command">gzip</span></samp> or
     48 <samp><span class="command">bzip2</span></samp>.  It is possible to download a full distribution or specific
     49 components.
     50 
     51    <p>Please refer to the <a href="http://gcc.gnu.org/releases.html">releases web page</a>
     52 for information on how to obtain GCC.
     53 
     54    <p>The full distribution includes the C, C++, Objective-C, Fortran, Java,
     55 and Ada (in the case of GCC 3.1 and later) compilers.  The full
     56 distribution also includes runtime libraries for C++, Objective-C,
     57 Fortran, and Java.  In GCC 3.0 and later versions, the GNU compiler
     58 testsuites are also included in the full distribution.
     59 
     60    <p>If you choose to download specific components, you must download the core
     61 GCC distribution plus any language specific distributions you wish to
     62 use.  The core distribution includes the C language front end as well as the
     63 shared components.  Each language has a tarball which includes the language
     64 front end as well as the language runtime (when appropriate).
     65 
     66    <p>Unpack the core distribution as well as any language specific
     67 distributions in the same directory.
     68 
     69    <p>If you also intend to build binutils (either to upgrade an existing
     70 installation or for use in place of the corresponding tools of your
     71 OS), unpack the binutils distribution either in the same directory or
     72 a separate one.  In the latter case, add symbolic links to any
     73 components of the binutils you intend to build alongside the compiler
     74 (<samp><span class="file">bfd</span></samp>, <samp><span class="file">binutils</span></samp>, <samp><span class="file">gas</span></samp>, <samp><span class="file">gprof</span></samp>, <samp><span class="file">ld</span></samp>,
     75 <samp><span class="file">opcodes</span></samp>, <small class="dots">...</small>) to the directory containing the GCC sources.
     76 
     77    <p>Likewise the GMP, MPFR and MPC libraries can be automatically built
     78 together with GCC.  Unpack the GMP, MPFR and/or MPC source
     79 distributions in the directory containing the GCC sources and rename
     80 their directories to <samp><span class="file">gmp</span></samp>, <samp><span class="file">mpfr</span></samp> and <samp><span class="file">mpc</span></samp>,
     81 respectively (or use symbolic links with the same name).
     82 
     83    <p><hr />
     84 <p><a href="./index.html">Return to the GCC Installation page</a>
     85 
     86 <!-- ***Configuration*********************************************************** -->
     87 <!-- ***Building**************************************************************** -->
     88 <!-- ***Testing***************************************************************** -->
     89 <!-- ***Final install*********************************************************** -->
     90 <!-- ***Binaries**************************************************************** -->
     91 <!-- ***Specific**************************************************************** -->
     92 <!-- ***Old documentation****************************************************** -->
     93 <!-- ***GFDL******************************************************************** -->
     94 <!-- *************************************************************************** -->
     95 <!-- Part 6 The End of the Document -->
     96 </body></html>
     97 
     98