| Version 2 (modified by ross, 6 years ago) |
|---|
Getting the Source
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, happy, darcs, various Unix tools and an Internet connection. The Hugs code is managed with darcs, as are the libraries and some other tools.
The steps to build from darcs are:
- Check out hugs98. If you don't already have access to the Haskell darcs repository, you can get a read-only copy as follows:
darcs get --partial http://darcs.haskell.org/hugs98
If you intend to submit patches, you should omit the --partial, but it will take quite a bit longer. - Move to hugs98 and say
make
This includes fetching the libraries from darcs, so you need to be connected. - You can now run Hugs in place with
HUGSDIR=hugsdir src/hugs
To run the test suite, saymake check
To check the libraries, move into libraries and saymake LibStatus
- When you're confident with it, you can go back to the hugs98 directory and say
make install
Please report any bugs in the CVS version to the cvs-hugs mailing list, which also carries commit messages and development discussion.
