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.5 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 6CA57BBAF for ; Sat, 7 Feb 2009 15:54:11 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am8BAJMvjUnUnwckk2dsb2JhbACCPZF7AQEBAQkJCgkRBLkHhBoG X-IronPort-AV: E=Sophos;i="4.37,396,1231110000"; d="scan'208";a="34882808" Received: from relay.ptn-ipout02.plus.net ([212.159.7.36]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 07 Feb 2009 15:54:10 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai8FANovjUnUnw6U/2dsb2JhbACCPctBhBoG Received: from fhw-relay07.plus.net ([212.159.14.148]) by relay.ptn-ipout02.plus.net with ESMTP; 07 Feb 2009 14:54:10 +0000 Received: from [87.114.148.153] (helo=leper.local) by fhw-relay07.plus.net with esmtp (Exim) id 1LVoZO-00027i-4a for caml-list@yquem.inria.fr; Sat, 07 Feb 2009 14:54:10 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3 Date: Sat, 7 Feb 2009 14:58:44 +0000 User-Agent: KMail/1.9.9 References: <1233936696.6216.65.camel@Blefuscu> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200902071458.45000.jon@ffconsultancy.com> X-Plusnet-Relay: bad66a4a3f66349d8b7b0c040e78d488 X-Spam: no; 0.00; ocaml:01 mikkel:01 rgensen:01 mikkel:01 findlib:01 ocamlmklib:01 findlib:01 cygwin:01 ocamlmklib:01 ocaml:01 makefiles:01 ocamldep:01 compilation:01 macos:01 lablgl:01 On Saturday 07 February 2009 14:43:49 Sylvain Le Gall wrote: > Hello, > > On 07-02-2009, Mikkel Fahn=C3=B8e J=C3=B8rgensen 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=20 could not figure out how to do simple things. I used Makefiles for a bit but make/ocamldep is so fragile that it broke so= =20 often I ended up doing "make clean; make" to rebuild at every edit. So now = my=20 method of choice is either writing the compile line out by hand every time = or=20 using a bash script that always recompiles everything. =46ortunately OCaml is ridiculously fast at compiling so there is almost no= need=20 for incremental compilation anyway. Although I would appreciate parallel=20 builds... > ps: I have no data concerning MacOS, FreeBSD and other I managed to get Smoke compiled and running on Mac OS, which is LablGL as w= ell=20 as OCaml itself. I thought Mac OS X sucked but I can hardly blame OCaml for= =20 that. ;-) =2D-=20 Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e