compilation - Is there a command to generate .cmo .cmx .cmi .mli together? -
compilation - Is there a command to generate .cmo .cmx .cmi .mli together? -
i have .ml file, generate .cmo, .cmx, .cmi , .mli to the lowest degree commands possible, help?
i don't think there's way generate these files @ once.
.mli : ocamlc -i x.ml > x.mli .cmi : ocamlc x.mli .cmo : ocamlc -c x.ml .cmx : ocamlopt -c x.ml if can without .mli file, can generate .cmi , .cmo files ocamlc -c. otherwise think you'll have generate files 1 @ time.
note there .o file every .cmx file; work pair.
compilation ocaml
Comments
Post a Comment