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 AAA29573; Tue, 3 Jun 2003 00:00:59 +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 AAA29494 for ; Tue, 3 Jun 2003 00:00:58 +0200 (MET DST) Received: from mail1.tpgi.com.au (mail.tpgi.com.au [203.12.160.57]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h52M0uH29778 for ; Tue, 3 Jun 2003 00:00:56 +0200 (MET DST) Received: from ozemail.com.au (203-219-234-174-syd-ts25-2600.tpgi.com.au [203.219.234.174]) (authenticated (0 bits)) by mail1.tpgi.com.au (8.11.6/8.11.6) with ESMTP id h52Lx6G09561; Tue, 3 Jun 2003 07:59:10 +1000 Message-ID: <3EDBC8AA.2000905@ozemail.com.au> Date: Tue, 03 Jun 2003 07:59:06 +1000 From: John Max Skaller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 X-Accept-Language: en-us MIME-Version: 1.0 To: Markus Mottl CC: caml-list@inria.fr Subject: Re: [Caml-list] ocaml and large development projects References: <200305181113.HAA11919@nerd-xing.mit.edu> <87wugoqjul.fsf@cs.uga.edu> <87wugom5s6.fsf@cs.uga.edu> <20030519081307.GA13801@fichte.ai.univie.ac.at> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ozemail:01 caml-list:01 well-suited:01 python:01 checker:01 dependencies:01 toxteth:01 glebe:01 2037,:01 9660:01 0850:01 ocaml:01 nsw:01 snail:02 lazy:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Markus Mottl wrote: >The limitations / problems that appear with larger > projects are mostly related to general issues concerning "make", which > isn't a particularly well-suited tool for this purpose, but the only > one which is reliably installed on most development platforms. That really is NOT true. Make is NOT installed on a wide class of platforms (Windows). On the other hand Python is available for Windows and most other platforms. So why bother with crud like make, when you can write a Python script? I'm lazy, I just made a list of module, and check the file times for where to start, but there is no reason you can't write a more sophisticated checker -- after all, you can os.system('ocamldep ' + filename) to get dependencies, then build a dependency tree from them in Python without that much fuss. Yeah, of course .. you could use Ocaml instead of Python .. and that is GUARRANTEED to be installed, since you're using it, right? So unless I'm totally wrong .. for a single directory build you could make a harness: ocamlbuild prog1 prog2 .. that would just work, no makefile needed. -- John Max Skaller, mailto:skaller@ozemail.com.au snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia. voice:61-2-9660-0850 ------------------- 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