From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p6KClwJm013258 for ; Wed, 20 Jul 2011 14:47:58 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtEAADfNJk6AsuDbkWdsb2JhbABTmFyPGgEBAQEJCwsHFAUgqwefXYVeXwSjTQ X-IronPort-AV: E=Sophos;i="4.67,235,1309730400"; d="scan'208";a="98886894" Received: from smtp0.epfl.ch ([128.178.224.219]) by mail2-smtp-roc.national.inria.fr with SMTP; 20 Jul 2011 14:47:52 +0200 Received: (qmail 25810 invoked by uid 107); 20 Jul 2011 12:47:51 -0000 X-Virus-Scanned: ClamAV Received: from vpn-b-195-136.epfl.ch (HELO discarded) (128.178.195.136) (authenticated) by smtp0.epfl.ch (AngelmatoPhylax SMTP proxy) with ESMTPA; Wed, 20 Jul 2011 14:47:51 +0200 Date: Wed, 20 Jul 2011 14:48:00 +0200 From: Guillaume Hennequin To: caml-list@inria.fr Message-ID: <20110720124800.GA21796@guillaume-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Validation-by: guillaume.hennequin@epfl.ch Subject: [Caml-list] ocamlbuild and cflags Hello, I came across two ocamlbuild issues today: 1) how can one give a cflag that requires an argument, like ocamlbuild -cflag -inline 2 target.native Backtrace: - failed to build the target 2 2) I don't understand why ocamlbuild target.cmx would need to compile target.cmo on the way... this actually prevents me from using any of the ocamlopt-specific flags: ocamlbuild -cflag -S target.cmx (ocamlc itself complains it doesn't have a -S option) any way around that? cheers, Guillaume.