From eb48116c76bbbf0f7868e83f70a56e914e67d02a Mon Sep 17 00:00:00 2001 From: ygrek Date: Mon, 27 Jul 2009 10:44:27 +0300 Subject: [PATCH] readme describes build procedure --- README.txt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 README.txt diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..4b562c8 --- /dev/null +++ b/README.txt @@ -0,0 +1,35 @@ + +Build +===== + +Dependencies +------------ + +* menhir +* extlib +* oUnit +* deriving + +NB `deriving` is not available in Debian packages + +`deriving` conflicts with extLib in native (ocamlopt) build. +See http://code.google.com/p/deriving/issues/detail?id=1 +So you have to alter `deriving/lib/Makefile` and +remove the `enum.ml enum.mli` line from SOURCES beforehand. + +Dependencies will be found with ocamlfind by default. +Alternatively you can create `src/myocamlbuild.config` and manually +specify paths to libraries as follows : + + extlib=C:/my/contrib/extlib-1.5.1 + deriving=C:/my/contrib/deriving-0.1.1/lib + oUnit=C:/my/contrib/ounit-1.0.3 + +sqlgg +----- + +cd src && ./build +(or build.bat for Windows) + +---- +2009-07-27 -- 2.11.4.GIT