How to Compile and Install the Fudgets Library

Fudgets snapshot 2004-03-30

This release has been tested with the following compilers/platforms:

It will probably work on a number of similar platforms.

Compiling and Installing for the Impatient

With GHC

make ghc-install
Use ghcxmake to compile programs that use the Fudgets Library.

With HBC

make install
Use hbcxmake to compile programs that use the Fudgets Library.

Compiling and Installing with GHC, more details

Before compiling, check that you have the following program in your $path:

ghc The Glasgow Haskell Compiler, version 6.0.1 or later
- (hmake is no longer needed)

You can compile and install separately by using the commands

make ghc-all
to compile, and then
make ghc-install
to install

The default is to install in /usr/local/{bin,lib}, but you can install in a different place by doing

make PREFIX=/somewhere/else ghc-install
to put things under /somwhere/else instead of /usr/local/. More fine-grained control is available too, see the Makefile.

Compiling and Installing with HBC, more details

...