From: Sylvain Le Gall <sylvain@le-gall.net>
To: caml-list@inria.fr
Subject: Re: ocamlfind ocamlopt.opt?
Date: Tue, 17 Mar 2009 22:13:10 +0000 (UTC) [thread overview]
Message-ID: <slrngs083m.e8q.sylvain@gallu.homelinux.org> (raw)
In-Reply-To: <C7648179-A2EF-4D96-B2EE-6202AB43097A@gmail.com>
On 17-03-2009, Alexy Khrabrov <deliverable@gmail.com> wrote:
> [This is supposed to be the shortest question to the list so far;
> parts in brackets don't count! :)]
>
> ocamlfind ocamlopt.opt # how? [move away non.opt and ln -s x.opt x ?
> prettier? :)]
Of course, there is prettier solution. Use a findlib configuration file.
On debian system, when installing ocaml-native-compilers, you get an
additional file "/usr/share/ocaml-findlib/ocaml-native-compilers.conf"
which auto-set the variable to use the .opt program. Here is its
content:
ocamlc="ocamlc.opt"
ocamlopt="ocamlopt.opt"
ocamldep="ocamldep.opt"
ocamldoc="ocamldoc.opt"
I think you can also directly fix it through /etc/ocamlfind.conf or any
other configuration file installed by ocamlfind.
Regards
Sylvain Le Gall
next prev parent reply other threads:[~2009-03-17 22:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 18:37 Alexy Khrabrov
2009-03-17 22:13 ` Sylvain Le Gall [this message]
2009-03-17 22:53 ` [Caml-list] " Alexy Khrabrov
2009-03-18 12:21 ` Anil Madhavapeddy
2009-03-18 16:19 ` Alexy Khrabrov
2009-03-18 16:35 ` Anil Madhavapeddy
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=slrngs083m.e8q.sylvain@gallu.homelinux.org \
--to=sylvain@le-gall.net \
--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;
as well as URLs for NNTP newsgroup(s).