diff options
author | Florian Angeletti <florian.angeletti@inria.fr> | 2022-06-07 15:44:31 +0200 |
---|---|---|
committer | Florian Angeletti <florian.angeletti@inria.fr> | 2022-06-07 15:44:31 +0200 |
commit | b7efff543e745b601029056b0fafde13c458c7c3 (patch) | |
tree | fc8bf5323ac4b74196184b848f6e76a7527070d5 /manual | |
parent | 47f313ec71992e5febd322492d1635ffe710ea8e (diff) | |
download | ocaml-b7efff543e745b601029056b0fafde13c458c7c3.tar.gz |
manual: threads library require unix
Diffstat (limited to 'manual')
-rw-r--r-- | manual/src/library/libthreads.etex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/src/library/libthreads.etex b/manual/src/library/libthreads.etex index 50173a21e2..e05a44690e 100644 --- a/manual/src/library/libthreads.etex +++ b/manual/src/library/libthreads.etex @@ -20,8 +20,8 @@ overlapping I/O operations. Programs that use threads must be linked as follows: \begin{alltt} - ocamlc -I +threads \var{other options} unix.cma threads.cma \var{other files} - ocamlopt -I +threads \var{other options} unix.cmxa threads.cmxa \var{other files} + ocamlc -I +unix -I +threads \var{other options} unix.cma threads.cma \var{other files} + ocamlopt -I +unix -I +threads \var{other options} unix.cmxa threads.cmxa \var{other files} \end{alltt} Compilation units that use the "threads" library must also be compiled with the "-I +threads" option (see chapter~\ref{c:camlc}). |