caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlfind and ocaml*.opt tools
@ 2013-09-09  8:51 Matej Kosik
  2013-09-09  8:57 ` Daniel Bünzli
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matej Kosik @ 2013-09-09  8:51 UTC (permalink / raw)
  To: caml-list

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-09 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-09  8:51 [Caml-list] ocamlfind and ocaml*.opt tools 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 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).