From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id EBA9DBB81 for ; Tue, 6 Dec 2005 09:06:14 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jB686EgU004203 for ; Tue, 6 Dec 2005 09:06:14 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA02575 for ; Tue, 6 Dec 2005 09:06:14 +0100 (MET) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jB686D1o004198 for ; Tue, 6 Dec 2005 09:06:13 +0100 Received: from [192.168.0.4] (rke75-3-82-229-183-156.fbx.proxad.net [82.229.183.156]) by smtp1-g19.free.fr (Postfix) with ESMTP id 9C37967D74; Tue, 6 Dec 2005 09:06:13 +0100 (CET) Message-ID: <43954534.4060301@inria.fr> Date: Tue, 06 Dec 2005 09:00:52 +0100 From: Alain Frisch User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Jambon Cc: caml-list@inria.fr Subject: Re: [Caml-list] ocamlfind + ocamldep + camlp4? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 43954676.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43954675.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; frisch:01 frisch:01 caml-list:01 ocamlfind:01 ocamldep:01 camlp:01 ocamlfind:01 camlp:01 dependencies:01 ocamlc:01 -package:01 ocamldep:01 preprocess:01 syntax:01 dependencies:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Martin Jambon wrote: > Hello, > > I would like to know if there is a way of using ocamlfind as front-end > to camlp4o alone. Let me explain: the following works nicely since it > will locate the pa_someext package and load its dependencies: > > ocamlfind ocamlc -c -syntax camlp4o -package pa_someext file.ml > > but how to tell ocamldep to preprocess file.ml using camlp4o and the > wanted syntax modules, without listing all the include directories and > dependencies? Doesn't ocamlfind ocamldep -syntax camlp4o -package pa_someext ... do what you want? Is your question about using a different set of extensions for each file? -- Alain