[
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: | -- (:) |
| From: | Ralf Treinen <treinen@f...> |
| Subject: | Re: [Caml-list] Building a toplevel with threads |
On Thu, May 31, 2007 at 07:19:20AM +0200, Kaspar Rohrer wrote: > 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 have seen this before. Try calling your toplevel as "thtop -I +threads". -Ralf.