* Findlib 1.1 released
@ 2005-11-01 1:38 Gerd Stolpmann
0 siblings, 0 replies; only message in thread
From: Gerd Stolpmann @ 2005-11-01 1:38 UTC (permalink / raw)
To: caml-list
Hi list,
I just managed to get a new version of findlib released. It works now
perfectly (hopefully) with O'Caml 3.09, and you can use all 3.09
command-line arguments.
There are also a number of improvements triggered by discussions:
- The check whether a package is already installed has been
relaxed. In particular, the destination directory may already
exist. It is, however, still not allowed to overwrite files
when packages are installed.
- One can declare files as optional when installing a package.
- One can patch the META file when installing a package.
Currently, there are three types of patches: The version
string can be overwritten. Subpackages can be removed.
Archive references can be removed when the corresponding
files do not exist.
Especially the latter is still experimental because it is
unclear whether it improves anything. The resulting META
file may be broken.
- There is an exists_if variable in META. The idea is to
disable subpackages when a certain file does not exist,
e.g.
package "foo" (
exists_if = "foo.cma"
archive(byte) = "foo.cma"
)
If this package is only optionally built, the exists_if
variable may hide the package.
- The may be a directory with findlib configuration snippets.
If you have findlib.conf.d and put *.conf files into it,
these files will be read.
This is to be used in conjunction with the following...
- It is now possible to drive patched compilers. Assume you
have ocamlc-mypatch which is binary compatible with ocamlc.
It is now possible to use the patched compiler instead of
the regular one with ocamlfind.
First, you need to define the patched toolchain. Use this
in findlib.conf:
ocamlc(mypatch) = "ocamlc-mypatch"
(This works with all findlib.conf parameters.)
Second, you can select this toolchain by:
ocamlfind -toolchain mypatch ocamlc ...
Note that the -toolchain argument is before the command
name.
One should put the toolchain definition into its own
mypatch.conf file for easier installation.
There are also a number of bugfixes.
See http://www.ocaml-programming.de/packages/documentation/findlib/
for documentation and links. See
http://www.ocaml-programming.de/packages/
for downloads.
Gerd
--
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de
Telefon: 06151/153855 Telefax: 06151/997714
------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-01 1:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-01 1:38 Findlib 1.1 released Gerd Stolpmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox