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
Ocamlbuild for project with C portion
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-09-21 (16:05)
From: Dario Teixeira <darioteixeira@y...>
Subject: Ocamlbuild for project with C portion

The Ocamlbuild manual begins by stating that the tool has builtin support
for projects with C stubs, but unfortunately is subsequently mute on the
subject.  So, I have a foobar.ml module that declares an external function
"stuff" which is defined in foobar_lowlevel.c.  What is the Ocamlbuild
tagging wizardry that allows this programme to compile?

Thanks in advance for your time!
Best regards,
Dario Teixeira

P.S. Does someone who groks it have plans to write a more complete manual
     for Ocamlbuild?  It's a tool whose great potential goes unfulfilled
     due to deficient documentation.