From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 96E2FBBAF for ; Mon, 5 Apr 2010 18:02:09 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah0CABqmuUtDww/TkGdsb2JhbACPI4F9gQCJPgEBAQEJCQwHEQMfpl6Bb4QXiHkBBAQBhQIEgyQ X-IronPort-AV: E=Sophos;i="4.51,366,1267398000"; d="scan'208";a="60228183" Received: from web111514.mail.gq1.yahoo.com ([67.195.15.211]) by mail4-smtp-sop.national.inria.fr with SMTP; 05 Apr 2010 18:02:08 +0200 Received: (qmail 84000 invoked by uid 60001); 5 Apr 2010 16:02:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1270483326; bh=SwgNgysQfS3Cfoev9pxOK43Xu4nLHU2gkY/AEpNkvF0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SvI5HOz72PhF3tYiE3c0wIXwFXiAalzl6yHbtVKxbBJ/G8iaijTT1PzgnYt99SNQRAnPhnTCp9RKll4Fqixnq5XPpj2WNFERwG+5cU2cZfpH83Mm+hlCcf9T7PPX+y6syTUX+ilj4/u3TnPTN3C4q1g/oDnydmfdLvelChawF8M= 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:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=czuNRPbvT1vIxpzZ566Nq8/oGF6z4Ck+98hqFv1olqmQcw2bOXByJnvYu8YONe5IrgJqL3u3AkvQFHHNQ8K3cYHt4cWAt5SFewqMQ8D2i4mePeYRLNt8UEZ26NfhRWdfw040cOj4YAyZRiuHakLpJrP7fTWcVWMkD7HfFFNoDw0=; Message-ID: <131551.83213.qm@web111514.mail.gq1.yahoo.com> X-YMail-OSG: qpSiLPcVM1nl0vFPPwclu3rL3gVs8dJmuDIuQifVwC5ABhp MW6lKJo.lBXxi6W5wRkIFnqrjlMyWguvnz7qDFmfzELVLbqxSYgNnahycN.8 jQJXdJ1GOscZ22.CGBWhiQiZTgV0Qus8_iSSVtmeEtnggWK6OPRWqpS4bm5F xk_993_YwMi_y92giYfmL0_tqC53F2C4A.JTATnWheLRk5Zy7EPrnibZRXDz 5B77czo_VQ4.RXHGgAHamvzVv11R9XqA9ENLkoYd8o0e19mWI4ocfDMvJTp3 bs95gtkyjJDmGKTQrrlgAsm5SewtHgzpoYtoKH8tG Received: from [213.205.71.51] by web111514.mail.gq1.yahoo.com via HTTP; Mon, 05 Apr 2010 09:02:05 PDT X-Mailer: YahooMailClassic/10.0.8 YahooMailWebService/0.8.100.260964 Date: Mon, 5 Apr 2010 09:02:05 -0700 (PDT) From: Dario Teixeira Subject: Re: [Caml-list] Forced linking and Ocamlbuild To: =?iso-8859-1?Q?Daniel_B=FCnzli?= Cc: caml-list@yquem.inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; ocamldoc:01 dependencies:01 cheers:01 caml-list:01 dependency:01 callback:02 output:02 linking:02 dependence:03 module:03 module:03 discarded:04 registers:08 suppose:09 optional:09 Hi,=0A=0A> Suppose you'd like to use ocamldoc to output a dot file to under= stand=0A> the dependencies of your program, if you manage to achieve what y= ou=0A> want to do you'll miss that dependency.=0A> =0A> The more info there= is in the source (vs. the build procedure) the=0A> easier it is to underst= and the program.=0A=0AIn general I would agree, but in this particular inst= ance the extra=0Amodule is just a plugin which registers itself with the ma= in module=0Avia a callback. It's entirely optional and not a dependence of= the=0Amain program -- hence why an automated build system thinks it may=0A= be safely discarded.=0A=0ACheers,=0ADario Teixeira=0A=0A=0A=0A