From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 29B4F7EE11 for ; Tue, 19 Aug 2014 22:24:00 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AowEALix81NKN1ZKnGdsb2JhbABag2BXgVqBIrN0lgKIfBABAQEBAQYNCQkUKYQtgQsCJgJJFhuIOgQJnH6PL5RPF4EskSA2gR0FkiCDK4hOhTsYkTdrgk8BAQE X-IPAS-Result: AowEALix81NKN1ZKnGdsb2JhbABag2BXgVqBIrN0lgKIfBABAQEBAQYNCQkUKYQtgQsCJgJJFhuIOgQJnH6PL5RPF4EskSA2gR0FkiCDK4hOhTsYkTdrgk8BAQE X-IronPort-AV: E=Sophos;i="5.01,897,1400018400"; d="scan'208";a="75278424" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail3-smtp-sop.national.inria.fr with ESMTP; 19 Aug 2014 22:23:59 +0200 Received: from [172.20.10.2] (188.29.164.52.threembb.co.uk [188.29.164.52]) by smtp.webfaction.com (Postfix) with ESMTP id 9B60266EB287 for ; Tue, 19 Aug 2014 20:23:56 +0000 (UTC) Date: Tue, 19 Aug 2014 21:23:53 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Caml-list Message-ID: <16E4D00CD21440749F2000665B932003@erratique.ch> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Caml-list] -vmthread and -thread flags 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