Browse thread
Trouble with findlib and threads
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-11-21 (21:59) |
From: | Thomas Petazzoni <thomas.petazzoni@e...> |
Subject: | Trouble with findlib and threads |
Hi, [ As I'm not on the list, please Cc: the replies. Thanks ! ] I'm trying to get findlib to work with threads support on a Mandriva 2006 (mainly to compile equeue). For this, I've recompiled the Ocaml compiler with --with-pthread, and then findlib. However, it still doesn't work: [tpetazzoni@thomas tmp]$ cat toto.ml let f a = a + 1 [tpetazzoni@thomas tmp]$ ocamlopt -thread threads.cmxa toto.ml [tpetazzoni@thomas tmp]$ ocamlfind ocamlopt -thread threads.cmxa toto.ml ocamlfind: ocamlopt does not support multi-threaded programs for your configuration I've tested findlib 1.0.4 and 1.1, both with OCaml 3.08.3. Any idea ? Thanks, Thomas -- PETAZZONI Thomas - thomas.petazzoni@enix.org http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni@jabber.dk http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7