Version 3 (modified by benl, 5 years ago)

--

Building

Dependencies

  1. A recent version of GHC.

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

  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.

Builing

  1. Build the compiler, runtime system, external libraries and base libraries.
    $ make deps
    $ make
    

Building the base libraries separately

This can be useful if you've been hacking on the compiler and want to test it by re-compiling the base libs.

  1. Build the base libraries (with optimisations enabled)
    $ make libs
    

or alternately:

$ bin/ddc -O -make library/Prelude.ds