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-2015 Free Software Foundation, Inc. 11 12 Permission is granted to copy, distribute and/or modify this document 13under the terms of the GNU Free Documentation License, Version 1.3 or 14any later version published by the Free Software Foundation; with no 15Invariant Sections, the Front-Cover texts being (a) (see below), and 16with the Back-Cover Texts being (b) (see below). A copy of the 17license is included in the section entitled "GNU Free Documentation License". 18 19(a) The FSF's Front-Cover Text is: 20 21 A GNU Manual 22 23(b) The FSF's Back-Cover Text is: 24 25 You have freedom to copy and modify this GNU Manual, like GNU 26 software. Copies published by the Free Software Foundation raise 27 funds for GNU development.--> 28<meta http-equiv="Content-Style-Type" content="text/css"> 29<style type="text/css"><!-- 30 pre.display { font-family:inherit } 31 pre.format { font-family:inherit } 32 pre.smalldisplay { font-family:inherit; font-size:smaller } 33 pre.smallformat { font-family:inherit; font-size:smaller } 34 pre.smallexample { font-size:smaller } 35 pre.smalllisp { font-size:smaller } 36 span.sc { font-variant:small-caps } 37 span.roman { font-family:serif; font-weight:normal; } 38 span.sansserif { font-family:sans-serif; font-weight:normal; } 39--></style> 40</head> 41<body> 42<h1 class="settitle">Downloading GCC</h1> 43<a name="index-Downloading-GCC-1"></a><a name="index-Downloading-the-Source-2"></a> 44GCC is distributed via <a href="http://gcc.gnu.org/svn.html">SVN</a> and FTP 45tarballs compressed with <samp><span class="command">gzip</span></samp> or 46<samp><span class="command">bzip2</span></samp>. 47 48 <p>Please refer to the <a href="http://gcc.gnu.org/releases.html">releases web page</a> 49for information on how to obtain GCC. 50 51 <p>The source distribution includes the C, C++, Objective-C, Fortran, Java, 52and Ada (in the case of GCC 3.1 and later) compilers, as well as 53runtime libraries for C++, Objective-C, Fortran, and Java. 54For previous versions these were downloadable as separate components such 55as the core GCC distribution, which included the C language front end and 56shared components, and language-specific distributions including the 57language front end and the language runtime (where appropriate). 58 59 <p>If you also intend to build binutils (either to upgrade an existing 60installation or for use in place of the corresponding tools of your 61OS), unpack the binutils distribution either in the same directory or 62a separate one. In the latter case, add symbolic links to any 63components of the binutils you intend to build alongside the compiler 64(<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>, 65<samp><span class="file">opcodes</span></samp>, <small class="dots">...</small>) to the directory containing the GCC sources. 66 67 <p>Likewise the GMP, MPFR and MPC libraries can be automatically built 68together with GCC. Unpack the GMP, MPFR and/or MPC source 69distributions in the directory containing the GCC sources and rename 70their directories to <samp><span class="file">gmp</span></samp>, <samp><span class="file">mpfr</span></samp> and <samp><span class="file">mpc</span></samp>, 71respectively (or use symbolic links with the same name). 72 73 <p><hr /> 74<p><a href="./index.html">Return to the GCC Installation page</a> 75 76<!-- ***Configuration*********************************************************** --> 77<!-- ***Building**************************************************************** --> 78<!-- ***Testing***************************************************************** --> 79<!-- ***Final install*********************************************************** --> 80<!-- ***Binaries**************************************************************** --> 81<!-- ***Specific**************************************************************** --> 82<!-- ***Old documentation****************************************************** --> 83<!-- ***GFDL******************************************************************** --> 84<!-- *************************************************************************** --> 85<!-- Part 6 The End of the Document --> 86</body></html> 87 88