download_ghc_6_10_4.shtml 16 KB
Newer Older
Ben Gamari's avatar
Ben Gamari committed
1
---
Ben Gamari's avatar
Ben Gamari committed
2 3
version: 6.10.4
date: 16 July 2009
Ben Gamari's avatar
Ben Gamari committed
4
---
Austin Seipp's avatar
Austin Seipp committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

<h1><a name="6.10.4">Version 6.10.4 (released 16 July 2009)</a></h1>

<!--
<div style="text-align: center">
<div style="background: #d0d0f0; width: 350px; text-align: left; padding: 10px;
	font-size: 120%; margin-left: auto; margin-right: auto; border: 1px dashed">
   While GHC is downloading, why not take a few minutes to fill in the 
   <a href="survey/start.cgi">GHC Survey</a>!
</div>
</div>
-->

    <ul>
        <li><a href="#docs">Docs</a></li>
        <li><a href="#binaries">Binaries</a></li>
        <li><a href="#sources">Sources</a></li>
    </ul>

    <h2><a name="docs">Online Docs</a></h2>

    <div class="body">
      <ul>
	<li><a href="docs/6.10.4/html/users_guide/release-6-10-4.html">Release Notes (vs. 6.10.3)</a></li>
	<li><a
	    href="docs/6.10.4/html/">Compiler and library documentation</a></li>
      </ul>
    </div>

<h2><a name="binaries">Distribution packages</a></h2>

<div class="body">
<p>
  GHC is packaged for a number of operating systems and
  distributions. While they may lag behind the latest GHC
  release, advantages such as dependency checking and ease of
  uninstallation mean we recommend using them anyway, unless
  you have a particular need for new features or bug fixes.
</p>
</div>

<ul>
  <li>
48
    <a href="distribution_packages.html">Distribution packages</a>
Austin Seipp's avatar
Austin Seipp committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
  </li>
</ul>

<h2>Binary Packages</h2>

<div class="body">

<p>The OS-specific packages (eg. RPMs on Linux) are generally a better
bet than the vanilla <tt>.tar.bz2</tt> binary bundles, because they
will check for dependencies and allow the package to be uninstalled at
a later date.</p>

<p>However, if you don't have permission to install binaries on your
system, or you want to install somewhere other than the default place
(<tt>/usr</tt> or <tt>/usr/local</tt> on a Unix system), then you'll
need to use a <tt>.tar.bz2</tt> binary bundle.</p>

<div style="border:1px solid; background:#ffffc6; padding: 10px">

<p>Supported platforms:</p>

<ul>
<li><a href="#x86linux">Linux (x86)</a></li>
<li><a href="#x86_64linux">Linux (x86_64)</a></li>
<li><a href="#windows">Windows 2000/XP/Vista (x86) (standalone)</a></li>
<li><a href="#macosxintel">MacOS X (Intel)</a></li>
</ul>

<p>Community supported platforms:</p>

<ul>
<!--
<li><a href="#rhel">RHEL 4 and 5, i386 and x86_64</a></li>
<li><a href="#hppalinux">Linux (HPPA)</a></li>
<li><a href="#powerpclinux">Linux (PowerPC & PowerPC 64)</a></li>
<li><a href="#sparclinux">Linux (Sparc)</a></li>
-->
<li><a href="#sparcsolaris">Solaris (sparc)</a></li>
<li><a href="#x86solaris">Solaris (x86)</a></li>
<!--
<li><a href="#visualhaskell">Windows 95/98/ME/2000/XP (x86) (Visual Studio version)</a></li>
-->
<li><a href="#freebsd">FreeBSD (x86)</a></li>
<li><a href="#freebsd_x86_64">FreeBSD (x86_64)</a></li>
<!--
<li><a href="#openbsd">OpenBSD (x86)</a></li>
-->
<li><a href="#macosxppc">MacOS X (PowerPC)</a></li>
<!--
<li><a href="#powerpcaix">AIX (PowerPC)</a></li>
</ul>
-->

</div>

<h2>Supported platforms</h2>

<h3><a name="x86linux"></a>Linux (x86)</h3>

<ul>
  <li>
    <p>
    Generic i386 Linux. This is a complete build, including
    interactive system, profiling libraries and documentation.
    </p>
    <ul>
115
      <li><a href="$downloads_url$/ghc-6.10.4-i386-unknown-linux-n.tar.bz2">ghc-6.10.4-i386-unknown-linux-n.tar.bz2</a> (72 MB)</li>
Austin Seipp's avatar
Austin Seipp committed
116 117 118 119 120 121 122
    </ul>
  </li>
  <li>
    Generic i386 Linux. You need to have a file /lib/libtinfo.so.5
    to use this bindist. This is a complete build, including
    interactive system, profiling libraries and documentation.
    <ul>
123
      <li><a href="$downloads_url$/ghc-6.10.4-i386-unknown-linux.tar.bz2">ghc-6.10.4-i386-unknown-linux.tar.bz2</a> (74 MB)</li>
Austin Seipp's avatar
Austin Seipp committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
    </ul>
  </li>
</ul>

<p>
    NOTE: If you have too old a version of libc, then you will get an
    error like "floating point exception" from the binaries in these
    bindists. You will need to either upgrade your libc (we're not sure
    what the minimum version required is, but 2.7 is known to work),
    or use a binary package built for your distribution instead.
</p>

<hr />
<h3><a name="x86_64linux"></a>Linux (x86_64)</h3>

<ul>
  <li>
    Generic amd64 Linux. This is a complete build, including
    interactive system, profiling libraries and documentation.
    <ul>
144
      <li><a href="$downloads_url$/ghc-6.10.4-x86_64-unknown-linux-n.tar.bz2">ghc-6.10.4-x86_64-unknown-linux-n.tar.bz2</a> (73 MB)</li>
Austin Seipp's avatar
Austin Seipp committed
145 146 147 148 149 150 151
    </ul>
  </li>
  <li>
    Generic amd64 Linux. You need to have a file /lib/libtinfo.so.5
    to use this bindist. This is a complete build, including
    interactive system, profiling libraries and documentation.
    <ul>
152
      <li><a href="$downloads_url$/ghc-6.10.4-x86_64-unknown-linux.tar.bz2">ghc-6.10.4-x86_64-unknown-linux.tar.bz2</a> (74 MB)</li>
Austin Seipp's avatar
Austin Seipp committed
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
    </ul>
  </li>
</ul>

<p>
    NOTE: If you have too old a version of libc, then you will get an
    error like "floating point exception" from the binaries in these
    bindists. You will need to either upgrade your libc (we're not sure
    what the minimum version required is, but 2.7 is known to work),
    or use a binary package built for your distribution instead.
</p>

<hr />
<h3><a name="windows"></a>Windows (x86) (standalone)</h3>

<ul>
  <li>
170
    <a href="$downloads_url$/ghc-6.10.4-i386-windows.exe">ghc-6.10.4-i386-windows.exe</a> (50 MB); a Windows Installer for GHC 6.10.4.
Austin Seipp's avatar
Austin Seipp committed
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
  </li>
</ul>

<p>
    This is a complete build, and should work for Microsoft Windows 2000,
    XP and Vista. It also includes support for compiling C++ files.
</p>

<p>
    This installer will not overwrite previous installed versions of
    GHC, with the exception that the default handler for <kbd>.lhs</kbd>
    and <kbd>.hs</kbd> files will point to the most recently installed
    version.
</p>

<hr />
<h3><a name="macosxintel"></a>MacOS X (Intel)</h3>

<ul>
190
    <li><a href="$downloads_url$/GHC-6.10.4-i386.pkg">GHC-6.10.4-i386.pkg</a> (96M)</li>
Austin Seipp's avatar
Austin Seipp committed
191 192 193 194 195 196 197 198 199 200 201
</ul>

<p>
    This is an installer for Mac OS X 10.5 (Leopard).
    The package requires Xcode 3.0 (in particular, the "Unix Development
    Support") to be already installed.
    You can find Xcode 3.0 on your Leopard installation DVD (or at
    <a href="http://developer.apple.com/">http://developer.apple.com/</a>.
</p>

<ul>
202
    <li><a href="$downloads_url$/maeder/ghc-6.10.4-i386-apple-darwin.tar.bz2">ghc-6.10.4-i386-apple-darwin.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
203 204 205 206 207 208 209 210 211 212 213
    </li>
</ul>

<p>
    This is a binary distribution for Mac OS X 10.5 (Leopard),
    prepared by <a href="mailto:Christian.Maeder@dfki.de">Christian Maeder</a>.
    It needs libiconv.2.dylib and libncurses.5.4.dylib under /usr/lib/.
</p>

<!--
<ul>
214
    <li><a href="$downloads_url$/scsibug/ghc-6.8.1-i386-apple-darwin.tar.bz2">ghc-6.8.1-i386-apple-darwin.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
215 216 217 218 219 220 221 222 223 224 225 226
    </li>
</ul>

<p>
    This is a binary distribution or Mac OS X 10.5 (Leopard), prepared by
    <a href="mailto:scsibug@imap.cc">Greg Heartsfield</a>.
    It requires the readline library and GMP framework to be installed.
</p>
-->

<!--
<ul>
227
    <li><a href="$downloads_url$/maeder/ghc-6.8.3-i386-apple-darwin.tar.bz2">ghc-6.8.3-i386-apple-darwin.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
</ul>

<p>
    This is a binary distribution for Mac OS X 10.4 (Tiger),
    prepared by <a href="mailto:Christian.Maeder@dfki.de">Christian Maeder</a>.
    You will also need a
    <a href="dist/mac_frameworks/GMP-framework.zip">GMP framework</a>
    and a
    <a href="dist/mac_frameworks/GNUreadline-framework.zip">readline framework</a>.
    For instructions see <a href="dist/mac_frameworks/mac_e.htm">here</a>.
</p>
-->

<!--
<ul>
243
    <li><a href="$downloads_url$/maeder/ghc-6.8.1-i386-apple-darwin-tiger-optlibs.tar.bz2">ghc-6.8.1-i386-apple-darwin-tiger-optlibs.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265
</ul>

<p>
    This is a binary distribution for Mac OS X 10.4 (Tiger),
    prepared by <a href="mailto:Christian.Maeder@dfki.de">Christian Maeder</a>.
    You will also need gmp3 and readline5 installed under
    /opt/local/. You can set DYLD_LIBRARY_PATH if you have them installed
    elsewhere.
</p>
-->

<h2>Community supported platforms</h2>

<p>
    These platforms are supported by community members.
</p>

<hr />
<h3><a name="sparcsolaris"></a>Sparc/Solaris</h3>

<ul>
  <li><a
266
    href="$downloads_url$/maeder/ghc-6.10.4-sparc-sun-solaris2.tar.bz2">ghc-6.10.4-sparc-sun-solaris2.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
</ul>

<p>
    This is a full binary distribution for Solaris, prepared by
    <a href="mailto:Christian.Maeder@dfki.de">Christian Maeder</a>.
    It should work on Solaris 10 and (Open) Solaris 11.
</p>

<p>
    Please use <kbd>gtar</kbd> rather than <kbd>tar</kbd> to unpack
    the tarball, as <kbd>tar</kbd> may have problems with filenames
    longer than 100 characters.
</p>

<p>
    There may be problems with gcc-3.4.x; see
    <a href="http://hackage.haskell.org/trac/ghc/ticket/951">#951</a>
    for details.
</p>

<p>
    There may be problems with gcc &gt;= 4.3.x; see
    <a href="http://hackage.haskell.org/trac/ghc/wiki/Building/Solaris">this page</a>
    for details.
</p>

<p>
    The binary-dist was compiled using gcc-4.2.2.
</p>

<p>
    The binary depends on (at least):
<pre>
libiconv.so.2 =&gt;   /usr/local/lib/libiconv.so.2
libncurses.so.5 =&gt; /usr/local/lib/libncurses.so.5
libm.so.2 =&gt;       /usr/local/lib/libm.so.2
libgmp.so.3 =&gt;     /usr/local/lib/libgmp.so.3
</pre>
</p>

<hr />
<h3><a name="x86solaris"></a>x86/Solaris</h3>

<p>

<ul>
  <li><a
314
    href="$downloads_url$/maeder/ghc-6.10.4-i386-unknown-solaris2.tar.bz2">ghc-6.10.4-i386-unknown-solaris2.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
</ul>

<p>
    This is a binary distribution for Solaris,
    prepared by <a href="mailto:Christian.Maeder@dfki.de">Christian Maeder</a>.
    You will also need (amongst others) libcurses.so.1,
    which may mean setting LD_LIBRARY_PATH.
</p>

<p>
    Please use <kbd>gtar</kbd> rather than <kbd>tar</kbd> to unpack
    the tarball, as <kbd>tar</kbd> may have problems with filenames
    longer than 100 characters.
</p>

<!--
<p>If just want the files, you have the choice of:</p>
<ul>
333 334 335
<li>a .zip bundle: <a href="$downloads_url$/ghc-6-8-3.zip">ghc-6-8-3.zip</a>(~72 MB)</li>
<li>a tarball: <a href="$downloads_url$/ghc-6.8.3-i386-unknown-mingw32.tar.bz2">ghc-6.8.3-i386-unknown-mingw32.tar.bz2</a> (~54 MB)</li>
<li> a 7-zip bundle <a href="$downloads_url$/ghc-6-8-3.7z">ghc-6-8-3.7z</a> (~39 MB)</li>
Austin Seipp's avatar
Austin Seipp committed
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
</ul>
-->

<!--
<hr />
<h3><a name="visualhaskell"></a>Windows (x86) (Visual Studio version)</h3>

<p><a href="http://www.haskell.org/visualhaskell">Visual Haskell</a>
is a Visual Studio extension for Haskell, which comes with a complete
GHC installation.  Note: Visual Haskell currently does <it>not</it>
work under Windows Vista.
-->

<hr />
<h3><a name="freebsd"></a>FreeBSD (x86)</h3>

<p>
    <a href="mailto:jacula@gmail.com">Jacula Modyun</a>
    has provided binary distribution tarballs for three versions of
    FreeBSD x86.
</p>
<ul>
358 359 360
    <li><a href="$downloads_url$/freebsd/ghc-6.10.4-i386-jm0-freebsd6-boot.tar.bz2">ghc-6.10.4-i386-jm0-freebsd6-boot.tar.bz2</a></li>
    <li><a href="$downloads_url$/freebsd/ghc-6.10.4-i386-jm0-freebsd7-boot.tar.bz2">ghc-6.10.4-i386-jm0-freebsd7-boot.tar.bz2</a></li>
    <li><a href="$downloads_url$/freebsd/ghc-6.10.4-i386-jm0-freebsd8-boot.tar.bz2">ghc-6.10.4-i386-jm0-freebsd8-boot.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
361 362 363 364 365 366 367 368 369 370 371
</ul>

<hr />
<h3><a name="freebsd_x86_64"></a>FreeBSD (x86_64)</h3>

<p>
    <a href="mailto:wahjava@members.fsf.org">Ashish SHUKLA</a>
    has provided binary distribution tarballs for two versions of
    FreeBSD x86_64.
</p>
<ul>
372 373
    <li><a href="$downloads_url$/freebsd/ghc-6.10.4-amd64-ash0-freebsd7-boot.tar.bz2">ghc-6.10.4-amd64-ash0-freebsd7-boot.tar.bz2</a></li>
    <li><a href="$downloads_url$/freebsd/ghc-6.10.4-amd64-ash0-freebsd8-boot-2.tar.bz2">ghc-6.10.4-amd64-ash0-freebsd8-boot-2.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
374 375 376 377 378 379 380 381 382 383
</ul>

<!--
<hr />
<h3><a name="openbsd"></a>OpenBSD x86<!-, x86_64 (aka amd64), sparc-></h3>

<p>There is a binary distribution with profiling libs, no docs:</p>

<ul>
<li><a
384
href="$downloads_url$/ghc-6.4.2-i386-unknown-openbsd.tar.bz2">ghc-6.4.2-i386-unknown-openbsd.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
	(21MB)</li>
      </ul>

<p>OpenBSD support is thanks to <a
href="mailto:dons@cse.unsw.edu.au">Don Stewart</a></p>.
-->

<hr />
<h3><a name="macosxppc"></a>MacOS X (PowerPC)</h3>

<p>
    NOTE: In order to use GHC on MacOS X PowerPC, you must have Xcode 3.1
    installed.
</p>

<ul>
401
    <li><a href="$downloads_url$/maeder/ghc-6.10.4-powerpc-apple-darwin.tar.bz2">ghc-6.10.4-powerpc-apple-darwin.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
402 403 404 405 406 407 408 409 410 411 412 413
    </li>
</ul>

<p>
    This is a binary distribution for Mac OS X 10.5 (Leopard) on
    PowerPC G5 machines,
    prepared by <a href="mailto:Christian.Maeder@dfki.de">Christian Maeder</a>.
    It needs libiconv.2.dylib and libncurses.5.4.dylib under /usr/lib/.
</p>

<!--
<ul>
414
    <li><a href="$downloads_url$/witten/ghc-6.10.1-powerpc-apple-darwin.tar.bz2">ghc-6.10.1-powerpc-apple-darwin.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
415 416 417 418 419 420 421 422 423 424 425
    </li>
</ul>

<p>
    This is a binary distribution for Mac OS X 10.5 (Leopard),
    prepared by <a href="mailto:mfwitten@MIT.EDU">Michael Witten</a>.
</p>
-->

<!--
<ul>
426
    <li><a href="$downloads_url$/scsibug/ghc-6.8.1-powerpc-apple-darwin.tar.bz2">ghc-6.8.1-powerpc-apple-darwin.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
    </li>
</ul>

<p>
    This is a binary distribution prepared by
    <a href="mailto:scsibug@imap.cc">Greg Heartsfield</a>.
    It requires readline and GMP libraries to be installed.
</p>
-->

<!--
<hr />
<h3><a name="powerpcaix"></a>AIX 5.1L (PowerPC)</h3>

<ul>
442
  <li><a href="$downloads_url$/tang/ghc-6.8.3-powerpc-ibm-aix.tar.bz2">ghc-6.8.3-powerpc-ibm-aix.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457
</ul>

<p>
    This is an unregisterised build, with no GHCi support.
    It was provided by
    <a href="mailto:audreyt@audreyt.org">Audrey Tang</a>.
</p>
-->

<!--
<hr />
<h3>mips64/Irix</h3>

<ul>
  <li><a
458
  href="$downloads_url$/ghc-6.4.2-mips64-sgi-irix.tar.bz2">ghc-6.4.2-mips64-sgi-irix.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
459 460 461 462 463 464 465 466 467 468
</ul>

<p>This is an unregisterised build, with profiling libs, but no
documentation or GHCi support.  

The mips64 port requires an external libgmp. This should come
installed with the "freeware" packages for Irix.  You also need to set
the <tt>LD_LIBRARY_PATH</tt> variable as follows:

<pre>
Ben Gamari's avatar
Ben Gamari committed
469
   export LD_LIBRARY_PATH=/usr/freeware/lib64:$$LD_LIBRARY_PATH
Austin Seipp's avatar
Austin Seipp committed
470 471 472 473 474 475 476 477 478 479 480 481
</pre>

The mips64 port is contributed by <a
href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.
-->

<!--
<hr />
<h3>ia64/Linux</h3>

<ul>
  <li><a
482
  href="$downloads_url$/ghc-6.4.2-ia64-unknown-linux.tar.bz2">ghc-6.4.2-ia64-unknown-linux.tar.bz2</a></li>
Austin Seipp's avatar
Austin Seipp committed
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498
</ul>

<p>This is a full build, with profiling libs and GHCi, but no docs.  The
ia64 port requires an external <tt>libgmp</tt>, installed in some sensible
place.</p>

<p>The ia64 port is thanks to Matt Chapman and <a
href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.</p>
-->

<h2><a name="sources">Source Distribution</a></h2>

<div class="body">

<ul>
  <li>
499
    <a href="$downloads_url$/ghc-6.10.4-src.tar.bz2">ghc-6.10.4-src.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
500 501 502 503 504
    (7.7 MB). This provides the compiler and a minimal set of libraries.
    For more information on building, see the
    <a href="http://hackage.haskell.org/trac/ghc/wiki/Building">building guide</a>.
  </li>
  <li>
505
    <a href="$downloads_url$/ghc-6.10.4-src-extralibs.tar.bz2">ghc-6.10.4-src-extralibs.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
506 507 508 509 510 511 512 513
    (0.5 MB). If you unpack this tarball on top of the above then you
    will get a number of extra libraries. However, the build will take
    significantly longer. Alternatively these, and many others, can be
    downloaded and compiled from
    <a href="http://hackage.haskell.org/">Hackage</a> once GHC is built.
  </li>
  <li>
    <a
514
    href="$downloads_url$/testsuite-6.10.4.tar.bz2">testsuite-6.10.4.tar.bz2</a>
Austin Seipp's avatar
Austin Seipp committed
515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
    (2.8MB). If you unpack this tarball on top of the above then you
    will be able to run the testsuite.
  </li>
</ul>

<p>The source distribution needs an installed GHC (version 6.6 at
least).  If your platform isn't currently supported with a binary
distribution, then you'll need to consult the section on <a
href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
in the Building Guide.</p>

<p>If you have libraries installed somewhere non-standard then you will
need to put something like this in <kbd>mk/build.mk</kbd> before
building:</p>
<pre>
EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                              --extra-lib-dirs=/usr/local/lib
</pre>
</div>