[Omake] Interfacing with C code
Luis O'Shea
loshea at gmail.com
Wed Feb 6 17:03:24 PST 2008
>> 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"?
>
> You do not need "ocamlc -v" - user "ocamlc -where" instead.
Ugh!. Thanks Aleksey (and Kaspar).
> P.S. We probably should add a .STATIC session computing "ocamlc -
> where" to OCaml.om...
+1. FWIW, I spent a little time looking for such a variable,
expecting it to be already defined.
Luis
More information about the Omake
mailing list