Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-pthread is not supported by ocamlmklib #5151

Closed
vicuna opened this issue Sep 19, 2010 · 0 comments
Closed

-pthread is not supported by ocamlmklib #5151

vicuna opened this issue Sep 19, 2010 · 0 comments

Comments

@vicuna
Copy link

vicuna commented Sep 19, 2010

Original bug ID: 5151
Reporter: @Chris00
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-03-24T14:01:42Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.0
Fixed in version: 3.12.1+dev
Category: documentation

Bug description

Contrarily to what the documentation says http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html#toc146, -pthread is not anymore supported by ocamlmklib.

Additional information

$ ocamlmklib -pthread
Unknown option -pthread
$ ocamlmklib -h
Usage: ocamlmklib [options] <.cmo|.cma|.cmx|.cmxa|.ml|.mli|.o|.a|.obj|.lib|.dll files>
Options are:
-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
-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 Caml object files
-failsafe fall back to static linking if DLL construction failed
-ldopt C option passed to the shared linker only
-linkall Build Caml 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"
-ocamlopt Use in place of "ocamlopt"
-o Generated Caml 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant