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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-01-31 (14:14)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild and packs
Excerpts from Romain Bardou's message of Thu Jan 31 15:11:01 +0100 2008:
> > I want to pack all the files in bla and bli together anyway, so this 
> > solution would be great; however, now ocamldep gives me an error:
> > 
> >     /usr/local/bin/ocamldep.opt: unknown option `-for-pack'.
> Okay well this part was easy, I use the tag:
>     <bl{a,i}/**/*.cm*>: for-pack(Blabli)

Yes my bad (I've not checked), more precisely only cmx deserve for-pack so you can be more precise:

<bl{a,i}/**/*.cmx>: for-pack(Blabli)

> And it works. Using the includes I can compile blabli.cmo but I can't 
> compile main.native because of the name clashes.

Is there name clashes between bli/* and your toplevel modules?

Nicolas Pouillard aka Ertai