[Omake] Interfacing with C code

Aleksey Nogin nogin at metaprl.org
Wed Feb 6 12:49:08 PST 2008


On 03.02.2008 04:47, Luis O'Shea wrote:

> Before the StaticCLibrary one needs to append the path to caml headers 
> to the INCLUDES variable.  Is there any other way to find this path 
> other than to parse it out of "ocamlc -v"?

Luis,

You do not need "ocamlc -v" - user "ocamlc -where" instead.

P.S. We probably should add a .STATIC session computing "ocamlc -where" 
to OCaml.om...

Aleksey


More information about the Omake mailing list