From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] [ANN] findlib-1.6.1
Date: Mon, 07 Dec 2015 15:54:33 +0100 [thread overview]
Message-ID: <1449500073.3454.26.camel@e130.lan.sumadev.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]
Hi,
there is a new version of findlib for download. The main difference of
findlib-1.6.1 is that the style for specifying plugins changed. Now, use
something like
plugin(byte) = "archive.cma"
plugin(native) = "archive.cmxs"
(instead of archive(byte,plugin) and archive(native,plugin). This change
comes together with a dynamic loader: Fl_dynload. Just call it like
Fl_dynload [ "pkg1"; "pkg2" ]
to load these two packages together with any predecessors into the
running executable. (But see also the comments on the reference page:
http://projects.camlcity.org/projects/dl/findlib-1.6.1/doc/ref-html/lib/Fl_dynload.html)
Note that the old style is also understood, but users are strongly
encouraged to switch to the new style with the plugin variable. The
reason is that the old style is broken in one respect: if there is no
plugin definition at all, findlib would take the cmxa archive instead,
which can never work.
This feature was mainly contributed by François Bobot.
A few other changes:
- new "ocamlfind lint" command for checking META files
(also from François Bobot)
- new %m format for "ocamlfind query" to get the location of
the META file (me)
- new: ocamlfind printconf metapath (me)
- some fixes for Windows (MSYS_NT, spaces in paths) (Christophe
Troestler)
The project page is still at
http://projects.camlcity.org/projects/findlib.html
Gerd
--
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de
My OCaml site: http://www.camlcity.org
Contact details: http://www.camlcity.org/contact.html
Company homepage: http://www.gerd-stolpmann.de
------------------------------------------------------------
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next reply other threads:[~2015-12-07 14:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 14:54 Gerd Stolpmann [this message]
2015-12-07 14:56 ` Gerd Stolpmann
2016-01-29 16:44 ` [Caml-list] [ANN] first official release: DAFT Allows File Transfers Francois Berenger
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=1449500073.3454.26.camel@e130.lan.sumadev.de \
--to=info@gerd-stolpmann.de \
--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