Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Alternative proposal: COAN
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-02-27 (04:38)
From: Chet Murthy <chet@w...>
Subject: Re: [Caml-list] Alternative proposal: COAN

>>>>> "NC" == Nicolas Cannasse <> writes:

    >> The problem is that every package has a different build system,
    >> configuration system (Makefile targets), installation
    >> directories, etc. Of course it is "easy" to package them : just
    >> issue the right (Makefile or whatever) commands, set the right
    >> Makefile variables, etc. The problem is that you have to spend
    >> some time figuring out these commands. Ideally, it should be as
    >> simple as :
    >> perl Makefile.Pl or python ./ build
    >> One more point is that ocaml is multi-platform : so this build
    >> system should be able to run on unix, Windows, MacOS. Packages
    >> that wraps C libraries will probably be platform-specific but
    >> it think it would be nice if pure ocaml programs could be built
    >> the same way on every platform supported by ocaml.

    NC> Will I need to install wonderful programming langages such as
    NC> perl or python on my Windows box ? Without any flames, why are
    NC> always unix users wants to make things so complicated ? :) I
    NC> will much more prefer something like :

Have you tried OCamlMakefile?  I gotta say -- I do a lot of weird
stuff with Caml (preprocessing with a custom-written #define
processor, amongst other weird stuff), and it's worked more-or-less
like a charm.

Indeed, I'd like to encourage others to use this puppy.  It *works*.

A combination of OCamlMakefile, and "findlib" (Thanks, Gerd!!!!)
really, really, really (did I mention really?) works to eliminate
almost all my building and packaging hassles.

I suspect that some sort of Makefile-generating facility, written in
Caml (of course), combined with OcamlMakefile, and producing findlib
modules, would be *near-ideal*.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: