Coccinelle release 1.0.0-rc15
[bpt/coccinelle.git] / bundles / menhirLib / menhir-20120123 / INSTALLATION
CommitLineData
d6ce1786
C
1REQUIREMENTS
2
3You need Objective Caml 3.09 or later and GNU make.
4
5HOW TO INSTALL
6
7If you wish to install via ocamlfind, make sure that ocamlfind is in
8your PATH. (Remember that prefixing a command with sudo affects its
9PATH.)
10
11Run the following command:
12
13 make PREFIX=/usr/local install
14
15If your machine does not have the native code Objective Caml compiler
16(ocamlopt), but does have the bytecode compiler (ocamlc), then instead
17of the above command, use:
18
19 make PREFIX=/usr/local TARGET=byte all install
20
21The value of the PREFIX variable can be changed to control where
22the software, the standard library, and the documentation should
23be stored. These files are copied to the following places:
24
25 $PREFIX/bin/
26 $PREFIX/share/menhir/
27 $PREFIX/doc/menhir/
28
29The support library, MenhirLib, is either installed via ocamlfind, if
30available, or placed within $PREFIX/share/menhir. Menhir's --suggest
31options help determine where and how it was installed.
32
33The documentation includes a reference manual and a number of demos.
34