caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Cobbe <cobbe@ccs.neu.edu>
To: caml-list caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Trouble with "ocamlbuild main.native"
Date: Tue, 25 Mar 2008 21:37:43 -0400	[thread overview]
Message-ID: <20080326013743.GA86873@perdita.local> (raw)
In-Reply-To: <1206492283-sup-1017@ausone.local>

On Wed, Mar 26, 2008 at 01:46:35AM +0100, Nicolas Pouillard wrote:
> 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)

Ah!  That was it!

Compiles perfectly now.  Thanks so much!

Richard


      reply	other threads:[~2008-03-26  1:37 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 ` [Caml-list] " Nicolas Pouillard
2008-03-26  1:37   ` Richard Cobbe [this message]

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=20080326013743.GA86873@perdita.local \
    --to=cobbe@ccs.neu.edu \
    --cc=caml-list@yquem.inria.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).