manual-ocamlbuild icon indicating copy to clipboard operation
manual-ocamlbuild copied to clipboard

-cflags, -lflags

Open william3 opened this issue 8 years ago • 2 comments

those are very helpful flags that are missing explanations in the doc. I was looking for flambda flags, did not find them, and then recalled there was a way to use not supported flags, using -cflags and -lflags.

william3 avatar Apr 29 '16 13:04 william3

Flambda flags have recently been contributed in ocaml/ocamlbuild#68 , and they should part of a release that will be coming out as soon as I have time to send it out.

You are totally right about cflags and lflags missing some documentation, though, they are only obliquely referenced.

gasche avatar Apr 29 '16 13:04 gasche

actually, -ocamlopt "ocamlopt -O3" seems to work better. It would be nice to group those flags (-cflags, -lflags, -ocamlc, -ocamlopt, -ocamlmklib, ...) as tags useful if features are not supported by ocamlbuild, or for better tuning

william3 avatar Apr 29 '16 13:04 william3