github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

ghc-hq / ghc

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 45
    • 3
  • Source
  • Commits
  • Network (3)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Official Git mirror of the Glasgow Haskell Compiler. Note: Building from the Git repo is not yet possible. — Read more

  cancel

http://haskell.org/ghc/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Don't build PS/PDF docs when validating 
Ian Lynagh (author)
Fri Oct 23 07:35:12 -0700 2009
commit  0e0413839b8d542bfe2caab542f75891a8381b38
tree    a2749e2b4dc641a0e79768b245dc38af0ea6df8a
parent  f0fabbf8bc61414118029580b991693052202c18
ghc /
name age
history
message
file .darcs-boring Thu Jun 11 04:28:24 -0700 2009 Add recently added lib dirs to the darcs boring... [Duncan Coutts]
file ANNOUNCE Wed Oct 22 09:44:23 -0700 2008 Update ANNOUNCE [Ian Lynagh]
file HACKING Sat May 17 10:56:42 -0700 2008 Replace one occurance of CVS with darcs in HACKING [SamB]
file LICENSE Sat May 17 07:09:23 -0700 2008 Reorganisation of the source tree Most of the ... [Simon Marlow]
file MAKEHELP Tue Jun 16 01:57:08 -0700 2009 suggest "cd <dir>; make help" [Simon Marlow]
file Makefile Sun Sep 27 12:17:40 -0700 2009 Change where bindists are made We now do all t... [Ian Lynagh]
file README Mon Oct 12 02:51:42 -0700 2009 More README updates [Ian Lynagh]
file SUBMAKEHELP Tue Jun 16 01:53:02 -0700 2009 mention 'make {html,ps,pdf}' [Simon Marlow]
file aclocal.m4 Mon Oct 12 14:34:14 -0700 2009 Refactor some configure.ac stuff [Ian Lynagh]
directory bindisttest/ Sun Sep 27 14:50:31 -0700 2009 Follow bindist changes in bindisttest Also add... [Ian Lynagh]
file boot Fri Oct 23 07:31:00 -0700 2009 Get the tarballs from a darcs repo, rather than... [Ian Lynagh]
file boot-pkgs Thu Sep 24 10:10:25 -0700 2009 Make some sed more portable: Use \{0,1\} instea... [Ian Lynagh]
directory compiler/ Tue Oct 20 15:05:17 -0700 2009 Use our in-tree mingw perl [Ian Lynagh]
file config.guess Tue Jan 27 01:53:43 -0800 2009 Fix detection of i386 vs. x86_64 for -pc-solari... [Simon Marlow]
file config.sub Fri Jan 16 01:53:11 -0800 2009 Update config.guess, config.sub and install.sh ... [Simon Marlow]
file configure.ac Fri Oct 23 07:31:00 -0700 2009 Get the tarballs from a darcs repo, rather than... [Ian Lynagh]
file darcs-all Fri Oct 23 07:31:00 -0700 2009 Get the tarballs from a darcs repo, rather than... [Ian Lynagh]
directory distrib/ Sun Oct 04 03:39:08 -0700 2009 Make the bindist AC_INIT line match the main co... [Ian Lynagh]
directory docs/ Tue Oct 20 00:42:29 -0700 2009 Add flags -fno-specialise, -fno-float-in, and d... [Simon Peyton Jones]
directory driver/ Fri Oct 02 08:22:46 -0700 2009 Use INSTALL_DIR, not MKDIRHIER, when installing [Ian Lynagh]
file extra-gcc-opts.in Tue Aug 21 08:15:53 -0700 2007 FIX #1427, #1569: gcc 4.2.x needs -fno-toplevel... [Simon Marlow]
file ghc.mk Tue Oct 20 14:56:27 -0700 2009 Stop creating $(INPLACE_LIB)/perl.exe We now u... [Ian Lynagh]
file ghc.spec.in Sun Apr 26 04:42:15 -0700 2009 GHC new build system megapatch [Ian Lynagh]
directory ghc/ Tue Oct 20 15:05:17 -0700 2009 Use our in-tree mingw perl [Ian Lynagh]
directory includes/ Thu Oct 15 03:02:12 -0700 2009 Add events to show when GC threads are idle/wor... [Simon Marlow]
file install-sh Fri Jan 16 01:53:11 -0800 2009 Update config.guess, config.sub and install.sh ... [Simon Marlow]
directory libffi/ Fri Oct 23 07:31:00 -0700 2009 Get the tarballs from a darcs repo, rather than... [Ian Lynagh]
directory libraries/ Tue Oct 06 13:34:41 -0700 2009 Add the new bytestring to the repository [Ian Lynagh]
directory mk/ Fri Oct 23 07:35:12 -0700 2009 Don't build PS/PDF docs when validating dblate... [Ian Lynagh]
file packages Fri Oct 23 07:31:00 -0700 2009 Get the tarballs from a darcs repo, rather than... [Ian Lynagh]
directory quickcheck/ Sat May 17 07:10:54 -0700 2008 remove the last bits of the ghc/ subdir [Simon Marlow]
directory rts/ Tue Oct 20 04:50:20 -0700 2009 Fix a regression introduced in "overlap checkin... [Simon Marlow]
directory rules/ Thu Oct 15 05:22:25 -0700 2009 Tweak to the way per-source-file options are sp... [Simon Marlow]
file sync-all Sun Jan 04 10:46:52 -0800 2009 Fix sync-all: Check for --complete/partial befo... [Ian Lynagh]
directory utils/ Wed Oct 07 03:12:39 -0700 2009 Make the unpleasant sed one-liner less unpleasant [Matthias Kilian]
file validate Fri Oct 09 13:31:25 -0700 2009 When validating, run the testsuite with the bin... [Ian Lynagh]
README
The Glasgow Haskell Compiler
============================

This is the source tree for GHC, a compiler and interactive
environment for the Haskell functional programming language.

For more information, visit GHC's web site:

  http://www.haskell.org/ghc/

Information for developers of GHC can be found here:

  http://hackage.haskell.org/trac/ghc/


Getting the Source
==================

There are two ways to get a source tree:

  1. Download source tarballs
  ---------------------------

  Download the GHC source distribution:

      ghc-<version>-src.tar.bz2

  which contains GHC itself and the "boot" libraries.

  2. Check out the source code from darcs
  ---------------------------------------

  The recommended way to get a darcs checkout is to start off by
  downloading a snapshot with a name like:

      ghc-HEAD-2009-09-09-ghc-corelibs-testsuite.tar.bz2

  from:

      http://darcs.haskell.org/

  and then untar it and bring it up-to-date with:

     $ cd ghc
     $ ./darcs-all get


  Alternatively you can use darcs to get the repos, but it will take a
  lot longer. First get the GHC darcs repository:

    $ darcs get http://darcs.haskell.org/ghc/

  Then run the darcs-all script in that repository
  to get the other repositories:

     $ cd ghc
     $ chmod +x darcs-all
     $ ./darcs-all get

  This checks out the "boot" packages.


Building & Installing
=====================

For full information on building GHC, see the GHC Building Guide [3].
Here follows a summary - if you get into trouble, the Building Guide
has all the answers.

NB. you need GHC installed in order to build GHC, because the compiler
is itself written in Haskell.  For instructions on how to port GHC to a
new platform, see the Building Guide.

If you're building from darcs sources (as opposed to a source
distribution) then you also need to install Happy [4] and Alex [5].

For building library documentation, you'll need Haddock [6].  To build
the compiler documentation, you need a good DocBook XML toolchain and
dblatex.

Quick start:  the following gives you a default build:

    $ sh boot
    $ ./configure
    $ make
    $ make install

The "sh boot" step is only necessary if this is a tree checked out
from darcs.  For source distributions downloaded from GHC's web site,
this step has already been performed.

These steps give you the default build, which includes everything
optimised and built in various ways (eg. profiling libs are built).
It can take a long time.  To customise the build, see the file
HACKING.



References
==========

 [1] http://www.haskell.org/ghc/                        GHC Home Page
 [2] http://hackage.haskell.org/trac/ghc                GHC Developer's Wiki
 [3] http://hackage.haskell.org/trac/ghc/wiki/Building  Building Guide
 [4] http://www.haskell.org/happy/                      Happy
 [5] http://www.haskell.org/alex/                       Alex
 [6] http://www.haskell.org/haddock/                    Haddock


Contributors
============

Please see

   http://www.haskell.org/ghc/contributors.html
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server