ocamlbuild icon indicating copy to clipboard operation
ocamlbuild copied to clipboard

Checking build commands for the usage of “Ocamlbuild_pack.Main”

Open elfring opened this issue 8 years ago • 2 comments

The source file “ocamlbuild.ml” is not explicitly mentioned in the make script which is used so far. By which compilation command can the reference “Ocamlbuild_pack.Main” be resolved then?

elfring avatar Jul 06 '17 18:07 elfring

What do you mean by "not mentioned"? There is a %.cmo: %.ml rule and ocamlbuild.byte depends on ocamlbuild.cmo.

gasche avatar Jul 06 '17 19:07 gasche

You are right that there are two pattern rules which could match to the source file “ocamlbuild.ml”. Does the one which you mentioned provide the data (compilation parameters) so that the reference for the module “Ocamlbuild_pack.Main” can be resolved as desired?

elfring avatar Jul 06 '17 19:07 elfring