summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/src/library/libthreads.etex4
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}).