On 21/12/2010, Sylvain Le Gall <sylv...@le-gall.net> wrote: > On 21-12-2010, Jérémie Dimino <jere...@dimino.org> wrote: >> On Mon, Dec 20, 2010 at 09:36:39PM -0500, orb...@ezabel.com 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. [1] http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=yypkg/yypkg.git;a=blob;f=preprocess.sh -- Adrien Nader _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs