Am Donnerstag, den 09.04.2015, 19:27 +0200 schrieb Daniel Bünzli: > Le jeudi, 9 avril 2015 à 18:45, Gerd Stolpmann a écrit : > > ocamlfind ocamlc -only-show ... > > > > then get the command from stdout and run it as often as you want. > Ah thanks ! That seems much better than the outputs of `ocamlfind query`. Is there any way to separate compilation instructions from pre-processing instructions ? No - you'd need to parse the command and watch out for -pp and -ppx options. Gerd -- ------------------------------------------------------------ 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 ------------------------------------------------------------