jocamlmklib1
Generate libraries with mixed c / caml code.
Usage
ocalmklib [options]
files
Overview
The jocamlmklib command facilitates the construction of libraries containing both Caml code and C code, and usable both in static linking and dynamic linking modes.
Options
-
-h, --help -
Show summary of options.
-
-cclib lib -
C library passed to jocamlc
-aor jocamlopt(1)-aonly.
-
-ccopt opt -
C option passed to jocamlc(1)
-aor jocamlopt(1)-aonly.
-
-custom -
Disable dynamic loading.
-
-dllpath dir -
Add dir to the run-time search path for DLLs.
-
-I dir -
Add dir to the path searched for Caml object files.
-
-failsafe -
Fall back to static linking if DLL construction failed.
-
-ldopt opt -
C option passed to the shared linker only.
-
-linkall -
Build Caml archive with link-all behavior.
-
-llib -
Specify a dependent C library.
-
-Ldir -
Add dir to the path searched for C libraries.
-
-jocamlc cmd -
Use cmd in place of jocamlc(1).
-
-jocamlopt cmd -
Use cmd in place of jocamlopt(1).
-
-o name -
Generated Caml library is named name.cma or name.cmxa.
-
-oc name -
Generated C library is named dllname.so or libname.a.
-
-rpath dir -
Same as
-dllpathdir.
-
-Rdir -
Same as
-rpath.
-
-verbose -
Print commands before executing them.
-
-Wl, -rpath dir -
Same as
-dllpathdir.
-Wl, -rpath -Wl dir-
Same as
-dllpathdir.
-
-Wl, -Rdir -
Same as
-dllpathdir.
-
-Fdir -
Specify a framework directory (MacOSX).
-
-framework name -
Use framework name (MacOSX).