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 CAA24454; Sat, 22 Nov 2003 02:32:38 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 CAA06435 for ; Sat, 22 Nov 2003 02:32:36 +0100 (MET) Received: from smtp.siren.ocn.ne.jp (siren.ocn.ne.jp [211.129.13.170]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hAM1WZ121608 for ; Sat, 22 Nov 2003 02:32:35 +0100 (MET) Received: from PWARP (p1237-ipad07kyoto.kyoto.ocn.ne.jp [221.189.192.237]) by smtp.siren.ocn.ne.jp (Postfix) with SMTP id 0D66B2712; Sat, 22 Nov 2003 10:32:32 +0900 (JST) Message-ID: <009201c3b098$7e028dc0$0274a8c0@PWARP> From: "Nicolas Cannasse" To: "Aleksey Nogin" , Cc: "Caml List" , References: <3FBE45D2.5070309@cs.caltech.edu> <20031121185542.GC1154@gallu.homelinux.org> <3FBE67D5.5040704@cs.caltech.edu> <20031121234859.GA1317@gallu.homelinux.org> Subject: Re: [Caml-list] Omake [Was: Building large and portable projects] Date: Sat, 22 Nov 2003 10:32:28 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; cannasse:01 warplayer:01 caml-list:01 le-gall:01 powerfull:01 ocamake:01 powerfull:01 cameleon:01 mldonkey:01 python:01 dynlink:01 topfind:01 ocamake:01 ocamlc:01 ocamlc:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: [...] > Well i think it is very powerfull and very interesting... But ( there is > always a but ), i am looking for something between your very complete > suite and ocamake which is light and permits to do fast job for ocaml > stuff. > > I know, i will run into problem if not targeting all people... But, i > cannot choose all options. I want something enough powerfull to build > little to medium ocaml project -- with some C binding. I don't want to > rebuild make. The ideal project ( in size ) will be cameleon ( fully > written in ocaml ) or mldonkey ( mostly ocaml with some C ). I don't > really want to be able to compile C, python, Ada... > > I want to use some kind of ocaml script ( let say makefile.ml which will > contain the instruction to build, explains the dependency etc ) to > enable user to be fully consistent with their project ( they learn ocaml > and not makefile syntax ). I think it should be necessary to have a > plugin system ( through dynlink or topfind, don't know yet ) to enable them > to develop their own set of rules ( if they want to compile specific > things ). I definitly thinks that such a thing could use OCamake. As I told before, adding C bindings compilation might be easy but require some fixes. For other operations (file rename, copy, auto install, etc... ) we can provide them in another module. I agree to work on that with you if you want (french language will help ^^). [...] > Just to give you an example, all the student i know have problem using > makefile because they don't want to spend two hours understanding this > big script... So they simply don't use it... How many times i have seen > one-file-project without makefile, or people using "ocamlc X.ml && > ocamlc Y.ml && ocamlc Z.ml..." That's precisely why I wrote OCamake... > I want ( just as i have posted before ) : > > let my_prog = { name = "my_prog";...;toplevels = [ "X.ml" ] } > in > add_target my_prog > > and that's all. And i want to be able to do it on linux or win without > being needed to do if Win32 then ... else ... ( every time you write if > ... else ..., it is a possible infinite source of error ). Of course :) Nicolas Cannasse ------------------- 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