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 pBUNJMuK000726 for ; Sat, 31 Dec 2011 00:19:22 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQDABlG/k5ZELGagWdsb2JhbABDoVSLIQEBFiYlgjOBfYgPlgafLYssYwSIN4xLhW+MZg X-IronPort-AV: E=Sophos;i="4.71,435,1320620400"; d="scan'208";a="125108547" Received: from recoil.dh.bytemark.co.uk (HELO dark.recoil.org) ([89.16.177.154]) by mail4-smtp-sop.national.inria.fr with SMTP; 31 Dec 2011 00:19:17 +0100 Received: (qmail 18735 invoked by uid 634); 30 Dec 2011 23:19:16 -0000 X-Spam-Level: * X-Spam-Check-By: dark.recoil.org Received: from Unknown (HELO [172.24.0.155]) (4.53.128.220) (smtp-auth username remote@recoil.org, mechanism cram-md5) by dark.recoil.org (qpsmtpd/0.84) with ESMTPA; Fri, 30 Dec 2011 23:19:15 +0000 From: Anil Madhavapeddy Content-Type: text/plain; charset=us-ascii Date: Fri, 30 Dec 2011 15:19:12 -0800 Message-Id: To: caml users Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) 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 pBUNJMuK000726 Subject: [Caml-list] working %.pp.ml target with ocamfind/ocamlbuild There's a very useful %.pp.ml target in OCamlbuild that runs the source through camlp4 and outputs the result. This doesn't work when ocamlfind is used, as it includes the -pp flags within the ocamlfind invocation. I took a look at adding support for this into ocamlbuild (when -use-ocamlfind is specified), but I couldn't spot any way to get ocamlfind to output the syntax options. I just wanted to check that this is all in fact true, since it requires patching ocamlbuild, findlib, and oasis to make it work. Does everyone else manually run the camlp4o command when using syntax extensions like type-conv or pa_lwt? -anil