Version 8 (modified by benl, 4 years ago)

--

Building

Dependencies

  1. A recent version of GHC.

It's been tested with at least 6.10.1, 6.10.4 and 6.12.1
We use a few GHC specific extensions, so it's unlikely to work with other compilers.

As of Feb 2010 the Haskell platform still hasn't been released, so if you're using 6.12.1 separately you'll need the following libraries. Later versions will probably work.

 cabal install mtl -p --reinstall
 cabal install QuickCheck-2.1.0.3 -p
 cabal install regex-base -p
 cabal install regex-posix -p
 cabal install regex-compat -p
 cabal install haskell-src -p
  1. A recent version of GCC.

It's been tested with at least 4.0.1 and 4.1.2.

  1. If you want to work on the lexer you will need the Alex lexer generator
  1. The graphical demos depend on libxv but most Linux distros, and Mac OSX already have this.

Building

  • Build the compiler, runtime system, external libraries and base libraries.
    $ make
    
  • As above, but also build source docs and run all the regression tests.
    $ make total
    

More useful build targets are listed at the top of the Makefile