caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] -vmthread and -thread flags
@ 2014-08-19 20:23 Daniel Bünzli
  0 siblings, 0 replies; only message in thread
From: Daniel Bünzli @ 2014-08-19 20:23 UTC (permalink / raw)
  To: Caml-list

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-19 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-19 20:23 [Caml-list] -vmthread and -thread flags Daniel Bünzli

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).