caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sylvain Le Gall <sylvain@le-gall.net>
To: caml-list@inria.fr
Subject: Re: [ANN] OCaml Batteries Included, alpha 3
Date: Sat, 7 Feb 2009 15:13:23 +0000 (UTC)	[thread overview]
Message-ID: <slrngor98j.e8q.sylvain@gallu.homelinux.org> (raw)
In-Reply-To: <200902071458.45000.jon@ffconsultancy.com>

On 07-02-2009, Jon Harrop <jon@ffconsultancy.com> wrote:
> On Saturday 07 February 2009 14:43:49 Sylvain Le Gall wrote:
>> Hello,
>>
>> On 07-02-2009, Mikkel Fahnøe Jørgensen <mikkel@dvide.com> 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


  reply	other threads:[~2009-02-07 15:13 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-06 16:11 David Rajchenbach-Teller
2009-02-07 14:21 ` [Caml-list] " Mikkel Fahnøe Jørgensen
2009-02-07 14:43   ` Sylvain Le Gall
2009-02-07 14:58     ` [Caml-list] " Jon Harrop
2009-02-07 15:13       ` Sylvain Le Gall [this message]
2009-02-07 16:13         ` Matthieu Dubuget
2009-02-07 19:30           ` David Rajchenbach-Teller
2009-02-07 21:13             ` Matthieu Dubuget
2009-02-09  9:36           ` Romain Bardou
2009-02-09 15:56             ` David Teller
2009-02-07 15:46       ` Paolo Donadeo
2009-02-09  9:32       ` Romain Bardou
2009-02-09 10:30         ` ocamlbuild documentation (was Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3) Daniel Bünzli
2009-02-09 11:51           ` Romain Bardou
2009-02-09 12:30             ` Daniel Bünzli
2009-02-09 12:52               ` Romain Bardou
2009-02-09 13:07                 ` Daniel Bünzli
2009-02-09 13:22                   ` Romain Bardou
2009-02-09 13:36                     ` Daniel Bünzli
2009-02-09 13:59                       ` Romain Bardou
2009-02-09 14:04                         ` Romain Bardou
2009-02-09 14:37                           ` Daniel Bünzli
2009-02-09 17:26                             ` Kuba Ober
2009-02-09 18:28                         ` Jon Harrop
2009-02-09 21:24                           ` DooMeeR
2009-02-10 14:06                             ` ocamlbuild documentation Jan Kybic
2009-02-10 14:27                               ` [Caml-list] " Matthieu Dubuget
     [not found]                                 ` <87k57ywc0k.fsf@fel.cvut.cz>
2009-02-10 15:50                                   ` Matthieu Dubuget
2009-02-10 15:58                                     ` Daniel Bünzli
2009-02-09 18:38                     ` ocamlbuild documentation (was Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3) David Teller
2009-02-09 22:02         ` [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3 Peter Hawkins
2009-02-09 22:45           ` Mikkel Fahnøe Jørgensen
2009-02-09 22:55             ` Mikkel Fahnøe Jørgensen
2009-02-10  7:48             ` Stefano Zacchiroli
2009-02-10 13:22               ` Mikkel Fahnøe Jørgensen
2009-02-07 20:04     ` Daniel Bünzli
2009-02-08 17:22   ` [Caml-list] " Richard Jones
2009-02-09  8:57     ` David Allsopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrngor98j.e8q.sylvain@gallu.homelinux.org \
    --to=sylvain@le-gall.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).