From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p7PE9ApN023246 for ; Thu, 25 Aug 2011 16:09:10 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtUDAKpWVk5ZELGagWdsb2JhbABCmG2PKAEBFiYlggGKBJpaoDKFbGAEkxmQfA X-IronPort-AV: E=Sophos;i="4.68,281,1312149600"; d="scan'208";a="106612029" Received: from recoil.dh.bytemark.co.uk (HELO dark.recoil.org) ([89.16.177.154]) by mail4-smtp-sop.national.inria.fr with SMTP; 25 Aug 2011 16:09:05 +0200 Received: (qmail 78 invoked by uid 634); 25 Aug 2011 14:09:04 -0000 X-Spam-Level: * X-Spam-Check-By: dark.recoil.org Received: from freak-0.srg.cl.cam.ac.uk (HELO [192.168.2.3]) (128.232.32.220) (smtp-auth username remote@recoil.org, mechanism cram-md5) by dark.recoil.org (qpsmtpd/0.83) with ESMTPA; Thu, 25 Aug 2011 15:09:04 +0100 From: Anil Madhavapeddy Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Aug 2011 15:09:04 +0100 Message-Id: To: caml-list@yquem.inria.fr Mime-Version: 1.0 (Apple Message framework v1244.3) X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on dark.recoil.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p7PE9ApN023246 Subject: [Caml-list] output-obj rule in ocamlbuild Is there a built-in rule in ocamlbuild to generate the -output-obj output instead of a direct link? I note there are these built-in tags in the ocamlbuild source: ocaml_specific.ml:flag ["ocaml"; "link"; "native"; "output_obj"] (A"-output-obj");; ocaml_specific.ml:flag ["ocaml"; "link"; "byte"; "output_obj"] (A"-output-obj");; ...but I can't find a built-in target that uses these tags. Is a custom rule in myocamlbuild.ml needed here, or should I do something in my _tags file? cheers, Anil