DOKK / manpages / debian 10 / ocaml-nox / ocamlmklib.1.en
OCAMLMKLIB(1) General Commands Manual OCAMLMKLIB(1)

ocamlmklib - generate libraries with mixed C / Caml code.

ocalmklib [options] files

The ocamlmklib command facilitates the construction of libraries containing both Caml code and C code, and usable both in static linking and dynamic linking modes.

Show summary of options.
C library passed to ocamlc -a or ocamlopt(1) -a only.
C option passed to ocamlc(1) -a or ocamlopt(1) -a only.
Disable dynamic loading.
Add dir to the run-time search path for DLLs.
Add dir to the path searched for Caml object files.
Fall back to static linking if DLL construction failed.
C option passed to the shared linker only.
Build Caml archive with link-all behavior.
Specify a dependent C library.
Add dir to the path searched for C libraries.
Use cmd in place of ocamlc(1).
Use cmd in place of ocamlopt(1).
Generated Caml library is named name.cma or name.cmxa.
Generated C library is named dllname.so or libname.a.
Same as -dllpath dir.
Same as -rpath.
Print commands before executing them.
Same as -dllpath dir.
Same as -dllpath dir.
Same as -dllpath dir.
Specify a framework directory (MacOSX).
Use framework name (MacOSX).

ocamlc(1), ocamlopt(1).

This manual page was written by Samuel Mimram <samuel.mimram@ens-lyon.org>, for the Debian project (but may be used by others).

August 19, 2004