You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
4.2KB

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