From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 1B292BC69 for ; Thu, 31 May 2007 07:19:27 +0200 (CEST) Received: from xsmtp1.ethz.ch (xsmtp1.ethz.ch [82.130.70.13]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4V5JPXb025691 for ; Thu, 31 May 2007 07:19:26 +0200 Received: from xfe1.d.ethz.ch ([82.130.124.41]) by xsmtp1.ethz.ch with Microsoft SMTPSVC(6.0.3790.2499); Thu, 31 May 2007 07:19:23 +0200 Received: from [10.0.1.3] ([80.219.210.76]) by xfe1.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.2499); Thu, 31 May 2007 07:19:23 +0200 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <40168660-516C-40A1-AD7D-2963D9566B5A@student.ethz.ch> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: caml-list@yquem.inria.fr From: Kaspar Rohrer Subject: Building a toplevel with threads Date: Thu, 31 May 2007 07:19:20 +0200 X-Mailer: Apple Mail (2.752.3) X-OriginalArrivalTime: 31 May 2007 05:19:23.0273 (UTC) FILETIME=[3FD9E790:01C7A343] X-Miltered: at concorde with ID 465E5ADD.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; toplevel:01 threads:01 toplevel:01 findlib:01 ocaml:01 threads:01 ocamlmktop:01 -thread:01 -custom:01 threading:01 ocaml:01 unbound:01 unix:01 cma:01 cma:01 I'm currently trying to build a toplevel with thread support, but somehow the final executable is missing the Thread module. Findlib is out of question because dynamic loading is not supported on my platform (Intel OS X, OCaml 3.09.3). So what would be the correct way to build a custom toplevel with support for threads? This is what I have so far: ocamlmktop -thread -custom unix.cma threads.cma -o thtop which gives: # Thread.create;; Unbound value Thread.create I'm out of ideas. Regards - Kaspar Rohrer PS: It seems to me like documentation on threading in ocaml is very sparse and somewhat outdated. Or maybe I just missed it?