Version 6 (modified by ross, 7 years ago)

--

Hugs 98 developer wiki

This wiki is aimed at those developing Hugs.

The bug tracker

Before submitting a bug report, please check the  known bug list and current bug reports.

Getting the code

There are a few possibilities, in order of increasing currency, dependencies and risk.

Major releases

If you only want to use Hugs, not modify it, your best bet is to download a recent  major release.

Source snapshots

We occasionally make available  snapshot source distributions (which include the libraries). These require fewer tools to build than the development version, and have had some testing, but may not be as stable as major releases.

Development version

To build the development version, you'll need gcc, bison, cvs, happy, darcs, various Unix tools and an Internet connection. The Hugs code is currently in CVS, though the libraries and some other tools are in darcs.

There is some more information on using the Haskell CVS repository in the  CVS cheat sheet in the GHC documentation. Once you've set things up as described there, the steps to build from CVS are:

  1. Check out hugs98.
  2. Move to hugs98 and say
    make
    
    This includes fetching the libraries from darcs, so you need to be connected.
  3. You can now run Hugs in place with
    HUGSDIR=hugsdir src/hugs
    
    To run the test suite, say
    make check
    
    To check the libraries, move into libraries and say
    make LibStatus
    
  4. When you're confident with it, you can go back to the hugs98 directory and say
    make install
    

Attachments