| 13 |
Before compiling CDuce, you need to install recent releases of the |
Before compiling CDuce, you need to install recent releases of the |
| 14 |
following packages: |
following packages: |
| 15 |
|
|
| 16 |
ocaml => 3.07 |
ocaml => 3.07 (patchlevel 2) |
| 17 |
http://caml.inria.fr/ocaml/distrib.html |
http://caml.inria.fr/ocaml/distrib.html |
| 18 |
findlib => 0.8 |
findlib => 0.8 |
| 19 |
http://www.ocaml-programming.de/packages |
http://www.ocaml-programming.de/packages |
| 29 |
Important notes: |
Important notes: |
| 30 |
|
|
| 31 |
- OCaml: cduce uses recursive modules so versions of OCaml before 3.07 |
- OCaml: cduce uses recursive modules so versions of OCaml before 3.07 |
| 32 |
will not work. Also the standard distribution has two bugs that make |
will not work. Also early standard distribution of 3.07 had two bugs |
| 33 |
CDuce compilation fail. Patch OCaml source by |
that made CDuce compilation fail. Use patchlevel 2 distribution or patch |
| 34 |
|
OCaml source by |
| 35 |
|
|
| 36 |
http://caml.inria.fr/bin/caml-bugs/fixed?id=1863;page=77;user=guest |
http://caml.inria.fr/bin/caml-bugs/fixed?id=1863;page=77;user=guest |
| 37 |
http://www.cduce.org/download/patch-ocaml-3.07 |
http://www.cduce.org/download/patch-ocaml-3.07 |
| 38 |
|
|
| 39 |
or (better) install OCaml cvs version |
or (risky) install OCaml cvs version |
| 40 |
cvs -d":pserver:anoncvs@camlcvs.inria.fr:/caml" login |
cvs -d":pserver:anoncvs@camlcvs.inria.fr:/caml" login |
| 41 |
<hit enter key when asked for password> |
<hit enter key when asked for password> |
| 42 |
cvs -z3 -d":pserver:anoncvs@camlcvs.inria.fr:/caml" co ocaml |
cvs -z3 -d":pserver:anoncvs@camlcvs.inria.fr:/caml" co ocaml |
| 107 |
- make clean |
- make clean |
| 108 |
back to the starting point |
back to the starting point |
| 109 |
|
|
| 110 |
|
- make uninstall |
| 111 |
|
removes installe files |
| 112 |
|
|
| 113 |
Makefile accepts the following options. |
Makefile accepts the following options. |
| 114 |
|
|
| 115 |
NATIVE=true : use the OCaml native code compiler (ocamlopt) to build CDuce |
NATIVE=true : use the OCaml native code compiler (ocamlopt) to build CDuce |