Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Camlp4s 4.02
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yitzhak Mandelbaum <yitzhak@r...>
Subject: Re: [Caml-list] Camlp4s 4.02
Any chance that the new camlp4 could be given a different name, given  
that its not backwards compatible?

On Jul 10, 2007, at 8:19 AM, Daniel de Rauglaudre wrote:

> 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
> _______________________________________________
> Caml-list mailing list. Subscription management:
> Archives:
> Beginner's list:
> Bug reports:

Yitzhak Mandelbaum
AT&T Labs - Research