Retro68/gcc/INSTALL/download.html

134 lines
4.2 KiB
HTML
Raw Normal View History

2018-12-28 15:30:48 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Copyright (C) 1988-2022 Free Software Foundation, Inc.
2012-03-27 23:13:14 +00:00
2018-12-28 15:30:48 +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
2018-12-28 15:30:48 +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:
2018-12-28 15:30:48 +00:00
A GNU Manual
2012-03-27 23:13:14 +00:00
(b) The FSF's Back-Cover Text is:
2018-12-28 15:30:48 +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
2018-12-28 15:30:48 +00:00
funds for GNU development. -->
2019-06-02 15:48:37 +00:00
<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
2018-12-28 15:30:48 +00:00
<head>
2019-06-02 15:48:37 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Downloading GCC</title>
2018-12-28 15:30:48 +00:00
<meta name="description" content="Downloading GCC">
<meta name="keywords" content="Downloading GCC">
2018-12-28 15:30:48 +00:00
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
2012-03-27 23:13:14 +00:00
</head>
2018-12-28 15:30:48 +00:00
<body lang="en">
<h1 class="settitle" align="center">Downloading GCC</h1>
2018-12-28 15:30:48 +00:00
<a name="index-Downloading-GCC"></a>
<a name="index-Downloading-the-Source"></a>
<p>GCC is distributed via <a href="https://gcc.gnu.org/git.html">git</a> and via
HTTPS as tarballs compressed with <code>gzip</code> or <code>bzip2</code>.
2018-12-28 15:30:48 +00:00
</p>
<p>Please refer to the <a href="https://gcc.gnu.org/releases.html">releases web page</a>
2018-12-28 15:30:48 +00:00
for information on how to obtain GCC.
</p>
<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
2018-12-28 15:30:48 +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).
2018-12-28 15:30:48 +00:00
</p>
<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
2018-12-28 15:30:48 +00:00
(<samp>bfd</samp>, <samp>binutils</samp>, <samp>gas</samp>, <samp>gprof</samp>, <samp>ld</samp>,
<samp>opcodes</samp>, &hellip;) to the directory containing the GCC sources.
</p>
<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
2018-12-28 15:30:48 +00:00
<code>contrib/download_prerequisites</code> 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
2018-12-28 15:30:48 +00:00
their directories to <samp>gmp</samp>, <samp>mpfr</samp> and <samp>mpc</samp>,
2012-03-27 23:13:14 +00:00
respectively (or use symbolic links with the same name).
2018-12-28 15:30:48 +00:00
</p>
<hr />
<p>
<p><a href="./index.html">Return to the GCC Installation page</a>
2018-12-28 15:30:48 +00:00
</p>
2015-08-28 15:33:40 +00:00
2018-12-28 15:30:48 +00:00
</body>
</html>