caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Trouble with findlib and threads
@ 2005-11-21 21:59 Thomas Petazzoni
  2005-11-22 10:54 ` [Caml-list] " Gerd Stolpmann
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2005-11-21 21:59 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-11-23 12:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-21 21:59 Trouble with findlib and threads Thomas Petazzoni
2005-11-22 10:54 ` [Caml-list] " Gerd Stolpmann
2005-11-22 10:59   ` Thomas Petazzoni
2005-11-22 11:15   ` Thomas Petazzoni
2005-11-23  8:56     ` Gerd Stolpmann
2005-11-23  9:04       ` Stefano Zacchiroli
2005-11-23 12:07         ` Gerd Stolpmann
2005-11-23  9:06       ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).