From: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] ocamlfind and ocaml*.opt tools
Date: Mon, 09 Sep 2013 09:51:23 +0100 [thread overview]
Message-ID: <522D8C0B.5020204@gmail.com> (raw)
Hello,
Inspired by the recent `Accelerating compilation' discussion, I have installed the *.opt version of the compilers
apt-get install ocaml-native-compilers
What is the right way to invoke, say ocamlc.opt via ocamlfind?
ocamlfind c -c -g -o foo.cmi foo.mli
works but I guess ocamlfind invokes here ocamlc (not ocamlc.opt, even if it is installed).
Attempts like these:
ocamlfind c.opt -c -g -o foo.cmi foo.mli
ocamlfind ocamlc.opt -c -g -o foo.cmi foo.mli
fail because "c.opt" and "ocamlc.opt" are not recognized as ocamlfind commands.
next reply other threads:[~2013-09-09 8:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-09 8:51 Matej Kosik [this message]
2013-09-09 8:57 ` Daniel Bünzli
2013-09-09 9:15 ` Maxence Guesdon
2013-09-09 14:23 ` Stéphane Glondu
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=522D8C0B.5020204@gmail.com \
--to=5764c029b688c1c0d24a2e97cd764f@gmail.com \
--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