Build your own executable with profile information using Ocamlbuild
How to build with profile information included using Ocamlbuild? It -p
doesn't seem to work there.
Now I am using ocamlopt
for this. For example,
$ ocamlfind ocamlopt -c -p -thread -package core test.ml
$ ocamlfind ocamlopt -p -o test -thread -package core -linkpkg test.cmx
How to do the same with
ocamlbuild -user-ocamlfind test.native
+3
source to share