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

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -