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] Modules Order
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michal Moskal <malekith@p...>
Subject: Re: [Caml-list] Modules Order
On Thu, Apr 18, 2002 at 10:24:57AM -0400, Christian Lindig wrote:
> On Thu, Apr 18, 2002 at 04:01:33PM +0200, Warp wrote:
> > In my last post, I was talking about finding the good order for
> > CMO-linking when you only got ocamldep output.  I've think about it,
> > and here's some results, please let me know if there is another/better
> > way.
> I once proposed a sorted output for ocamldep that could be used as the
> linking order. The output would be sorted such that files that come
> early in the link order also come early in the output. A simple sed
> script then could strip away dependencies to get just the file names for
> linking.  I still like the idea but my patch for ocamldep that
> implemented the topological ordering did not make it into the
> distribution.

Maybe just use tsort(1) ? (if you want sed anyway).

: Michal Moskal :::::::: malekith/at/ :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: