blob: 5bd1ae869872fc0bfc13d72761bf46b0c2196a14 [file] [log] [blame]
<html lang="en">
<title>Downloading GCC</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Downloading GCC">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="top" href="#Top">
<link href="" rel="generator-home" title="Texinfo Homepage">
Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, the Front-Cover texts being (a) (see below), and
with the Back-Cover Texts being (b) (see below). A copy of the
license is included in the section entitled "GNU Free Documentation License".
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller } { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
<h1 class="settitle">Downloading GCC</h1>
<a name="index-Downloading-GCC-1"></a><a name="index-Downloading-the-Source-2"></a>
GCC is distributed via <a href="">SVN</a> and FTP
tarballs compressed with <samp><span class="command">gzip</span></samp> or
<samp><span class="command">bzip2</span></samp>. It is possible to download a full distribution or specific
<p>Please refer to the <a href="">releases web page</a>
for information on how to obtain GCC.
<p>The full distribution includes the C, C++, Objective-C, Fortran, Java,
and Ada (in the case of GCC 3.1 and later) compilers. The full
distribution also includes runtime libraries for C++, Objective-C,
Fortran, and Java. In GCC 3.0 and later versions, the GNU compiler
testsuites are also included in the full distribution.
<p>If you choose to download specific components, you must download the core
GCC distribution plus any language specific distributions you wish to
use. The core distribution includes the C language front end as well as the
shared components. Each language has a tarball which includes the language
front end as well as the language runtime (when appropriate).
<p>Unpack the core distribution as well as any language specific
distributions in the same directory.
<p>If you also intend to build binutils (either to upgrade an existing
installation or for use in place of the corresponding tools of your
OS), unpack the binutils distribution either in the same directory or
a separate one. In the latter case, add symbolic links to any
components of the binutils you intend to build alongside the compiler
(<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>,
<samp><span class="file">opcodes</span></samp>, <small class="dots">...</small>) to the directory containing the GCC sources.
<p>Likewise, the GMP and MPFR libraries can be automatically built together
with GCC. Unpack the GMP and/or MPFR source distributions in the
directory containing the GCC sources and rename their directories to
<samp><span class="file">gmp</span></samp> and <samp><span class="file">mpfr</span></samp>, respectively (or use symbolic links with the
same name).
<p><hr />
<p><a href="./index.html">Return to the GCC Installation page</a>
<!-- ***Configuration*********************************************************** -->
<!-- ***Building**************************************************************** -->
<!-- ***Testing***************************************************************** -->
<!-- ***Final install*********************************************************** -->
<!-- ***Binaries**************************************************************** -->
<!-- ***Specific**************************************************************** -->
<!-- ***Old documentation****************************************************** -->
<!-- ***GFDL******************************************************************** -->
<!-- *************************************************************************** -->
<!-- Part 6 The End of the Document -->