|
| 1 | +--- |
| 2 | +version: 8.4.3 |
| 3 | +date: 29 May 2018 |
| 4 | +--- |
| 5 | + |
| 6 | +<h1>Version 8.4.3 (released 29<sup>th</sup> May 2018)</h1> |
| 7 | + |
| 8 | +<div class="box"> |
| 9 | + <h1>Take Notice</h1> |
| 10 | + <p> |
| 11 | + The packages on this page include only the GHC compiler. For most users, |
| 12 | + we recommend installing a |
| 13 | + <a href="http://www.haskell.org/downloads">proper Haskell distribution</a> |
| 14 | + instead of GHC alone. A distribution includes a recent GHC release as well |
| 15 | + as other important tools (such as <code>cabal-install</code>, for |
| 16 | + installing libraries), and potentially a broader set of libraries known to |
| 17 | + work together. |
| 18 | + </p> |
| 19 | +</div> |
| 20 | + |
| 21 | +<div class="box"> |
| 22 | + <h1>Bundled packages and cabal-install</h1> |
| 23 | + <p> |
| 24 | + GHC 8.4 only works |
| 25 | + with <a href="http://hackage.haskell.org/package/cabal-install"><code>cabal-install</code></a> |
| 26 | + version 2.2 or later. Please upgrade if you have an older version of |
| 27 | + <code>cabal-install</code>. |
| 28 | + </p> |
| 29 | +</div> |
| 30 | + |
| 31 | +<div class="box"> |
| 32 | + <h1>Optional LLVM dependency</h1> |
| 33 | + <p> |
| 34 | + GHC has an optional code generator targetting |
| 35 | + the <a href="http://www.llvm.org/">LLVM</a> compiler framework which can |
| 36 | + produce faster code for some programs. If you would like to use the LLVM |
| 37 | + backend, you'll need to install LLVM 5.0 from |
| 38 | + an <a href="http://llvm.org/releases/download.html#5.0.1">upstream binary |
| 39 | + distribution</a> or via your distribution's package manager. |
| 40 | + </p> |
| 41 | +</div> |
| 42 | + |
| 43 | +<h2>Contents</h2> |
| 44 | + |
| 45 | +<ul> |
| 46 | + <li><a href="$downloads_url$/docs/html/users_guide/8.4.3-notes.html">Release Notes</a></li> |
| 47 | + <li><a href="$downloads_url$/docs/html/">Documentation</a></li> |
| 48 | + <li><a href="#distros">Distribution packages</a></li> |
| 49 | + <li><a href="#binaries">Binary packages</a></li> |
| 50 | + <li><a href="#sources">Source distribution</a></li> |
| 51 | +</ul> |
| 52 | + |
| 53 | +<div class="section" id="distros"> |
| 54 | + <h2>Distribution packages</h2> |
| 55 | + <p> |
| 56 | + GHC is packaged for a number of operating systems and |
| 57 | + distributions. While they may lag behind the latest GHC |
| 58 | + release, advantages such as dependency checking and ease of |
| 59 | + uninstallation mean we recommend using them anyway, unless |
| 60 | + you have a particular need for new features or bug fixes. |
| 61 | + </p> |
| 62 | + <ul> |
| 63 | + <li><a href="distribution_packages.html">Distribution packages</a></li> |
| 64 | + </ul> |
| 65 | +</div> |
| 66 | + |
| 67 | +<div class="section" id="binaries"> |
| 68 | + <h2>Binary Packages</h2> |
| 69 | + |
| 70 | + <p> |
| 71 | + The operating system-specific packages (e.g. RPM or <tt>.deb</tt> packages |
| 72 | + on Linux) are generally a better bet than the vanilla <tt>.tar.xz</tt> |
| 73 | + binary bundles, because they will check for dependencies and allow the |
| 74 | + package to be uninstalled at a later date. |
| 75 | + </p> |
| 76 | + |
| 77 | + <p> |
| 78 | + However, if you don't have permission to install binaries on your system, |
| 79 | + or you want to install somewhere other than the default place |
| 80 | + (<tt>/usr</tt> or <tt>/usr/local</tt> on a Unix system), then you'll need |
| 81 | + to use a <tt>.tar.xz</tt> binary bundle. |
| 82 | + </p> |
| 83 | + |
| 84 | + <p> |
| 85 | + SHA-256 hashes for all of these binary distributions are |
| 86 | + available <a href="$downloads_url$/SHA256SUMS">here</a>. |
| 87 | + </p> |
| 88 | + |
| 89 | + <p> |
| 90 | + All of these tarballs are have associated GPG signatures. Unless otherwise |
| 91 | + noted the signature should be from <code>Benjamin Gamari |
| 92 | + < [email protected]></code> (key |
| 93 | + ID <a href="http://pgp.mit.edu/pks/lookup?op=vindex&search=0x2DE04D4E97DB64AD">97DB64AD</a>). |
| 94 | + </p> |
| 95 | + |
| 96 | + <div style="border:1px solid; background:#ffffc6; padding: 10px"> |
| 97 | + <p>Supported platforms:</p> |
| 98 | + |
| 99 | + <ul> |
| 100 | + <li><a href="#linux_i386">Linux (x86)</a></li> |
| 101 | + <li><a href="#linux_x86_64">Linux (x86_64)</a></li> |
| 102 | + <!--<li><a href="#linux_armv7">Linux (ARMv7)</a></li>--> |
| 103 | + <li><a href="#linux_aarch64">Linux (AArch64)</a></li> |
| 104 | + <li><a href="#windows">Windows (x86)</a></li> |
| 105 | + <li><a href="#windows64">Windows (x86_64)</a></li> |
| 106 | + <li><a href="#macosx_x86_64">Mac OS X (x86_64)</a></li> |
| 107 | + <li><a href="#freebsd11_x86_64">FreeBSD 11 (x86_64)</a></li> |
| 108 | + <!-- <li><a href="#freebsd_11_i386">FreeBSD 11 (x86)</a></li> |
| 109 | + <li><a href="#freebsd_10_i386">FreeBSD 10.3 (x86)</a></li> |
| 110 | + <li><a href="#openbsd_61_x86_64">OpenBSD 6.1 (x86_64)</a></li> |
| 111 | + <li><a href="#openbsd_60_x86_64">OpenBSD 6.0 (x86_64)</a></li> --> |
| 112 | + </ul> |
| 113 | + </div> |
| 114 | + |
| 115 | + <h2>Supported platforms</h2> |
| 116 | + |
| 117 | + <div class="section" id="linux_i386"> |
| 118 | + <h3>Linux (x86)</h3> |
| 119 | + |
| 120 | + <div> |
| 121 | + <h4>Debian 8</h4> |
| 122 | + <p> |
| 123 | + Generic i386 Linux. This is a complete build, including |
| 124 | + interactive system, profiling libraries and documentation. It was |
| 125 | + made on a Debian 8 "Jessie" system and requires |
| 126 | + <code>libgmp.so.10</code> (typically GMP 5.x). |
| 127 | + </p> |
| 128 | + $tarballs("i386-deb8-linux")$ |
| 129 | + </div> |
| 130 | + </div> |
| 131 | + |
| 132 | + <div class="section" id="linux_x86_64"> |
| 133 | + <h3>Linux (x86_64)</h3> |
| 134 | + |
| 135 | + <div> |
| 136 | + <h4>Debian 9</h4> |
| 137 | + <p> |
| 138 | + Generic amd64 Linux. This is a complete build, including |
| 139 | + interactive system, profiling libraries and documentation. It was |
| 140 | + made on a Debian 9 "Stretch" system and requires GMP 6.0. |
| 141 | + </p> |
| 142 | + $tarballs("x86_64-deb8-linux")$ |
| 143 | + </div> |
| 144 | + <div> |
| 145 | + <h4>Debian 8</h4> |
| 146 | + <p> |
| 147 | + Generic amd64 Linux. This is a complete build, including |
| 148 | + interactive system, profiling libraries and documentation. It was |
| 149 | + made on a Debian 8 "Jessie" system and requires |
| 150 | + <code>libgmp.so.10</code> (typically GMP 5.x). |
| 151 | + </p> |
| 152 | + $tarballs("x86_64-deb8-linux")$ |
| 153 | + </div> |
| 154 | + |
| 155 | + <div> |
| 156 | + <h4>Debian 8 (with DWARF support)</h4> |
| 157 | + <p> |
| 158 | + Generic amd64 Linux with stack unwinding support and debug symbols |
| 159 | + for core libraries. This is a complete build, including interactive |
| 160 | + system, profiling libraries and documentation. It was made on a |
| 161 | + Debian 8 "Jessie" system and requires |
| 162 | + <code>libgmp.so.10</code> (typically GMP 5.x) as well |
| 163 | + as <code>libdw</code>. |
| 164 | + </p> |
| 165 | + $tarballs("x86_64-deb8-linux-dwarf")$ |
| 166 | + </div> |
| 167 | + |
| 168 | + <div> |
| 169 | + <h4>Fedora 27</h4> |
| 170 | + <p> |
| 171 | + Generic amd64 Linux. This is a complete build, including interactive |
| 172 | + system, profiling libraries and documentation. It was made on a |
| 173 | + Fedora 27 system and requires GMP 6.1. |
| 174 | + </p> |
| 175 | + $tarballs("x86_64-fedora27-linux")$ |
| 176 | + </div> |
| 177 | + </div> |
| 178 | + |
| 179 | + <!-- |
| 180 | + <div class="section" id="linux_armv7"> |
| 181 | + <h3>Linux (ARMv7)</h3> |
| 182 | + $tarballs("armv7-deb8-linux")$ |
| 183 | + <p> |
| 184 | + Generic 32-bit ARM Linux (hard-float). |
| 185 | + </p> |
| 186 | + <p> |
| 187 | + Note: These builds were prepared on Debian Jessie. Note that ARM |
| 188 | + support is still a bit experimental. This build requires LLVM. |
| 189 | + Due to <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=16177">bugs</a> |
| 190 | + in BFD <code>ld</code> it is necessary to use the <code>gold</code> linker. |
| 191 | + </p> |
| 192 | + </div> |
| 193 | + |
| 194 | + <div class="section" id="linux_aarch64"> |
| 195 | + <h3>Linux (AArch64)</h3> |
| 196 | + $tarballs("aarch64-deb8-linux")$ |
| 197 | + <p> |
| 198 | + Generic 64-bit AArch64 Linux. |
| 199 | + </p> |
| 200 | + <p> |
| 201 | + Note: These builds were prepared on Debian Jessie. Note that AArch64 |
| 202 | + support is still a bit experimental. This build requires LLVM. |
| 203 | + </p> |
| 204 | + </div> |
| 205 | + --> |
| 206 | + |
| 207 | + <div class="section" id="windows"> |
| 208 | + <h3>Windows (x86)</h3> |
| 209 | + $tarballs("i386-unknown-mingw32")$ |
| 210 | + <p> |
| 211 | + This is compatible with Microsoft Windows Vista and later. It also |
| 212 | + includes support for compiling C++ files. |
| 213 | + </p> |
| 214 | + </div> |
| 215 | + |
| 216 | + <div class="section" id="windows64"> |
| 217 | + <h3>Windows 64-bit (x86_64)</h3> |
| 218 | + $tarballs("x86_64-unknown-mingw32")$ |
| 219 | + <p> |
| 220 | + This is compatible with Microsoft Windows Vista and later. It also |
| 221 | + includes support for compiling C++ files. |
| 222 | + </p> |
| 223 | + </div> |
| 224 | + |
| 225 | + <div class="section" id="macosx_x86_64"> |
| 226 | + <h3>Mac OS X (x86_64)</h3> |
| 227 | + $tarballs("x86_64-apple-darwin")$ |
| 228 | + <p> |
| 229 | + This is a distribution for Mac OS X, 10.7 or later. The package |
| 230 | + requires the command line tools package of Xcode 4 or XCode 5 to be installed. |
| 231 | + You can find Xcode at |
| 232 | + <a href="http://developer.apple.com/">http://developer.apple.com/</a>. |
| 233 | + </p> |
| 234 | + </div> |
| 235 | + |
| 236 | + <div class="section" id="freebsd11_x86_64"> |
| 237 | + <h3>FreeBSD 11 (x86_64)</h3> |
| 238 | + $tarballs("x86_64-portbld-freebsd")$ |
| 239 | + <p> |
| 240 | + This is a distribution for FreeBSD 11 or later. |
| 241 | + </p> |
| 242 | + </div> |
| 243 | +</div> |
| 244 | + |
| 245 | +<div class="section" id="sources"> |
| 246 | + <h2>Source Distribution</h2> |
| 247 | + <p> |
| 248 | + The source tarballs provide everything necessary to build the compiler, |
| 249 | + interactive system, and a minimal set of libraries. For more information |
| 250 | + on building, see |
| 251 | + the <a href="http://hackage.haskell.org/trac/ghc/wiki/Building">building |
| 252 | + guide</a>. |
| 253 | + </p> |
| 254 | + $tarballs("src")$ |
| 255 | + |
| 256 | + <p> |
| 257 | + The testsuite provides a thorough set of tests for validating your build. |
| 258 | + Unpack this tarball on top of the regular source distribution in order to |
| 259 | + run the testsuite (see |
| 260 | + the <a href="https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests">testing |
| 261 | + guide</a> for details). |
| 262 | + </p> |
| 263 | + $tarballs("testsuite")$ |
| 264 | + |
| 265 | + <p> |
| 266 | + Building on Windows requires a set of additional tools. Extract this tarball on |
| 267 | + top of the regular source distribution, |
| 268 | + </p> |
| 269 | + $tarballs("windows-extra-src")$ |
| 270 | + |
| 271 | + <p> |
| 272 | + The source distribution needs an installed GHC (version 8.0 at least). If |
| 273 | + your platform isn't currently supported with a binary distribution, then |
| 274 | + you'll need to consult the section |
| 275 | + on <a href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting |
| 276 | + GHC</a> in the Building Guide. |
| 277 | + </p> |
| 278 | +</div> |
0 commit comments