/camlidl

Stub code generator for OCaml/C interface

Primary LanguageOCamlOtherNOASSERTION

OVERVIEW:

Camlidl is a stub code generator for Objective Caml.  It generates
stub code for interfacing Caml with C from an IDL description of the C
functions.  Thus, Camlidl automates the most tedious task in
interfacing C libraries with Caml programs.  It can also be used to
interface Caml programs with other languages, as long as those
languages have a well-defined C interface.

In addition, Camlidl provides basic support for COM interfaces and
components under MS Windows.  It supports both using COM components
(usually written in C++ or C) from Caml programs, and packaging Caml
objects as COM components that can then be used from C++ or C.


COPYRIGHT:

All files marked "Copyright INRIA" in this distribution are copyright
Institut National de Recherche en Informatique et en Automatique (INRIA)
and distributed under the conditions stated in file LICENSE.  
For members of the Caml Consortium, the special Consortium license
applies to this distribution.


REQUIREMENTS:

Camlidl requires Objective Caml 4.05 or later.

Under MS Windows, you must use the MSVC port of Objective Caml.


INSTALLATION:

- Under Unix, copy config/Makefile.unix to config/Makefile.
  Under Windows, copy config/Makefile.win32 to config/Makefile.

- Edit config/Makefile to set configuration options, following the
  comments in that file.  You must set the BINDIR variable
  to say where to install the camlidl executable.  Other variables
  have reasonable defaults.

- Do "make all".

- Become super-user if necessary and do "make install".


DOCUMENTATION:

- The user's manual can be found at https://xavierleroy.org/camlidl/
  and in the docs/ subdirectory of the release.

- Several examples are provided in the directories tests/ and tests/comp/.


SUPPORT:

- Please use the Github bug tracker and pull request manager at 
  https://www.github.com/xavierleroy/camlidl