caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: Richard Cobbe <cobbe@ccs.neu.edu>
Cc: caml-list caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Trouble with "ocamlbuild main.native"
Date: Wed, 26 Mar 2008 01:46:35 +0100	[thread overview]
Message-ID: <1206492283-sup-1017@ausone.local> (raw)
In-Reply-To: <20080325231712.GB86489@perdita.local>

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

Excerpts from Richard Cobbe's message of Wed Mar 26 00:17:12 +0100 2008:
> I'm having some difficulty getting ocamlbuild to produce native binaries
> for a project that's spread over multiple directories.  I'm hoping someone
> can explain what I'm doing wrong here.

You've hitted the -for-pack oddify :)

[...]

>     <frontEnd/**/*.ml>: for-pack(frontEnd)
>     <backEnd/**/*.ml>: for-pack(backEnd)
>     <dataRep/**/*.ml>: for-pack(dataRep)

Almost there... that's .cmx instead of .ml

     <frontEnd/**/*.cmx>: for-pack(frontEnd)
     <backEnd/**/*.cmx>: for-pack(backEnd)
     <dataRep/**/*.cmx>: for-pack(dataRep)

Best regards,

-- 
Nicolas Pouillard aka Ertai

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

  reply	other threads:[~2008-03-26  0:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25 23:17 Richard Cobbe
2008-03-26  0:46 ` Nicolas Pouillard [this message]
2008-03-26  1:37   ` [Caml-list] " Richard Cobbe

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=1206492283-sup-1017@ausone.local \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=cobbe@ccs.neu.edu \
    /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).