caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Caml-list <caml-list@inria.fr>
Subject: [Caml-list] -vmthread and -thread flags
Date: Tue, 19 Aug 2014 21:23:53 +0100	[thread overview]
Message-ID: <16E4D00CD21440749F2000665B932003@erratique.ch> (raw)

Hello,  

Having a cursory look at the compiler sources, it seems that these flags simply include the directory with the corresponding backend threads.cm[x]a library [1]

Is this the only effect of these flags in the compiler ? That is am I right thinking that this is just: 

-thread = -I+threads
-vmthread = -I+vmthreads

and that's all ? 

If that's the case shouldn't we maybe deprecate these flags, they seem to be the source of problems with ocamlfind which has special code paths for dealing them which has all sorts of strange effects. 

Best,

Daniel

[1] https://github.com/ocaml/ocaml/blob/trunk/driver/compmisc.ml#L23



                 reply	other threads:[~2014-08-19 20:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=16E4D00CD21440749F2000665B932003@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --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).