From: "Török Edwin" <edwin+ml-ocaml@etorok.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlfind predicates
Date: Mon, 11 Feb 2013 22:44:53 +0200 [thread overview]
Message-ID: <51195845.2030505@etorok.net> (raw)
In-Reply-To: <20130211211049.63f9393e@alcazar>
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
prev parent reply other threads:[~2013-02-11 20:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-11 20:10 Maxence Guesdon
2013-02-11 20:44 ` Török Edwin [this message]
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=51195845.2030505@etorok.net \
--to=edwin+ml-ocaml@etorok.net \
--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