From b7efff543e745b601029056b0fafde13c458c7c3 Mon Sep 17 00:00:00 2001 From: Florian Angeletti Date: Tue, 7 Jun 2022 15:44:31 +0200 Subject: manual: threads library require unix --- manual/src/library/libthreads.etex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manual') 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}). -- cgit v1.2.1