1 1.18 mrg <!DOCTYPE html> 2 1.9 mrg <html> 3 1.18 mrg <!-- Created by GNU Texinfo 7.2, https://www.gnu.org/software/texinfo/ --> 4 1.18 mrg <head> 5 1.18 mrg <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 1.18 mrg <!-- Copyright 1988-2024 Free Software Foundation, Inc. 7 1.1 mrg 8 1.9 mrg Permission is granted to copy, distribute and/or modify this document 9 1.3 skrll under the terms of the GNU Free Documentation License, Version 1.3 or 10 1.1 mrg any later version published by the Free Software Foundation; with no 11 1.1 mrg Invariant Sections, the Front-Cover texts being (a) (see below), and 12 1.1 mrg with the Back-Cover Texts being (b) (see below). A copy of the 13 1.9 mrg license is included in the section entitled "GNU 14 1.9 mrg Free Documentation License". 15 1.1 mrg 16 1.1 mrg (a) The FSF's Front-Cover Text is: 17 1.1 mrg 18 1.9 mrg A GNU Manual 19 1.1 mrg 20 1.1 mrg (b) The FSF's Back-Cover Text is: 21 1.1 mrg 22 1.9 mrg You have freedom to copy and modify this GNU Manual, like GNU 23 1.1 mrg software. Copies published by the Free Software Foundation raise 24 1.9 mrg funds for GNU development. --> 25 1.9 mrg <title>Installing GCC</title> 26 1.9 mrg 27 1.9 mrg <meta name="description" content="Installing GCC"> 28 1.9 mrg <meta name="keywords" content="Installing 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.18 mrg <meta name="viewport" content="width=device-width,initial-scale=1"> 33 1.18 mrg 34 1.9 mrg 35 1.9 mrg 36 1.1 mrg </head> 37 1.9 mrg 38 1.9 mrg <body lang="en"> 39 1.9 mrg 40 1.9 mrg 41 1.9 mrg 42 1.9 mrg 43 1.9 mrg 44 1.9 mrg 45 1.9 mrg 46 1.9 mrg 47 1.9 mrg 48 1.9 mrg 49 1.9 mrg 50 1.9 mrg 51 1.9 mrg 52 1.9 mrg 53 1.9 mrg 54 1.9 mrg 55 1.9 mrg 56 1.17 mrg 57 1.17 mrg 58 1.17 mrg 59 1.9 mrg <p>The latest version of this document is always available at 60 1.18 mrg <a class="uref" href="https://gcc.gnu.org/install/">https://gcc.gnu.org/install/</a>. 61 1.3 skrll It refers to the current development sources, instructions for 62 1.3 skrll specific released versions are included with the sources. 63 1.9 mrg </p> 64 1.9 mrg <p>This document describes the generic installation procedure for GCC as well 65 1.1 mrg as detailing some target specific installation instructions. 66 1.9 mrg </p> 67 1.9 mrg <p>GCC includes several components that previously were separate distributions 68 1.1 mrg with their own installation instructions. This document supersedes all 69 1.3 skrll package-specific installation instructions. 70 1.9 mrg </p> 71 1.18 mrg <p><em class="emph">Before</em> starting the build/install procedure please check the 72 1.18 mrg <a class="uref" href="specific.html">host/target specific installation notes</a>. 73 1.1 mrg We recommend you browse the entire generic installation instructions before 74 1.1 mrg you proceed. 75 1.9 mrg </p> 76 1.9 mrg <p>The installation procedure itself is broken into five steps. 77 1.9 mrg </p> 78 1.18 mrg <ol class="enumerate"> 79 1.18 mrg <li> <a class="uref" href="prerequisites.html">Prerequisites</a> 80 1.18 mrg </li><li> <a class="uref" href="download.html">Downloading the source</a> 81 1.18 mrg </li><li> <a class="uref" href="configure.html">Configuration</a> 82 1.18 mrg </li><li> <a class="uref" href="build.html">Building</a> 83 1.18 mrg </li><li> <a class="uref" href="test.html">Testing</a> (optional) 84 1.18 mrg </li><li> <a class="uref" href="finalinstall.html">Final install</a> 85 1.9 mrg </li></ol> 86 1.1 mrg 87 1.18 mrg <p>Please note that GCC does not support ‘<samp class="samp">make uninstall</samp>’ and probably 88 1.9 mrg won’t do so in the near future as this would open a can of worms. Instead, 89 1.1 mrg we suggest that you install GCC into a directory of its own and simply 90 1.1 mrg remove that directory when you do not need that specific version of GCC 91 1.1 mrg any longer, and, if shared libraries are installed there as well, no 92 1.1 mrg more binaries exist that use them. 93 1.9 mrg </p> 94 1.9 mrg <hr /> 95 1.9 mrg <p> 96 1.18 mrg <p><a class="uref" href="./index.html">Return to the GCC Installation page</a> 97 1.9 mrg </p> 98 1.17 mrg <p>Copyright © 1988-2024 Free Software Foundation, Inc. 99 1.9 mrg </p><br> 100 1.9 mrg <p>Permission is granted to copy, distribute and/or modify this document 101 1.3 skrll under the terms of the GNU Free Documentation License, Version 1.3 or 102 1.1 mrg any later version published by the Free Software Foundation; with no 103 1.1 mrg Invariant Sections, the Front-Cover texts being (a) (see below), and 104 1.1 mrg with the Back-Cover Texts being (b) (see below). A copy of the 105 1.18 mrg license is included in the section entitled “<a class="uref" href="./gfdl.html">GNU 106 1.9 mrg Free Documentation License</a>”. 107 1.9 mrg </p> 108 1.9 mrg <p>(a) The FSF’s Front-Cover Text is: 109 1.9 mrg </p> 110 1.9 mrg <p>A GNU Manual 111 1.9 mrg </p> 112 1.9 mrg <p>(b) The FSF’s Back-Cover Text is: 113 1.9 mrg </p> 114 1.9 mrg <p>You have freedom to copy and modify this GNU Manual, like GNU 115 1.9 mrg software. Copies published by the Free Software Foundation raise 116 1.9 mrg funds for GNU development. 117 1.9 mrg </p> 118 1.9 mrg 119 1.9 mrg 120 1.9 mrg 121 1.9 mrg 122 1.9 mrg 123 1.9 mrg 124 1.9 mrg 125 1.9 mrg 126 1.9 mrg 127 1.1 mrg 128 1.1 mrg 129 1.1 mrg 130 1.1 mrg 131 1.9 mrg </body> 132 1.9 mrg </html> 133