Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: can ocamldep order .cmo files?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jean-Baptiste Rouquier <jean-baptiste.rouquier@e...>
Subject: Re: can ocamldep order .cmo files?
For a tiny script (sed+tsort) that does only this, you might want to have a look at

On 8/12/06, Nathan Mishra Linger <please don't quote email addresses> wrote:
> I'm a new OCaml user and quite a fan so far (most of my functional
> programming experience has been in Haskell up to this point).
> 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