English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[ANN] OCaml Batteries Included, alpha 3
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-02-09 (22:02)
From: Peter Hawkins <hawkinsp@c...>
Subject: Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3

On Mon, Feb 9, 2009 at 1:32 AM, Romain Bardou <Romain.Bardou@lri.fr> wrote:
> The wiki:
> http://brion.inria.fr/gallium/index.php/Ocamlbuild
> should answer all questions you have to compile simple projects. In fact,
> the user manual (first link on the wiki) should answer these questions.
> It would really help to improve the documentation if you could explain what
> were the problems you encountered and where did you look for the
> documentation.

The documentation on linking Ocaml programs to external C libraries or
Ocaml libraries with C library dependencies is minimal at best. There
are some examples in the wiki, but they come with little explanation
and aren't adequate documentation by themselves.

Another thing that caused me frustration is that ocamlbuild doesn't
understand how to build C++ files. My ocaml programs use external C++
libraries (bindings to MiniSAT, STP, and MONA), and the build system
needs to understand how to build the C++ stub files. I hacked up a
rule for building .cc files, but I think this is a common use case so
one needs to be built in.