caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: Romain Bardou <romain.bardou@lri.fr>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlbuild and packs
Date: Thu, 31 Jan 2008 15:13:13 +0100	[thread overview]
Message-ID: <1201788675-sup-1405@ausone.inria.fr> (raw)
In-Reply-To: <47A1D6F5.4080305@lri.fr>

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

  reply	other threads:[~2008-01-31 14:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31 11:55 Romain Bardou
2008-01-31 13:01 ` [Caml-list] " Nicolas Pouillard
2008-01-31 13:42   ` Romain Bardou
2008-01-31 13:50     ` Nicolas Pouillard
2008-01-31 14:04       ` Romain Bardou
2008-01-31 14:11         ` Romain Bardou
2008-01-31 14:13           ` Nicolas Pouillard [this message]
2008-01-31 14:14         ` Nicolas Pouillard
2008-01-31 14:35           ` Romain Bardou
2008-01-31 14:42             ` Nicolas Pouillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1201788675-sup-1405@ausone.inria.fr \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=romain.bardou@lri.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).