From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id E9437BBAF for ; Sat, 7 Feb 2009 16:13:34 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkMCAAc0jUlQW+UCe2dsb2JhbACUOAEBFiIEuH6EGgY X-IronPort-AV: E=Sophos;i="4.37,396,1231110000"; d="scan'208";a="22645074" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 07 Feb 2009 16:13:34 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LVos8-000778-0O for caml-list@inria.fr; Sat, 07 Feb 2009 15:13:32 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Feb 2009 15:13:32 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Feb 2009 15:13:32 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: [ANN] OCaml Batteries Included, alpha 3 Date: Sat, 7 Feb 2009 15:13:23 +0000 (UTC) Message-ID: References: <1233936696.6216.65.camel@Blefuscu> <200902071458.45000.jon@ffconsultancy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Spam: no; 0.00; le-gall:01 ocaml:01 mikkel:01 rgensen:01 mikkel:01 findlib:01 ocamlmklib:01 findlib:01 cygwin:01 ocamlmklib:01 ocaml:01 makefiles:01 ocamldep:01 2009:98 invoke:01 On 07-02-2009, Jon Harrop wrote: > On Saturday 07 February 2009 14:43:49 Sylvain Le Gall wrote: >> Hello, >> >> On 07-02-2009, Mikkel Fahnøe Jørgensen wrote: >> > So in conclusion, Batteries is a very important contribution but we >> > must also improve on the tool chains and build environment. >> > ocamlbuild, flexdll, cross platform findlib and ocamlmklib are all >> > steps in the right direction. >> >> - ocamlbuild works on windows and linux >> - findlib works on windows and linux >> >> (however you need some tools from cygwin in some case like for building >> findlib) >> >> flexdll is not required directly (i think you don't need to invoke it >> directly) and ocamlmklib can be replaced by ocamlbuild. >> >> Building ocaml itself is still complicated on Windows (but not that much >> once you know how to do it), but I don't think you can easily address >> this problem in any way. >> >> So: what need to be improved? > > Documentation! I tried to use ocamlbuild several times and gave up because I > could not figure out how to do simple things. > Good point indeed. > I used Makefiles for a bit but make/ocamldep is so fragile that it broke so > often I ended up doing "make clean; make" to rebuild at every edit. So now my > method of choice is either writing the compile line out by hand every time or > using a bash script that always recompiles everything. > Same with OCamlMakefile which doesn't detect library update (even in the same source tree). This problem disappear with ocamlbuild which is a good tool for this. More documentation would allow more people to use it and to improve it. Regards, Sylvain Le Gall