caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jon Harrop <jon@ffconsultancy.com>
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	[thread overview]
Message-ID: <200902071458.45000.jon@ffconsultancy.com> (raw)
In-Reply-To: <slrngor7h5.e8q.sylvain@gallu.homelinux.org>

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.

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.

Fortunately OCaml is ridiculously fast at compiling so there is almost no need 
for incremental compilation anyway. Although I would appreciate parallel 
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 well 
as OCaml itself. I thought Mac OS X sucked but I can hardly blame OCaml for 
that. ;-)

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e


  reply	other threads:[~2009-02-07 14:54 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     ` Jon Harrop [this message]
2009-02-07 15:13       ` Sylvain Le Gall
2009-02-07 16:13         ` [Caml-list] " 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=200902071458.45000.jon@ffconsultancy.com \
    --to=jon@ffconsultancy.com \
    --cc=caml-list@yquem.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).