From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA01852; Thu, 18 Apr 2002 23:14:07 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA01858 for caml-list@pauillac.inria.fr; Thu, 18 Apr 2002 23:14:06 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA24918 for ; Thu, 18 Apr 2002 16:31:59 +0200 (MET DST) Received: from ep09.kernel.pl (ep09.kernel.pl [212.87.11.162]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3IEVwL06902 for ; Thu, 18 Apr 2002 16:31:58 +0200 (MET DST) Received: (qmail 9387 invoked by uid 566); 18 Apr 2002 14:31:49 -0000 Date: Thu, 18 Apr 2002 16:31:49 +0200 From: Michal Moskal To: Christian Lindig , Caml Mailing List Subject: Re: [Caml-list] Modules Order Message-ID: <20020418143149.GA8835@ep09.kernel.pl> References: <00a501c1e6e1$8c910970$3900a8c0@warp> <20020418142456.GB9137@lakeland.eecs.harvard.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020418142456.GB9137@lakeland.eecs.harvard.edu> User-Agent: Mutt/1.3.28i X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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/pld.org.pl : GCS {C,UL}++++$ a? !tv : PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h ------------------- 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