Hare Installation
Additional resources:
Installing from packages
Installing Hare from your distribution’s package manager is the recommended approach. The suggested name for the Hare package is “hare”, but your package manager may differ.
If you add Hare to your distribution, please let us know so we can add yours to this list. Instructions for package maintainers are available here.
Hare is young, so packages are not yet available for many distributions. If yours is unsupported, continue to the bootstrapping steps.
Bootstrapping Hare from source
Bootstrapping Hare only takes a few minutes.
Step 0: Pre-requisites
Step 1: Building the bootstrap compiler
- Obtain the bootstrap compiler source code
./configure
make
Optionally run make check
to compile and run the test suite as well, then run
make install
as root to install it to your system.
Step 2: Building the build driver & standard library
- Obtain the build driver source code
- Copy
config.example.mk
toconfig.mk
and edit to taste - Run
make
Optionally run make check
to build & run the standard library test suite as
well, then run make install
as root to install it to your system.