Ocamlbuildを使用して有効なプロファイル情報でビルドするにはどうすればよいですか?-p
そこでは機能しないようです。
今、私はこれに使用ocamlopt
します。例えば、
$ ocamlfind ocamlopt -c -p -thread -package core test.ml
$ ocamlfind ocamlopt -p -o test -thread -package core -linkpkg test.cmx
で同じことをする方法
ocamlbuild -user-ocamlfind test.native