-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathINSTALL
22 lines (18 loc) · 886 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Potential is built on top of the Haskell Platform.
Requires GHC 6.12 and the Haskell Platform. Download from:
http://hackage.haskell.org/platform/
To build the standard library:
$ cd libpotential
$ runhaskell Setup.lhs configure --prefix=$HOME --user
$ runhaskell Setup.lhs build
$ runhaskell Setup.lhs install
To build the compiler (this requires the standard library):
$ cd compiler
$ runhaskell Setup.lhs configure --prefix=$HOME --user
$ runhaskell Setup.lhs build
$ runhaskell Setup.lhs install
This will install the Potential Standard Library into $HOME/lib and the
Potential Compiler into $HOME/bin. ghc will be able to use the Potential
Standard Library without any changes to your system configuration; use of
the Potential Compiler will require you to explicitly reference $HOME/bin/pc
or modify your system's PATH variable to include $HOME/bin.