On Tue, Sep 28, 2021 at 02:00:58PM +0200, Kevin Kofler via devel wrote:
Florian Weimer wrote:
> Interesting. Could you provide an example of such a dynamically linked
> binary?
OCaml is interesting in that it does not use standard ELF .so files, but its
own dynamic linking mechanism (those .cma files).
.cma files are metadata for bytecode static linking.
.cmxa files are metadata for native code static linking.
.cmxs files are renamed *.so files and can be used for fully dynamic
linking of OCaml native code.
Other issues make it difficult to ship dynamically linked binaries of
pure OCaml code, so in practice *.cmxs are only used for dlopen-style
dynamic loading.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/