如何在OCaml中启用`-short-paths`选项?

Jac*_*ale 1 ocaml

当我尝试建立一些项目时,比如简街 Hello World Core

https://bitbucket.org/yminsky/core-hello-world,

它给了我这样一个错误:

ocamlfind ocamlc -c -w @ A-4-33-23 -short-paths -g -annot -thread -package core,sexplib.syntax,bin_prot.syntax,comparelib.syntax,fieldslib.syntax,variantslib.syntax,async, core_extended -syntax camlp4o -o hello_world.cmi hello_world.mli

ocamlc:未知选项`-short-paths'.用法:ocamlfind ocamlc [options]文件...

我是-short-paths如何以及如何启用此选项的?

gas*_*che 5

这是Jacques Garrigue在OCaml的开发版本中添加的选项,但尚未发布任何版本.您可以使用该语言的开发版本来尝试(可能不值得努力和可能带来的不便),或者等待几个月来获得具有此选项的新版本.

  • 该页面指示您安装4.01.0dev + trunk. (4认同)