Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] ocamldep
On Sat, 2004-05-08 at 19:05, Nicolas Cannasse 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.. :)
> 
> OCamake will do it for you !

Please clarify. I need this:

make_order dirname >out

where 'out' is a plain list of module names

A
B
C
D

which allows me to compile

A.mli 
B.mli
C.mli
D.mli
A.ml
B.ml
C.ml
D.ml

and then put the *.cmx into an *.cmxa in that order.

I'm not interested at the moment in using make
to actually build anything, I just want
an easy way to recompute a topological sort
of the module dependencies.

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners