【问题标题】:How can I enable the option `-short-paths` in OCaml?如何在 OCaml 中启用选项“-short-paths”?
【发布时间】:2013-06-13 09:47:18
【问题描述】:

当我尝试构建一些项目时,例如 Jane Street 的 Hello World Core

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

它给了我这样一个错误:

ocamlfind ocamlc -c -w @A-4-33-23 -short-paths -g -annot -thread -包核心、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,如何启用此选项?

【问题讨论】:

  • @rajendra_prasad,为什么要这样编辑我的问题。现在很丑。我要改回来

标签: ocaml


【解决方案1】:

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

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-08-30
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多