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 AAA18522; Wed, 20 Aug 2003 00:30:20 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA07991 for ; Wed, 20 Aug 2003 00:30:18 +0200 (MET DST) Received: from mwinf0102.wanadoo.fr (smtp8.wanadoo.fr [193.252.22.30]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h7JMUHf18939; Wed, 20 Aug 2003 00:30:17 +0200 (MET DST) Received: from ptit-gallu.home.net (AVelizy-112-1-22-112.w81-248.abo.wanadoo.fr [81.248.209.112]) by mwinf0102.wanadoo.fr (SMTP Server) with ESMTP id 2F8791BFFFB8; Wed, 20 Aug 2003 00:30:17 +0200 (CEST) Received: from gallu.home.net ([192.168.0.12] helo=gallu) by ptit-gallu.home.net with smtp (Exim 3.35 #1 (Debian)) id 19pEuT-0008TC-00; Wed, 20 Aug 2003 00:25:01 +0200 Received: by gallu (sSMTP sendmail emulation); Wed, 20 Aug 2003 00:25:10 +0200 From: "Sylvain LE GALL" Date: Wed, 20 Aug 2003 00:25:10 +0200 To: maxence.guesdon@inria.fr, yminsky@cs.cornell.edu, caml-list@inria.fr, sylvain.le-gall@polytechnique.org, sophak@easyconnect.fr Subject: [: Re: [Caml-list] Generating module lists automatically] Message-ID: <20030819222510.GB1537@gallu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gall:01 le-gall:01 caml-list:01 maxence:01 guesdon:01 yaron:01 minsky:01 yminsky:01 cornell:01 932:99 homeip:01 fba:99 user-agent:01 mutt:01 dependencies:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk ----- Forwarded message from ----- Date: Mon, 18 Aug 2003 22:26:12 +0200 To: Maxence Guesdon Cc: Yaron Minsky , caml-list@inria.fr Subject: Re: [Caml-list] Generating module lists automatically Message-ID: <20030818202612.GA932@gallu> References: <63491.141.155.88.179.1061233365.squirrel@minsky-primus.homeip.net> <20030818213510.5fba034b.maxence.guesdon@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030818213510.5fba034b.maxence.guesdon@inria.fr> User-Agent: Mutt/1.5.4i Status: RO On Mon, Aug 18, 2003 at 09:35:10PM +0200, Maxence Guesdon wrote: > Hi, > > > Does anyone have a reasonable solution to the problem of automatically > > generating dependencies and topologically sorted module lists for > > executables? omake seems to do a good job for managing dependencies > > between automatically, but I don't see any good way of generating a > > topologically sorted list of names automatically within omake. Camlmake > > (http://www.davidb.org/camlmake/) seems to be the right kind of thing, but > > does not appear to be maintained anymore. I'm wondering if there are any > > other good options out there. > > Have a look at ocamldsort: > http://www.eleves.ens.fr/home/ara/ocaml.html > > Regards, > Well.... You also may take a look at the cameleon CVS. Just look at the different Makefile, master.Makefile.in + the dir utils/ ( which contains ocamldep-extract, which is a very simple program to sort module list to compile your code ). The rest of the system ( Makefile + master.Makefile.in ) permits to extract all dependency ( included zoggy file, mly, mll, + file with special syntax... ). http://savannah.nongnu.org/cgi-bin/viewcvs/cameleon/cameleon/?only_with_tag=findlib For now, it is only a simple system of Makefile. If you have any comment send it to me... I will read them with a lot of care. Regard Sylvain LE GALL ----- End forwarded message ----- ------------------- 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