Re: If i had a hammer...

From: Markus Mottl (
Date: Fri Jan 29 1999 - 13:47:22 MET

From: Markus Mottl <>
Message-Id: <>
Subject: Re: If i had a hammer...
Date: Fri, 29 Jan 1999 13:47:22 +0100 (MET)
In-Reply-To: <99012822230502.10116@schneemann> from "Gerd Stolpmann" at Jan 28, 99 10:24:28 pm

> - Define a standard for documentation (very important for free software
> development) -- we can simply use an existing one such as 'info'
> or 'perldoc', or simply define a directory structure for html-pages

Good documentation is certainly a necessity!

> - Define a standard how to compile and install projects such that they
> can be used together
> For the latter, I think a meta-makefile mechanism would be appropriate.
> As Ocaml links always statically, there should be a tool
> - that has as input a descriptive request what modules should be linked in
> - that outputs a perfect Makefile that knows the linking order and automatically
> calls ocamlc/ocamlopt/ocamlmktop -- whatever meets the given requests best

Although certainly not perfect (improvement suggestions welcome),
you might want to download my Makefiles which automate a great part
of the building process: it handles ocamllex- and ocamlyacc-files,
threads-library, automatic dependency calculation, building of byte code
and native code, as executable or as library.


The distribution comes with an example.

> read manuals very carefully to get the modules working. It should not be
> necessary to study and configure makefiles to do a simple thing like a
> software installation (people often think that installation is a simple
> process and a more or less an unproductive task).

What I really like about the distribution of OCAML and its tools: they
compile out-of-the-box (at least on all the machines I've tested).
Whoever has tried to compile or correctly install e.g. Mercury or (my
god!!) GHC, is certainly able to honour this...

Best regards,

Markus Mottl,,

This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:19 MET