Installation of jhc

All versions of jhc are available from the Download Directory. The project is also under darcs revision control however the build process from darcs is somewhat more involved. For information on getting the source code from darcs and building it, see the Development Page.

Building from the tarball

jhc is also distributed via a autoconf/automake style tarball. Building jhc has the following dependencies, many of them are included with ghc distributions so run ./configure first and it will report any that are missing.

You can get the tarball at http://repetae.net/dist/jhc-0.8.2.tar.gz. In order to build it, download it into a directory and perform the following

tar zxvf jhc-0.8.2.tar.gz
cd jhc-0.8.2
./configure && make

then as root run

make install

A note on libraries

All these prepackaged versions of jhc come with prebuilt versions of base, haskell98, and a few other libraries for use by jhc in addition to the sourcecode for these libraries. You can rebuild them if you wish simply by deleting the '.hl' files in your build directory and doing a 'make libs'. however it is recommended you work with the development darcs tree if you plan on modifying the base libraries. external libraries may be added to the jhc build tree by adding an appropriate file in lib/ext/

My homepage -> computer stuff -> jhc