2017-10-07 00:16:47 +00:00
< html lang = "en" >
< head >
< 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 = "http://www.gnu.org/software/texinfo/" rel = "generator-home" title = "Texinfo Homepage" >
<!--
Copyright (C) 1988-2017 Free Software Foundation, Inc.
2012-03-27 23:13:14 +00:00
2017-10-07 00:16:47 +00:00
Permission is granted to copy, distribute and/or modify this document
2012-03-27 23:13:14 +00:00
under the terms of the GNU Free Documentation License, Version 1.3 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
2017-10-07 00:16:47 +00:00
license is included in the section entitled "GNU Free Documentation License".
2012-03-27 23:13:14 +00:00
(a) The FSF's Front-Cover Text is:
2017-10-07 00:16:47 +00:00
A GNU Manual
2012-03-27 23:13:14 +00:00
(b) The FSF's Back-Cover Text is:
2017-10-07 00:16:47 +00:00
You have freedom to copy and modify this GNU Manual, like GNU
2012-03-27 23:13:14 +00:00
software. Copies published by the Free Software Foundation raise
2017-10-07 00:16:47 +00:00
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 }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
-->< / style >
2012-03-27 23:13:14 +00:00
< / head >
2017-10-07 00:16:47 +00:00
< body >
< 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 = "http://gcc.gnu.org/svn.html" > SVN< / a > and FTP
tarballs compressed with < samp > < span class = "command" > gzip< / span > < / samp > or
< samp > < span class = "command" > bzip2< / span > < / samp > .
< p > Please refer to the < a href = "http://gcc.gnu.org/releases.html" > releases web page< / a >
2017-04-10 11:32:00 +00:00
for information on how to obtain GCC.
2017-10-07 00:16:47 +00:00
< p > The source distribution includes the C, C++, Objective-C, Fortran,
2014-09-21 17:33:12 +00:00
and Ada (in the case of GCC 3.1 and later) compilers, as well as
2017-10-07 00:16:47 +00:00
runtime libraries for C++, Objective-C, and Fortran.
2014-09-21 17:33:12 +00:00
For previous versions these were downloadable as separate components such
as the core GCC distribution, which included the C language front end and
shared components, and language-specific distributions including the
language front end and the language runtime (where appropriate).
2017-10-07 00:16:47 +00:00
< p > If you also intend to build binutils (either to upgrade an existing
2012-03-27 23:13:14 +00:00
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
2017-10-07 00:16:47 +00:00
(< 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, MPFR and MPC libraries can be automatically built
2017-04-10 11:32:00 +00:00
together with GCC. You may simply run the
2017-10-07 00:16:47 +00:00
< samp > < span class = "command" > contrib/download_prerequisites< / span > < / samp > script in the GCC source directory
to set up everything.
2017-04-10 11:32:00 +00:00
Otherwise unpack the GMP, MPFR and/or MPC source
2012-03-27 23:13:14 +00:00
distributions in the directory containing the GCC sources and rename
2017-10-07 00:16:47 +00:00
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 > ,
2012-03-27 23:13:14 +00:00
respectively (or use symbolic links with the same name).
2017-04-10 11:32:00 +00:00
2017-10-07 00:16:47 +00:00
< p > < hr / >
< p > < a href = "./index.html" > Return to the GCC Installation page< / a >
2015-08-28 15:33:40 +00:00
2017-10-07 00:16:47 +00:00
<!-- ***Configuration*********************************************************** -->
<!-- ***Building**************************************************************** -->
<!-- ***Testing***************************************************************** -->
<!-- ***Final install*********************************************************** -->
<!-- ***Binaries**************************************************************** -->
<!-- ***Specific**************************************************************** -->
<!-- ***Old documentation****************************************************** -->
<!-- ***GFDL******************************************************************** -->
<!-- *************************************************************************** -->
<!-- Part 6 The End of the Document -->
< / body > < / html >
2012-03-27 23:13:14 +00:00