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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 280C97EE3F for ; Wed, 23 Mar 2016 10:43:33 +0100 (CET) IronPort-PHdr: 9a23:JH/rFRx83EW29jLXCy+O+j09IxM/srCxBDY+r6Qd0eIQIJqq85mqBkHD//Il1AaPBtWLrasZwLOM7+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6CyZ3qnLnop9X6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD89pozcNLUL37cqIkVvQYSW1+ayFmrPHs4AHHRBeB4WEZGjEOlhNUDQ/f6Tn+X4ztqW39veN43G+dJ8KgHp4uXjH3w65tSRLsvw2TMSw98SmDhsV2ja9f5hi8qhptx4/8bZuPPeZ/Z77QO9gaEzkSFv1NXjBMV9vvJ7AECPAMaKMB99Hw Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=daniel.buenzli@erratique.ch; spf=None smtp.mailfrom=daniel.buenzli@erratique.ch; spf=None smtp.helo=postmaster@smtp.webfaction.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail2-smtp-roc.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: A0BTAQD7ZPJWi0pWN0pev2MBDYFwhg0CgXcUAQEBAQEBAQEQAQEBCAsLCSEvQQwBgV+CFQEBBCNWEAsaAhEVAgJHEAYbiB8Er1SQfQEBAQcBAQEBARt8iWaEOkGCQSuCKwWXWYhkBY5DDoVUjwceAQGCVoFSiQ6BZgEBAQ X-IPAS-Result: A0BTAQD7ZPJWi0pWN0pev2MBDYFwhg0CgXcUAQEBAQEBAQEQAQEBCAsLCSEvQQwBgV+CFQEBBCNWEAsaAhEVAgJHEAYbiB8Er1SQfQEBAQcBAQEBARt8iWaEOkGCQSuCKwWXWYhkBY5DDoVUjwceAQGCVoFSiQ6BZgEBAQ X-IronPort-AV: E=Sophos;i="5.24,382,1454972400"; d="scan'208";a="209666003" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Mar 2016 10:43:12 +0100 Received: from [172.20.10.2] (221.236.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch [178.197.236.221]) by smtp.webfaction.com (Postfix) with ESMTP id C940420A685A; Wed, 23 Mar 2016 09:43:09 +0000 (UTC) Date: Wed, 23 Mar 2016 10:43:06 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: platform Cc: OCaml List Message-ID: <6E830FD9DA0B463E8F48A44017A814B1@erratique.ch> In-Reply-To: <30AF5A7CB977477A9BF094F3BC19C58C@erratique.ch> References: <30AF5A7CB977477A9BF094F3BC19C58C@erratique.ch> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] Package compilation and debug mode Le samedi, 12 mars 2016 =C3=A0 22:35, Daniel B=C3=BCnzli a =C3=A9crit : > So I think OCaml's opam repository should have a policy here. The answer = should also take system package managers into account since those pull dire= ctly from the tarballs (if this document [3] is still in use for debian it = seems they do require compilation with debug mode). Would it be possible to get an official answer from OCaml's OPAM repository= managers ? They are in charge of devising the switches which do allow global addition = of compiler options. If global removal is not supported then I think packag= es should be distributed without -g and default switches should simply add = this switch. Daniel