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=0.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 450F4BBC1 for ; Mon, 10 Mar 2008 22:13:27 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoMAAIxB1UfOvjGxoWdsb2JhbACRAwEBAQEBAQUEBgcKAReZKw X-IronPort-AV: E=Sophos;i="4.25,476,1199660400"; d="scan'208";a="10106730" Received: from web54607.mail.re2.yahoo.com ([206.190.49.177]) by mail3-smtp-sop.national.inria.fr with SMTP; 10 Mar 2008 22:13:26 +0100 Received: (qmail 31886 invoked by uid 60001); 10 Mar 2008 21:13:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=v/JD5y+LpEePDKfUSKfFNs7q9WbYf7rqRixODlvSL/PU74BqSI6GW7/T20EXyzTJc+1XKxOfzEAUhdLC9kCBP9EU2rwGvyHQx7adJLmiVNblPIV1SaWDF9vOocU1KJkKNckQWVx1ddcc5WyGhZjohZhWiPjqeb4zguVXjGMmjW4=; X-YMail-OSG: SJ9ukdoVM1nNzmBpp85SGAfUuJOXSji6Yyu1M2632UVACTgWRPS_ESW87V8kZI1Rt3MybBxXFcy0OWFGaNLFze3vzLEH7XG4SWbFE1MtEGLSLSj_fT_JoewHFqwBUZRYUnsuZnF.kUcgPyLf6ChLAabcRg-- Received: from [82.155.116.30] by web54607.mail.re2.yahoo.com via HTTP; Mon, 10 Mar 2008 21:13:25 GMT Date: Mon, 10 Mar 2008 21:13:25 +0000 (GMT) From: Dario Teixeira Subject: Re: [Caml-list] Ocamlbuild with findlib + camlp4 To: Romain Bardou Cc: Nicolas Pouillard , Caml_mailing list In-Reply-To: <47D55E9F.4060800@lri.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <286015.31785.qm@web54607.mail.re2.yahoo.com> X-Spam: no; 0.00; findlib:01 camlp:01 ocamldep:01 trivial:01 findlib:01 ocamlfind:01 camlp:01 cheers:01 devil:98 wrote:01 arnaud:01 compile:01 caml-list:01 handles:03 perhaps:05 Hi Romain, > to your myocamlbuild.ml, and tag your files with > "pkg_sexplib.statements", and use the plugin I wrote which declares the > "pkg_*" tags, does it work? (ocamldep might still not work so you might > need to tweak it a bit with tags "compile", "link" and "doc"). Thanks for the reply. Well, the devil is in the details. At first I also thought this should be a trivial problem, but Ocamlbuild's builtin rules always conflict with findlib. Perhaps the solution that Arnaud just posted to this list (not using ocamlfind directly but rather to query it) might be the way to go. Anyway, if someone manages to get ocamlbuild+findlib+camlp4 to work together I will be glad to hear from them... > That being said, once Ocamlbuild handles multiple plugins, it will be > easy to write your own, standard, generic plugin in your .ocamlbuild > directory and use it in all of your projects :) Yeap, that was the idea. Cheers, Dario __________________________________________________________ Sent from Yahoo! Mail. The World's Favourite Email http://uk.docs.yahoo.com/nowyoucan.html