caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] [ANN] findlib-1.6.1
@ 2015-12-07 14:54 Gerd Stolpmann
  2015-12-07 14:56 ` Gerd Stolpmann
  0 siblings, 1 reply; 3+ messages in thread
From: Gerd Stolpmann @ 2015-12-07 14:54 UTC (permalink / raw)
  To: caml-list

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-29 16:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-07 14:54 [Caml-list] [ANN] findlib-1.6.1 Gerd Stolpmann
2015-12-07 14:56 ` Gerd Stolpmann
2016-01-29 16:44   ` [Caml-list] [ANN] first official release: DAFT Allows File Transfers Francois Berenger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).