Skip to content

Latest commit

 

History

History
47 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

47 lines (24 loc) · 1.09 KB

The CamlDBM library

OVERVIEW

This OCaml library is a binding to the NDBM/GDBM Unix "databases" -- more exactly, persistent key-value stores.

See the file dbm.mli for documentation of the programming inteface.

This library used to be included in the standard OCaml distribution. This is the standalone distribution of this library, with the same functionalities.

REQUIREMENTS

  • OCaml
  • Either the GDBM library or any NDBM-compatible library. Make sure to install the development files as well. For Debian or Ubuntu, install the package libgdbm-dev.

INSTALLATION

  • Run the "configure" script by typing ./configure

  • Build the library: make all

  • Test the library: make test

  • Install the library: sudo make install

USAGE

In bytecode: ocamlc dbm.cma

In native code: ocamlopt dbm.cmxa

LICENSE

This Library is distributed under the terms of the GNU Library General Public License version 2, with a special exception allowing unconstrained static linking. See file LICENSE for details.