From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlfind and ocaml*.opt tools
Date: Mon, 9 Sep 2013 09:57:11 +0100 [thread overview]
Message-ID: <E3B13BA8E0DB4F9C8722627C6A0D4446@erratique.ch> (raw)
In-Reply-To: <522D8C0B.5020204@gmail.com>
Le lundi, 9 septembre 2013 à 09:51, Matej Kosik a écrit :
> What is the right way to invoke, say ocamlc.opt via ocamlfind?
Don't know if it's the right way. But this should work:
Do
> ocamlfind printconf
This should indicate you the location of `findlib.conf` in which you can set the tools to invoke e.g.:
> cat /Users/dbuenzli/.opam/4.00.1/lib/findlib.conf
destdir="/Users/dbuenzli/.opam/4.00.1/lib"
path="/Users/dbuenzli/.opam/4.00.1/lib"
ocamlc="ocamlc.opt"
ocamlopt="ocamlopt.opt"
ocamldep="ocamldep.opt"
ocamldoc="ocamldoc.opt">
N.B. this happened to me automatically, so maybe if you install the opt compiler first and then ocamlfind, its install procedure is able to infer the right findlib.conf.
Best,
Daniel
next prev parent reply other threads:[~2013-09-09 8:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-09 8:51 Matej Kosik
2013-09-09 8:57 ` Daniel Bünzli [this message]
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=E3B13BA8E0DB4F9C8722627C6A0D4446@erratique.ch \
--to=daniel.buenzli@erratique.ch \
--cc=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