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 SAA28500; Sun, 5 Sep 2004 18:12:03 +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 SAA26513 for ; Sun, 5 Sep 2004 18:12:02 +0200 (MET DST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i85GC0WW017101 for ; Sun, 5 Sep 2004 18:12:01 +0200 Received: from [192.168.1.200] (ppp210-32.lns2.syd3.internode.on.net [203.122.210.32]) by smtp1.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i85GBv4Y026139; Mon, 6 Sep 2004 01:41:58 +0930 (CST) Subject: Re: [Caml-list] Announcing the OMake build system version 0.9.1 From: skaller Reply-To: skaller@users.sourceforge.net To: "Marcin 'Qrczak' Kowalczyk" Cc: "chris.danx" , caml-list In-Reply-To: <874qmc221f.fsf@qrnik.zagroda> References: <4139ECD3.1050708@cs.caltech.edu> <001e01c492a6$872c7280$19b0e152@warp> <413A0921.7030607@ntlworld.com> <413A1E89.10806@libertysurf.fr> <1094361655.3352.476.camel@pelican.wigram> <87hdqc3kfr.fsf@qrnik.zagroda> <413B279C.3020304@ntlworld.com> <874qmc221f.fsf@qrnik.zagroda> Content-Type: text/plain Message-Id: <1094400716.3352.699.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 06 Sep 2004 02:11:57 +1000 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 413B3AD0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 sourceforge:01 2004:99 marcin:01 'qrczak':01 kowalczyk:01 ntlworld:99 converge:01 converge:01 dependencies:01 9660:01 glebe:01 chris:01 chris:01 ocaml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 2004-09-06 at 01:01, Marcin 'Qrczak' Kowalczyk wrote: > "chris.danx" writes: > > >> Rebuild what? Everything? It's not an option. When I repeatedly make > >> a change in one file and try how it works, it would be silly to wait > >> several minutes for recompilation of everything else. > > > > Only what needs to be rebuilt! > > But how does it know it? How to specify that in a different way than > for make? I could suggest some, but first: you could use the same way as for make. However your dependency specification is treated like an optimisation. So if you say: A depends on B it means 'A depends on B and some other things' rather than 'A depends only on B'. This allows you to take a random ordering and adjust it so B comes before A. The more hints you give, the more efficient the build. But it will (usually) converge (or fail to converge) independently of the ordering. Obviously one would like something less brain dead than specifying dependencies file by file -- like *.c -> *.o in make. Or perhaps 'ocamldep' for Ocaml :) -- 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