Prerequisites							     -*-text-*-
~~~~~~~~~~~~~

You need a Haskell 98 compiler.  Currently, this has to be the Glasgow Haskell
Compilation system (GHC) 4.08 upwards.  You can find the compiler at

  http://haskell.org/ghc/

The compiler is available in source and binary form for a range of platforms.


Simple install procedure
~~~~~~~~~~~~~~~~~~~~~~~~

  % gzip -cd ports-x.y.z.tar.gz | tar xvf -   # unpack the sources
  % cd ports-x.y.z			      # change to the toplevel dir
  % ./configure				      # run the `configure' script
  % make				      # build everything
  % make install			      # install the library


The Nitty-Gritty
~~~~~~~~~~~~~~~~

The 'configure' script can be given a number of options to enable
and disable various features. For a complete list, type:

  ./configure --help

A few of the more important ones:

*  --prefix=PREFIX         install architecture-independent files in PREFIX
                           [ Defaults to /usr/local ]

*  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                           [ Defaults to the value given to --prefix ]

*  --with-hc=HC            use Haskell compiler HC

This needs to be the full path to the compiler executable.

*  --with-hcflags=HCFLAGS  specify flags for the Haskell compiler


Supported Systems and Porting
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Glasgow Haskell Compilation System, Version 4.x; x >= 06

I have tested the binding only on i386 GNU/Linux systems, but I am not aware
of any system dependencies besides the need for GHC's `Posix' library.
