Version française
Home     About     Download     Resources     Contact us    
Browse thread
automake and ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: automake and ocaml
On 21-09-2009, Daniel Molina <lalluviamola@gmail.com> wrote:
> Hello all.
>
> I have searching in the net about ocaml compatibility for automake. I
> have found a patch from automake by Tom Murray in 2003
>
> http://sourceware.org/ml/automake/2003-12/msg00153.html
>
> and I had seen that this issue was talked in the caml mailing list
>
> http://mirror.ocamlcore.org/caml.inria.fr/pub/ml-archives/caml-list/2006/11/e3887787f977667f7277226415d632c0.en.html
>
> Do anybody knows the state of this matter nowadays? Some page that I can
> read? I only want to find a method that works properly.
>

I try it and even try it to work a new version on my own. The problem is
that automake is deeply tight with C compilation. Supporting other
languages that do not compile the same way as C (.c -> .o -> .exe / no
header compilation) is a nightmare and really difficult to maintain
overtime inside automake...

Take a look at ocaml-autoconf for configure time and ocamlbuild for link
time.
http://ocaml-autoconf.forge.ocamlcore.org

If it is a pure OCaml project, you can try to use ocaml-autobuild (but
it dev. status, you will need to fecth the darcs repo):
http://ocaml-autobuild.forge.ocamlcore.org
http://darcs.ocamlcore.org/cgi-bin/darcsweb.cgi?r=ocaml-autobuild;a=summary

Regards,
Sylvain Le Gall