download.html revision 1.18 1 1.9 mrg <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 1.9 mrg <html>
3 1.18 mrg <!-- Copyright (C) 1988-2024 Free Software Foundation, Inc.
4 1.1 mrg
5 1.9 mrg Permission is granted to copy, distribute and/or modify this document
6 1.3 skrll under the terms of the GNU Free Documentation License, Version 1.3 or
7 1.1 mrg any later version published by the Free Software Foundation; with no
8 1.1 mrg Invariant Sections, the Front-Cover texts being (a) (see below), and
9 1.1 mrg with the Back-Cover Texts being (b) (see below). A copy of the
10 1.9 mrg license is included in the section entitled "GNU
11 1.9 mrg Free Documentation License".
12 1.1 mrg
13 1.1 mrg (a) The FSF's Front-Cover Text is:
14 1.1 mrg
15 1.9 mrg A GNU Manual
16 1.1 mrg
17 1.1 mrg (b) The FSF's Back-Cover Text is:
18 1.1 mrg
19 1.9 mrg You have freedom to copy and modify this GNU Manual, like GNU
20 1.1 mrg software. Copies published by the Free Software Foundation raise
21 1.9 mrg funds for GNU development. -->
22 1.17 mrg <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
23 1.17 mrg <head>
24 1.17 mrg <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
25 1.12 mrg <title>Downloading GCC</title>
26 1.9 mrg
27 1.12 mrg <meta name="description" content="Downloading GCC">
28 1.12 mrg <meta name="keywords" content="Downloading GCC">
29 1.9 mrg <meta name="resource-type" content="document">
30 1.9 mrg <meta name="distribution" content="global">
31 1.9 mrg <meta name="Generator" content="makeinfo">
32 1.9 mrg <style type="text/css">
33 1.9 mrg <!--
34 1.9 mrg a.summary-letter {text-decoration: none}
35 1.9 mrg blockquote.indentedblock {margin-right: 0em}
36 1.17 mrg blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
37 1.17 mrg blockquote.smallquotation {font-size: smaller}
38 1.9 mrg div.display {margin-left: 3.2em}
39 1.9 mrg div.example {margin-left: 3.2em}
40 1.17 mrg div.lisp {margin-left: 3.2em}
41 1.17 mrg div.smalldisplay {margin-left: 3.2em}
42 1.17 mrg div.smallexample {margin-left: 3.2em}
43 1.17 mrg div.smalllisp {margin-left: 3.2em}
44 1.9 mrg kbd {font-style: oblique}
45 1.9 mrg pre.display {font-family: inherit}
46 1.9 mrg pre.format {font-family: inherit}
47 1.9 mrg pre.menu-comment {font-family: serif}
48 1.9 mrg pre.menu-preformatted {font-family: serif}
49 1.17 mrg pre.smalldisplay {font-family: inherit; font-size: smaller}
50 1.17 mrg pre.smallexample {font-size: smaller}
51 1.17 mrg pre.smallformat {font-family: inherit; font-size: smaller}
52 1.17 mrg pre.smalllisp {font-size: smaller}
53 1.9 mrg span.nolinebreak {white-space: nowrap}
54 1.9 mrg span.roman {font-family: initial; font-weight: normal}
55 1.9 mrg span.sansserif {font-family: sans-serif; font-weight: normal}
56 1.9 mrg ul.no-bullet {list-style: none}
57 1.9 mrg -->
58 1.9 mrg </style>
59 1.9 mrg
60 1.9 mrg
61 1.1 mrg </head>
62 1.1 mrg
63 1.9 mrg <body lang="en">
64 1.12 mrg <h1 class="settitle" align="center">Downloading GCC</h1>
65 1.9 mrg
66 1.9 mrg
67 1.9 mrg
68 1.9 mrg
69 1.9 mrg
70 1.9 mrg
71 1.9 mrg
72 1.9 mrg
73 1.9 mrg
74 1.9 mrg
75 1.9 mrg
76 1.9 mrg
77 1.9 mrg
78 1.9 mrg
79 1.9 mrg
80 1.9 mrg
81 1.9 mrg
82 1.9 mrg
83 1.18 mrg
84 1.18 mrg
85 1.18 mrg
86 1.17 mrg <a name="index-Downloading-GCC"></a>
87 1.17 mrg <a name="index-Downloading-the-Source"></a>
88 1.9 mrg
89 1.15 mrg <p>GCC is distributed via <a href="https://gcc.gnu.org/git.html">git</a> and via
90 1.10 mrg HTTPS as tarballs compressed with <code>gzip</code> or <code>bzip2</code>.
91 1.9 mrg </p>
92 1.15 mrg <p>Please refer to the <a href="https://gcc.gnu.org/releases.html">releases web page</a>
93 1.8 mrg for information on how to obtain GCC.
94 1.9 mrg </p>
95 1.18 mrg <p>The source distribution includes the Ada, C, C++, Objective-C, D (GCC 9
96 1.18 mrg and later), Fortran, Go, and Modula-2 (GCC 13 and later) compilers, as
97 1.18 mrg well as runtime libraries for C++, Objective-C, and Fortran.
98 1.3 skrll For previous versions these were downloadable as separate components such
99 1.3 skrll as the core GCC distribution, which included the C language front end and
100 1.3 skrll shared components, and language-specific distributions including the
101 1.3 skrll language front end and the language runtime (where appropriate).
102 1.9 mrg </p>
103 1.9 mrg <p>If you also intend to build binutils (either to upgrade an existing
104 1.1 mrg installation or for use in place of the corresponding tools of your
105 1.1 mrg OS), unpack the binutils distribution either in the same directory or
106 1.1 mrg a separate one. In the latter case, add symbolic links to any
107 1.1 mrg components of the binutils you intend to build alongside the compiler
108 1.9 mrg (<samp>bfd</samp>, <samp>binutils</samp>, <samp>gas</samp>, <samp>gprof</samp>, <samp>ld</samp>,
109 1.9 mrg <samp>opcodes</samp>, …) to the directory containing the GCC sources.
110 1.9 mrg </p>
111 1.18 mrg <p>Likewise the GMP, MPFR, MPC and Gettext libraries can be automatically
112 1.18 mrg built together with GCC. You may simply run the
113 1.9 mrg <code>contrib/download_prerequisites</code> script in the GCC source directory
114 1.9 mrg to set up everything.
115 1.18 mrg Otherwise unpack the GMP, MPFR, MPC and/or Gettext source
116 1.1 mrg distributions in the directory containing the GCC sources and rename
117 1.18 mrg their directories to <samp>gmp</samp>, <samp>mpfr</samp>, <samp>mpc</samp> and
118 1.18 mrg <samp>gettext</samp>, respectively (or use symbolic links with the same name).
119 1.9 mrg </p>
120 1.9 mrg <hr />
121 1.9 mrg <p>
122 1.9 mrg <p><a href="./index.html">Return to the GCC Installation page</a>
123 1.9 mrg </p>
124 1.9 mrg
125 1.9 mrg
126 1.9 mrg
127 1.9 mrg
128 1.9 mrg
129 1.9 mrg
130 1.9 mrg
131 1.9 mrg
132 1.9 mrg
133 1.8 mrg
134 1.1 mrg
135 1.9 mrg </body>
136 1.9 mrg </html>
137