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