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 9A3AF7F20B for ; Mon, 11 Feb 2013 21:44:55 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of edwin+ml-ocaml@etorok.net) identity=pra; client-ip=176.9.138.55; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="edwin+ml-ocaml@etorok.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of edwin+ml-ocaml@etorok.net designates 176.9.138.55 as permitted sender) identity=mailfrom; client-ip=176.9.138.55; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="edwin+ml-ocaml@etorok.net"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@mail.etorok.net designates 176.9.138.55 as permitted sender) identity=helo; client-ip=176.9.138.55; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="postmaster@mail.etorok.net"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAFACRWGVGwCYo3/2dsb2JhbABEgmy+NhZzgh8BAQVAAQE2Ag8LGAkWDwkDAgECAUUTCAKIDwOtBYQ7AQWOTAaOY02CXZJtgzqQU4J5Dw X-IPAS-Result: AgAFACRWGVGwCYo3/2dsb2JhbABEgmy+NhZzgh8BAQVAAQE2Ag8LGAkWDwkDAgECAUUTCAKIDwOtBYQ7AQWOTAaOY02CXZJtgzqQU4J5Dw X-IronPort-AV: E=Sophos;i="4.84,644,1355094000"; d="scan'208";a="2382141" Received: from mail.etorok.net ([176.9.138.55]) by mail2-smtp-roc.national.inria.fr with ESMTP; 11 Feb 2013 21:44:55 +0100 Received: from [IPv6:2a02:2f09:40b0:2c:1e6f:65ff:fe23:db0d] (unknown [IPv6:2a02:2f09:40b0:2c:1e6f:65ff:fe23:db0d]) by mail.etorok.net (Postfix) with ESMTPSA id 6D41C46B4 for ; Mon, 11 Feb 2013 21:44:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=etorok.net; s=MAILOUT; t=1360615494; bh=IgWOYrpKVQpn4RugVsaorcpg8fEy1ue2hYgzd89aVwI=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=rjxOpB/5jN2Edif7lZGf1lLQZMplgOWw2eQqcLiDUDBuXKMzaidIF5VUoE7BrK0y3 G1DaoT927V6xscNHtSx/T3v2KPCP269xzXyq2IWWuhBGygpY5ZzmpMWbQy9sswyCGc grF6YzMxoBQvMZSOv9N1J7HAneCjYnf1i4Ab1b6k= Message-ID: <51195845.2030505@etorok.net> Date: Mon, 11 Feb 2013 22:44:53 +0200 From: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: caml-list@inria.fr References: <20130211211049.63f9393e@alcazar> In-Reply-To: <20130211211049.63f9393e@alcazar> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at mail X-Virus-Status: Clean Subject: Re: [Caml-list] ocamlfind predicates On 02/11/2013 10:10 PM, Maxence Guesdon wrote: > Hello, > > It is now possible to generate dynlink loadable native code files with > extension .cmxs. Is there already a commonly used predicate name in > ocamlfind for these files ? > > Indeed, the "byte" predicate can be used to retrieve .cma and .cmo > files in order to link or load (with dynlink) such libraries and > modules. The "native" predicate can be used to retrieve .cmxa and .cmx > files to link with. But I'm not aware of a commonly used predicate name > for .cmxs files. plugin seems to be the predicate used by the packages that install a cmxs on my system: $ find ~/.opam/4.00.1/lib/ -name META -exec grep -H cmxs {} \;|grep archive|grep plugin | wc -l 73 $ find ~/.opam/4.00.1/lib/ -name META -exec grep -H cmxs {} \;|grep archive|grep -v plugin | wc -l 2 Best regards, --Edwin