caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Stéphane Glondu" <steph@glondu.net>
To: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlfind and ocaml*.opt tools
Date: Mon, 09 Sep 2013 16:23:14 +0200	[thread overview]
Message-ID: <522DD9D2.1060304@glondu.net> (raw)
In-Reply-To: <522D8C0B.5020204@gmail.com>

Le 09/09/2013 10:51, Matej Kosik a écrit :
> 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).

You can do more than guessing:

$ ocamlfind ocamlc -verbose foo.ml
Effective set of compiler predicates: autolink,byte
+ ocamlc.opt -verbose foo.ml


Cheers,

-- 
Stéphane


      parent reply	other threads:[~2013-09-09 14:23 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
2013-09-09  9:15 ` Maxence Guesdon
2013-09-09 14:23 ` Stéphane Glondu [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=522DD9D2.1060304@glondu.net \
    --to=steph@glondu.net \
    --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;
as well as URLs for NNTP newsgroup(s).