From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 97608BC6B for ; Tue, 10 Jul 2007 14:19:54 +0200 (CEST) Received: from yquem.inria.fr (yquem.inria.fr [128.93.8.37]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6ACJs1s001545 for ; Tue, 10 Jul 2007 14:19:54 +0200 Received: by yquem.inria.fr (Postfix, from userid 25991) id 33735BC6B; Tue, 10 Jul 2007 14:19:54 +0200 (CEST) Date: Tue, 10 Jul 2007 14:19:54 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Camlp4s 4.02 Message-ID: <20070710121954.GB7621@yquem.inria.fr> References: <20070709094028.GB9408@yquem.inria.fr> <20070710113259.GA16672@takhisis.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070710113259.GA16672@takhisis.invalid> User-Agent: Mutt/1.5.9i X-Miltered: at discorde with ID 4693796A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; rauglaudre:01 rauglaudre:01 camlp:01 0200,:01 zacchiroli:01 ocaml:01 camlp:01 ocaml:01 makefiles:01 compilable:01 compilation:01 -prefix:01 ocamlc:01 -where:01 wrote:01 Hi, On Tue, Jul 10, 2007 at 01:32:59PM +0200, Stefano Zacchiroli wrote: > Does this also mean that it can be installed as a drop-in extension on > top of OCaml >= 3.10? Would CamlP4s conflict with the new CamlP4 which > is shipped by OCaml itself? Interesting question, thank you for asking :-) Well, since my camlp4 is in the continuity of the previous official one (what the "new" camlp4 is not), I did not change the names of the commands, nor library files. I may do, since I don't have the "official" version. I may change it into "camlp5", "camlp42", or other without "camlp". It does not help me, since I should also change the Makefiles of my other programs, which are no more compilable with the "new" camlp4, to call my camlp4 commands. It is the reason why I kept the name, and I still hesitate to change. In practice: While running "configure" without parameters, the binaries will be installed (after compilation) at the same place than the camlp4 binaries installed by ocaml, overwriting them. The library files are installed in the directory "ocaml library +camlp4", the official one being moved to "ocaml library +ocamlp4". Otherwise, you can "configure" by using the parameters "-bindir", "-libdir", "-mandir", or, globally, "-prefix", to specify another installation place. In that case, the option "-I +camlp4" does not work in ocamlc, you have to use "-I $(camlp4 -where)" instead. If I change the name, there will be no more problem of installing. -- Daniel de Rauglaudre http://pauillac.inria.fr/~ddr/