@@ -14,6 +14,10 @@ points-to analyses.
1414Quick start
1515-----------
1616
17+ Install the latest release of CIL with [ opam] [ ] :
18+
19+ opam install cil
20+
1721Read the excellent [ CIL tutorial] [ tuto ] by Zachary Anderson, and
1822check out the accompanying [ project template] [ template ] .
1923
@@ -23,22 +27,25 @@ check out the accompanying [project template][template].
2327Installation
2428-----------
2529
30+ To build and install CIL, you need the OCaml compiler, perl, and
31+ [ ocamlfind] [ findlib ] . (Of course, you also need some C compiler,
32+ preferably gcc.)
33+
2634Run the following commands to build and install CIL:
2735
2836 ./configure
2937 make
3038 make test # regression test suite, optionnal
3139 make install # as root or using sudo
3240
33- If you want to install to some other directory, you can change the
34- configure step like this:
35-
36- FORCE_PERL_PREFIX=1 ./configure --prefix=/opt/cil
41+ If you want to install to some other directory, you can tweak the prefix
42+ during the configure step. For instance, to install in your local [ opam] [ ]
43+ directory:
3744
38- You only need the OCaml compiler, perl, and [ ocamlfind] [ findlib ] for the
39- installation. (Of course, you also need some C compiler.)
45+ FORCE_PERL_PREFIX=1 ./configure --prefix=`opam config var prefix`
4046
4147[ findlib ] : http://projects.camlcity.org/projects/findlib.html
48+ [ opam ] : http://opam.ocamlpro.com/
4249
4350Usage
4451-----
@@ -57,7 +64,7 @@ instance in the OCaml toplevel using [findlib][]:
5764 # #require "cil";;
5865 [...]
5966 # Cil.cilVersion;;
60- - : string = "1.7.2 "
67+ - : string = "1.7.3 "
6168
6269
6370More documentation
0 commit comments