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
Lwt and OCamlMakefile
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-12-21 (13:18)
From: Adrien <camaradetux@g...>
Subject: Re: [Caml-list] Lwt and OCamlMakefile
On 21/12/2010, Sylvain Le Gall <> wrote:
> On 21-12-2010, Jérémie Dimino <> wrote:
>> On Mon, Dec 20, 2010 at 09:36:39PM -0500, wrote:
>>> Thanks, I forgot to mention that I am setting that:
>>> (*pp camlp4o pa_lwt.cmo *)
>> This one should work:
>>   (*pp camlp4o `ocamlfind query -i-format lwt` `ocamlfind query
>> -predicates syntax,preprocessor -a-format -r lwt.syntax` *)
> It will work on Linux. On Windows, you will get a problem because
> ocamlfind EOL (win32) doesn't match "`...`" EOL wrapping (cygwin).
> There was a similar problem with sexplib...

For windows, for sexplib and mikmatch_*str*, I do the preprocessing on
linux[1] and put everything in a git branch which I then access on
windows (I also love gitweb's ability to generate a tarball of the
source :-) ).

It also avoids the need to have a working camlp* on windows (msys).

It doesn't work for mikmatch_pcre because it requires an additional
library (for the "macro" feature) but it's been quite handy so far.
Most credits for the script go to Julien Moutinho.



Adrien Nader