From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: seanmcl@cmu.edu
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlbuild with pack
Date: Mon, 18 Jun 2007 21:25:54 +0200 [thread overview]
Message-ID: <cd67f63a0706181225h2b2e2df7ybf6e4fd582b5afc2@mail.gmail.com> (raw)
In-Reply-To: <6579f8680706170536g534c9577qa5fb73384ce7eb27@mail.gmail.com>
On 6/17/07, Sean McLaughlin <seanmcl@gmail.com> wrote:
> Hello
>
> I've run into a problem with ocamlbuild and -pack.
> It will build bytecode packages, but not native ones.
> E.g.,
>
[...]
> File a.cmx was not compiled with the `-for-pack Lib' option
> Command exited with code 1.
>
>
> What am I doing wrong?
ocamlbuild does not keep track of -for-pack options. There is way to
provide the architecture of your project in order to give for-pack
option nicely but that worth only for big projects.
The easy way is:
$ cat _tags
"a.cmx": for-pack(Lib)
Regards,
--
Nicolas Pouillard
prev parent reply other threads:[~2007-06-18 19:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-17 12:36 Sean McLaughlin
2007-06-18 19:25 ` Nicolas Pouillard [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=cd67f63a0706181225h2b2e2df7ybf6e4fd582b5afc2@mail.gmail.com \
--to=nicolas.pouillard@gmail.com \
--cc=caml-list@inria.fr \
--cc=seanmcl@cmu.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