download.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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-2017 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 5.2, http://www.gnu.org/software/texinfo/ -->
  18. <head>
  19. <title>Installing GCC</title>
  20. <meta name="description" content="Installing GCC">
  21. <meta name="keywords" content="Installing GCC">
  22. <meta name="resource-type" content="document">
  23. <meta name="distribution" content="global">
  24. <meta name="Generator" content="makeinfo">
  25. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  26. <style type="text/css">
  27. <!--
  28. a.summary-letter {text-decoration: none}
  29. blockquote.smallquotation {font-size: smaller}
  30. div.display {margin-left: 3.2em}
  31. div.example {margin-left: 3.2em}
  32. div.indentedblock {margin-left: 3.2em}
  33. div.lisp {margin-left: 3.2em}
  34. div.smalldisplay {margin-left: 3.2em}
  35. div.smallexample {margin-left: 3.2em}
  36. div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
  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.nocodebreak {white-space:nowrap}
  48. span.nolinebreak {white-space:nowrap}
  49. span.roman {font-family:serif; font-weight:normal}
  50. span.sansserif {font-family:sans-serif; font-weight:normal}
  51. ul.no-bullet {list-style: none}
  52. -->
  53. </style>
  54. </head>
  55. <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
  56. <h1 class="settitle" align="center">Installing GCC</h1>
  57. <a name="index-Downloading-GCC"></a>
  58. <a name="index-Downloading-the-Source"></a>
  59. <p>GCC is distributed via <a href="http://gcc.gnu.org/svn.html">SVN</a> and FTP
  60. tarballs compressed with <code>gzip</code> or
  61. <code>bzip2</code>.
  62. </p>
  63. <p>Please refer to the <a href="http://gcc.gnu.org/releases.html">releases web page</a>
  64. for information on how to obtain GCC.
  65. </p>
  66. <p>The source distribution includes the C, C++, Objective-C, Fortran,
  67. and Ada (in the case of GCC 3.1 and later) compilers, as well as
  68. runtime libraries for C++, Objective-C, and Fortran.
  69. For previous versions these were downloadable as separate components such
  70. as the core GCC distribution, which included the C language front end and
  71. shared components, and language-specific distributions including the
  72. language front end and the language runtime (where appropriate).
  73. </p>
  74. <p>If you also intend to build binutils (either to upgrade an existing
  75. installation or for use in place of the corresponding tools of your
  76. OS), unpack the binutils distribution either in the same directory or
  77. a separate one. In the latter case, add symbolic links to any
  78. components of the binutils you intend to build alongside the compiler
  79. (<samp>bfd</samp>, <samp>binutils</samp>, <samp>gas</samp>, <samp>gprof</samp>, <samp>ld</samp>,
  80. <samp>opcodes</samp>, &hellip;) to the directory containing the GCC sources.
  81. </p>
  82. <p>Likewise the GMP, MPFR and MPC libraries can be automatically built
  83. together with GCC. You may simply run the
  84. <code>contrib/download_prerequisites</code> script in the GCC source directory
  85. to set up everything.
  86. Otherwise unpack the GMP, MPFR and/or MPC source
  87. distributions in the directory containing the GCC sources and rename
  88. their directories to <samp>gmp</samp>, <samp>mpfr</samp> and <samp>mpc</samp>,
  89. respectively (or use symbolic links with the same name).
  90. </p>
  91. <hr />
  92. <p><p><a href="./index.html">Return to the GCC Installation page</a>
  93. </p>
  94. </body>
  95. </html>