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.7 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 6210BBBAF for ; Mon, 21 Sep 2009 18:05:46 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuIRAMhBt0pDww/ZX2dsb2JhbACRQokoFwwJBRSnOIExjj0BBQMBhBcFgks X-IronPort-AV: E=Sophos;i="4.44,425,1249250400"; d="scan'208";a="33211680" Received: from web111515.mail.gq1.yahoo.com ([67.195.15.217]) by mail2-smtp-roc.national.inria.fr with SMTP; 21 Sep 2009 18:05:43 +0200 Received: (qmail 59008 invoked by uid 60001); 21 Sep 2009 16:05:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1253549142; bh=BIos0+cIFpcPQwBcXMlLsStbwVH1tHMuLKRKGEMjMPk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SnfzdO+sPSJ6YCiUg378XpKtNuTeurTRFccrR+bsrIZv+1HDpwRJhhXHYgjc8PkE2WHY2Gx8oEuFQQ4jvN3kXhZWO+CYHvlmFYzsP4foUoYMJx4jCrpybcz9FW7HGSYtnTKjQlw7GLJgV0XHh+azsdDRHN1Z4QifQwzsDzsex70= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iEe29+Z+79b+sw0jGBAtiQ6WUYsKe1SUJSisyFVoI8M+fd7x8AzawNIUyWEVuD4wM91p9ObLz+AwvkET0fgnLbvhN+xF5vBoEVumHr4WzvBe+iH5AMKbrlpwbIikvBivdnt+f/OxnmtzCO07w4fS2Hvh1AOpzhRffkGaRXXqrZ4=; Message-ID: <177439.58068.qm@web111515.mail.gq1.yahoo.com> X-YMail-OSG: _dgNZHQVM1nzrepHLIamv2XTDxIj5FTRoeZ1s415ZUbY6CH6Arh7pjAjWOnzdwEb35_kCU6Zh45oGYEyF6I75hRLJjP8xprsJkzhLmUotlk0DOflqE.3cbtitncClXDojMuF2gbZvhotn96VcQcqfhK.2wmAWBR9FWkZZPuLqH7G.XKRDGmxe4EsWLqJm31cXQlNj_8BHPh23pe_nfQNIimm29YBWH7CK3xhfb7qmRcg2owNnPJbZ7ggf9QChVVoahHnZW7TWEm0cFz8uKBU2gjnhTv41yhcO_vBaeHgyXNNhy9A6WACMycC6QrMwQVo.FO5HqdLIIU_XoY- Received: from [213.205.71.63] by web111515.mail.gq1.yahoo.com via HTTP; Mon, 21 Sep 2009 09:05:42 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.2 Date: Mon, 21 Sep 2009 09:05:42 -0700 (PDT) From: Dario Teixeira Subject: Ocamlbuild for project with C portion To: caml-list@yquem.inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; stubs:01 foobar:01 foobar:01 compile:01 defined:02 external:03 module:03 manual:06 manual:06 function:08 stuff:09 declares:10 but:14 does:14 advance:15 Hi,=0A=0AThe Ocamlbuild manual begins by stating that the tool has builtin = support=0Afor projects with C stubs, but unfortunately is subsequently mute= on the=0Asubject. So, I have a foobar.ml module that declares an external= function=0A"stuff" which is defined in foobar_lowlevel.c. What is the Oca= mlbuild=0Atagging wizardry that allows this programme to compile?=0A=0AThan= ks in advance for your time!=0ABest regards,=0ADario Teixeira=0A=0AP.S. Doe= s someone who groks it have plans to write a more complete manual=0A fo= r Ocamlbuild? It's a tool whose great potential goes unfulfilled=0A du= e to deficient documentation.=0A=0A=0A=0A