Re: [Caml-list] ocamlbuild and installed modules and libraries

2008-11-17 Thread Daniel Bünzli
Le 16 nov. 08 à 21:37, Nicolas Pouillard a écrit : I'm a bit uncomfortable with this kind of dynamic or special tags. However the simplest solution to your problem is probably one of those: 1/ ocamlbuild -cflags -I,+xmlm,xmlm.cmx test.native You meant, ocamlbuild -cflags -I,+xmlm

Re: [Caml-list] ocamlbuild and installed modules and libraries

2008-11-17 Thread Romain Bardou
Daniel Bünzli a écrit : Le 16 nov. 08 à 21:37, Nicolas Pouillard a écrit : I'm a bit uncomfortable with this kind of dynamic or special tags. However the simplest solution to your problem is probably one of those: 1/ ocamlbuild -cflags -I,+xmlm,xmlm.cmx test.native You meant,

[Caml-list] ocamlbuild and installed modules and libraries

2008-11-16 Thread Daniel Bünzli
Hello, Is it possible to specify a single installed module (instead of a lib) for link time ? That is is there something like -lib but for module so that I can type : ocamlbuild -I +xmlm -mod xmlm test.native where test.ml uses the xmlm module And what about having special tags

Re: [Caml-list] ocamlbuild and installed modules and libraries

2008-11-16 Thread Nicolas Pouillard
Excerpts from daniel.buenzli's message of Sun Nov 16 19:22:02 +0100 2008: Hello, Is it possible to specify a single installed module (instead of a lib) for link time ? That is is there something like -lib but for module so that I can type : ocamlbuild -I +xmlm -mod xmlm test.native