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
[Caml-list] ocamldep
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-08 (08:56)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] ocamldep
On Sat, May 08, 2004 at 01:37:00PM +1000, skaller wrote:
> Any chance of a -S option on ocamldep
> which generates a list topologically sorted
> files?
> Or a script (ocaml, perl, whatever) that takes
> ocamldep output and does so?
> I'm having trouble building a .cmxa library.
> I can't sort ocamldep output in my head.. :)

Suggestion: post-process the output of ocamldep with sed (to remove
the ':') and tsort (to generate the topologically sorted list).


Richard Jones.
Merjis Ltd. - improving website return on investment
C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes,
trees, string funcs, pool allocator:

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: