I know that .cmo arguments to ocamlc must be in order of dependency.
I also know that ocamldep can detect such dependencies and spit them
out in a format that makefiles can include.
But can ocamldep spit out the dependency ordering of a list of .cmo
files in such a way that these can be input to ocamlc? If not, it
seems like it would be a useful thing for ocamldep to be able to do
this. Or do people have other solutions to this problem.
Nathan
_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
You might look at the OMake build system[1]. It's a concise and
declarative like make, but with far superior dependency tracking and
support for large projects. Support for OCaml is particularly strong,
since it's the primary language used for OMake itself and most of the
other projects in our lab. In particular, it takes care of keeping
the .cmo files in proper order.
Cheers,
-n8
[1] <http://omake.metaprl.org/>
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->