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<!-- 10Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 111998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 122009, 2010, 2011 Free Software Foundation, Inc. 13 14 Permission is granted to copy, distribute and/or modify this document 15under the terms of the GNU Free Documentation License, Version 1.2 or 16any later version published by the Free Software Foundation; with no 17Invariant Sections, the Front-Cover texts being (a) (see below), and 18with the Back-Cover Texts being (b) (see below). A copy of the 19license 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> 46GCC is distributed via <a href="http://gcc.gnu.org/svn.html">SVN</a> and FTP 47tarballs 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 49components. 50 51 <p>Please refer to the <a href="http://gcc.gnu.org/releases.html">releases web page</a> 52for information on how to obtain GCC. 53 54 <p>The full distribution includes the C, C++, Objective-C, Fortran, Java, 55and Ada (in the case of GCC 3.1 and later) compilers. The full 56distribution also includes runtime libraries for C++, Objective-C, 57Fortran, and Java. In GCC 3.0 and later versions, the GNU compiler 58testsuites are also included in the full distribution. 59 60 <p>If you choose to download specific components, you must download the core 61GCC distribution plus any language specific distributions you wish to 62use. The core distribution includes the C language front end as well as the 63shared components. Each language has a tarball which includes the language 64front end as well as the language runtime (when appropriate). 65 66 <p>Unpack the core distribution as well as any language specific 67distributions in the same directory. 68 69 <p>If you also intend to build binutils (either to upgrade an existing 70installation or for use in place of the corresponding tools of your 71OS), unpack the binutils distribution either in the same directory or 72a separate one. In the latter case, add symbolic links to any 73components 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 78together with GCC. Unpack the GMP, MPFR and/or MPC source 79distributions in the directory containing the GCC sources and rename 80their directories to <samp><span class="file">gmp</span></samp>, <samp><span class="file">mpfr</span></samp> and <samp><span class="file">mpc</span></samp>, 81respectively (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