On Tue, Nov 25, 2008 at 08:36:28PM +0100, Daniel Bünzli wrote:
To make it easy to do this for a module or a library would it be
possible to add a new default %.cmxs target in ocamlbuild before
3.11 is released (or is it already too late) ?
Good idea. ... even though I doubt in practice it
Hi,
To make it easy to do this for a module or a library would
it be possible to add a new default %.cmxs target in
ocamlbuild before 3.11 is released (or is it already too
late) ?
Good point. It shouldn't be too late, since the changes are
minimal and 3.11 is only at RC1 status...
Cheers,
On Fri, Nov 21, 2008 at 11:29:12AM -0800, Dario Teixeira wrote:
Therefore, the life of Ocsigen users would be greatly simplified if
library writers and packagers (GODI, Debian, Fedora, etc) would add
this little extra step of generating cmxs for each cmxa. This
request only makes sense for
I think I'm missing something here. From the doc of Dynlink :
No facilities are provided to access value names defined by the
unit. Therefore, the unit must register itself its entry points with
the main program, e.g. by modifying tables of functions.
Thus just generating a cmxs for a
On 11/22/2008 4:00 PM, Daniel Bünzli wrote:
Thus just generating a cmxs for a module won't allow you to use it
dynamically. You'll need support from the module no ?
Well, if your program is only composed of .cmxs plugins (libraries +
your own program), then you can have a generic driver that
Hi,
As you are probably aware, the upcoming 3.11 release includes
Alain Frisch's native dynlink patches. AFAIK, you cannot
directly dynlink a cmxa or cmx file like you would do in
bytecode with cma or cmo files. Beforehand, a native code
binary must be made into a plugin via ocamlopt's -shared
Does ocamlfind support any of this? Since I'm now also cross-
compiling OCaml, I've certainly come to appreciate findlib more than
ever.
Rich.
--
Richard Jones
Red Hat
___
Caml-list mailing list. Subscription management:
Hi,
Does ocamlfind support any of this? Since I'm now also
cross-compiling OCaml, I've certainly come to appreciate
findlib more than ever.
Indeed it does. The current version of Ocsigen already
makes use of this feature. However, because very few
(none, actually, other than Ocsigen's)
On 22 November 2008 01:20 Jon Harrop wrote:
On Friday 21 November 2008 23:45:34 Dario Teixeira wrote:
Hi,
Does ocamlfind support any of this? Since I'm now also
cross-compiling OCaml, I've certainly come to appreciate
findlib more than ever.
Indeed it does. The current version