From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 04154BBAF for ; Mon, 21 Sep 2009 10:25:04 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsUCAMTUtkpQW+UMgWdsb2JhbACaeAEBFiSza4QbBQ X-IronPort-AV: E=Sophos;i="4.44,423,1249250400"; d="scan'208";a="46951803" Received: from lo.gmane.org ([80.91.229.12]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 21 Sep 2009 10:25:03 +0200 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MpeCk-0002Oq-O5 for caml-list@inria.fr; Mon, 21 Sep 2009 10:25:02 +0200 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Sep 2009 10:25:02 +0200 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Sep 2009 10:25:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: automake and ocaml Date: Mon, 21 Sep 2009 08:23:30 +0000 (UTC) Message-ID: References: <1253504474.17122.13.camel@ByeLimpus> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre1.0.0-11 (Linux) Sender: news X-Spam: no; 0.00; le-gall:01 ocaml:01 ocaml:01 compilation:01 compilation:01 molina:98 wrote:01 compile:01 caml-list:01 caml:02 caml:02 languages:03 dev:04 nightmare:04 daniel:04 On 21-09-2009, Daniel Molina 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