From: Ivan <ivg@ieee.org>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] Re: using typerex with ocamlfind enabled ocamlbuild (ocaml 3.11.2)
Date: Mon, 1 Oct 2012 12:15:27 +0400 [thread overview]
Message-ID: <CAL9dnAH-E4GJYusmT7PVgbf33gMJOv_AMYaYnEdB2-Rr0UU9JQ@mail.gmail.com> (raw)
In-Reply-To: <CAL9dnAESyRmEOmXwwkyO5ppK38sXT2faZ8TjsxQvh52to6wGjw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
... and if I cheat ocamlfind by substituting ocamlc.opt with a link to
ocp-ocamlc.opt, I get the following error from ocamlbuild:
$ ocamlfind ocamlc -where >
/home/crox/factory/parallax/src/ssp/_build/ocamlc.where
ocamlc.opt: unknown option `-where'.
I think that's because ocamlfind do not treat -where as a standard ocamlc
option:
$ ocamlc.opt -where
/usr/lib/ocaml
but
$ ocamlfind ocamlc -where
ocamlc.opt: unknown option `-where'.
May be this is a bug, but I didn't found it on ocaml's mantis...
On 1 October 2012 08:40, Ivan <ivg@ieee.org> wrote:
> I'am using ocaml 3.11 and want to use ocamlbuild, batteries and typerex.
> I've downloaded ocamlfind enabled myocamlbuild.ml. But, it seems, that
> there is no opportunity to include support of typerex without breaking
> support for ocamlfind.
> So, I've tried to edit my /etc/ocamlfind.conf, or to specify an
> environment variable: OCAMLFIND_COMMANDS to 'ocamlc=ocp-ocamlc' but
> neither works. It seems that myocamlbuild overrides this setups.
>
> Please, can anybody help me to solve this. Or, maybe, there is a better
> way to use batteries and typerex?
>
[-- Attachment #2: Type: text/html, Size: 2126 bytes --]
prev parent reply other threads:[~2012-10-01 8:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-01 4:40 [Caml-list] " Ivan
2012-10-01 8:15 ` Ivan [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=CAL9dnAH-E4GJYusmT7PVgbf33gMJOv_AMYaYnEdB2-Rr0UU9JQ@mail.gmail.com \
--to=ivg@ieee.org \
--cc=caml-list@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