Am Freitag, den 03.10.2014, 11:22 +0200 schrieb Daniel Bünzli: > Hello, > > Is it possible to use ocamlc as a front-end to compile and link a C program ? If you compile it, ocamlc will add the compiler options it uses for itself (like adding -I). This is usually the right thing to do for compiling wrappers. I don't think you can link anything without an ml module. >(Just want to piggyback on ocaml's configure). Another way is to extract all the options from ocamlc -config. Gerd > Best, > > Daniel > > > -- ------------------------------------------------------------ Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de My OCaml site: http://www.camlcity.org Contact details: http://www.camlcity.org/contact.html Company homepage: http://www.gerd-stolpmann.de ------------------------------------------------------------