From: Thomas Petazzoni <thomas.petazzoni@enix.org>
To: caml-list@inria.fr
Subject: Trouble with findlib and threads
Date: Mon, 21 Nov 2005 22:59:03 +0100 [thread overview]
Message-ID: <20051121225903.0551f20e@crazy.kos.nx> (raw)
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
next reply other threads:[~2005-11-21 21:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 21:59 Thomas Petazzoni [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051121225903.0551f20e@crazy.kos.nx \
--to=thomas.petazzoni@enix.org \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox