Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

166 lines
5.3KB

  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>Installing GCC</title>
  21. <meta name="description" content="Installing GCC">
  22. <meta name="keywords" content="Installing 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">Installing GCC</h1>
  56. <p>The latest version of this document is always available at
  57. <a href="http://gcc.gnu.org/install/">http://gcc.gnu.org/install/</a>.
  58. It refers to the current development sources, instructions for
  59. specific released versions are included with the sources.
  60. </p>
  61. <p>This document describes the generic installation procedure for GCC as well
  62. as detailing some target specific installation instructions.
  63. </p>
  64. <p>GCC includes several components that previously were separate distributions
  65. with their own installation instructions. This document supersedes all
  66. package-specific installation instructions.
  67. </p>
  68. <p><em>Before</em> starting the build/install procedure please check the
  69. <a href="specific.html">host/target specific installation notes</a>.
  70. We recommend you browse the entire generic installation instructions before
  71. you proceed.
  72. </p>
  73. <p>Lists of successful builds for released versions of GCC are
  74. available at <a href="http://gcc.gnu.org/buildstat.html">http://gcc.gnu.org/buildstat.html</a>.
  75. These lists are updated as new information becomes available.
  76. </p>
  77. <p>The installation procedure itself is broken into five steps.
  78. </p>
  79. <ol>
  80. <li> <a href="prerequisites.html">Prerequisites</a>
  81. </li><li> <a href="download.html">Downloading the source</a>
  82. </li><li> <a href="configure.html">Configuration</a>
  83. </li><li> <a href="build.html">Building</a>
  84. </li><li> <a href="test.html">Testing</a> (optional)
  85. </li><li> <a href="finalinstall.html">Final install</a>
  86. </li></ol>
  87. <p>Please note that GCC does not support &lsquo;<samp>make uninstall</samp>&rsquo; and probably
  88. won&rsquo;t do so in the near future as this would open a can of worms. Instead,
  89. we suggest that you install GCC into a directory of its own and simply
  90. remove that directory when you do not need that specific version of GCC
  91. any longer, and, if shared libraries are installed there as well, no
  92. more binaries exist that use them.
  93. </p>
  94. <p>There are also some <a href="old.html">old installation instructions</a>,
  95. which are mostly obsolete but still contain some information which has
  96. not yet been merged into the main part of this manual.
  97. </p>
  98. <hr />
  99. <p>
  100. <p><a href="./index.html">Return to the GCC Installation page</a>
  101. </p>
  102. <p>Copyright &copy; 1988-2020 Free Software Foundation, Inc.
  103. </p><br>
  104. <p>Permission is granted to copy, distribute and/or modify this document
  105. under the terms of the GNU Free Documentation License, Version 1.3 or
  106. any later version published by the Free Software Foundation; with no
  107. Invariant Sections, the Front-Cover texts being (a) (see below), and
  108. with the Back-Cover Texts being (b) (see below). A copy of the
  109. license is included in the section entitled &ldquo;<a href="./gfdl.html">GNU
  110. Free Documentation License</a>&rdquo;.
  111. </p>
  112. <p>(a) The FSF&rsquo;s Front-Cover Text is:
  113. </p>
  114. <p>A GNU Manual
  115. </p>
  116. <p>(b) The FSF&rsquo;s Back-Cover Text is:
  117. </p>
  118. <p>You have freedom to copy and modify this GNU Manual, like GNU
  119. software. Copies published by the Free Software Foundation raise
  120. funds for GNU development.
  121. </p>
  122. </body>
  123. </html>