Usage: ocamlmklib [options] <.cmo|.cma|.cmx|.ml|.mli|.o|.a|.obj|.lib|.dll|.dylib files> Options are: -args Read additional newline-terminated command line arguments from -args0 Read additional null character terminated command line arguments from -cclib C library passed to ocamlc -a or ocamlopt -a only -ccopt C option passed to ocamlc -a or ocamlopt -a only -custom Disable dynamic loading -g Build with debug information -dllpath Add to the run-time search path for DLLs -F Specify a framework directory (MacOSX) -framework Use framework (MacOSX) -help Print this help message and exit --help Same as -help -h Same as -help -I Add to the path searched for OCaml object files -failsafe fall back to static linking if DLL construction failed -ldopt C option passed to the shared linker only -linkall Build OCaml archive with link-all behavior -l Specify a dependent C library -L Add to the path searched for C libraries -ocamlc Use in place of "ocamlc" -ocamlcflags Pass to ocamlc -ocamlopt Use in place of "ocamlopt" -ocamloptflags Pass to ocamlopt -o Generated OCaml library is named .cma or .cmxa -oc Generated C library is named dll.so or lib.a -rpath Same as -dllpath -R Same as -rpath -verbose Print commands before executing them -v same as -verbose -version Print version and exit -vnum Print version number and exit -Wl,-rpath, Same as -dllpath -Wl,-rpath -Wl, Same as -dllpath -Wl,-R Same as -dllpath