The Decision Procedure Toolkit (DPT) is written in Objective Caml; you will need to install the following tools before you can build it:
The makefile uses the native-code versions of the OCaml tools, so
when you build OCaml you will need to make world.opt. See the
OCaml INSTALL file for more information. Alternatively, you can
edit Config.makefile
to select byte-code versions of
the OCaml tools.
We use version 3.10 of Objective Caml. Version 3.09 will also build the system, but gives some errors when building the documentation. We use the godi package manger to install OCaml, but it is not necessary to do so.
The makefile uses this tool, which is not part of the OCaml distribution, to sort dependencies.
We use version 0.14.1 of ocamldsort, but other versions may also work. You can use the godi package manager to install ocamldsort, as we do, but it is not required.
Configurable build options may be set
in Config.makefile
, though you may not need to alter
anything. Preparing a release uses perl, lynx, and nsgmls. You
probably have these tools on your system, but you can select
alternatives in Release.makefile
if you do not.
You can use make
to build the following targets:
opt
byte
top
doc
all
default
make
builds the opt
and doc
targets.release
The first time you build (the documentation), the system will build
an index of the OCaml standard library in
“doc/out/stdlib.dump
” for cross referencing.
This process will generate some error messages as the OCaml standard
library is not processed cleanly by the ocamldoc indexing tool. These
error messages (shown below) may be safely ignored, and you should not
see them again unless you delete the index file.
File ".../std-lib/condition.mli", line 41, characters 16-23: Unbound type constructor Mutex.t File ".../std-lib/outcometree.mli", line 94, characters 54-75: Unbound type constructor Asttypes.private_flag 2 error(s) encountered make: [.../public/doc/out/stdlib.dump] Error 1 (ignored)
The make system understands the following options:
FAST=1
DEBUG=1
PROFILE=1
FAST=1
.*Other names and brands may be claimed as the property of others.
Copyright © 2007 Intel Corporation