Re: [Caml-list] Threads?

2009-04-23 Thread Mark Shinwell
On Thu, Apr 23, 2009 at 12:37:14AM -0700, David McClain wrote: It's been about 5 years since I faced this situation. I'm trying to link my program against the Thread module. Things go well until I do the ocamlopt compilation, then it aborts the make with the message: ocamlfind ocamlopt

RE: [Caml-list] Threads?

2009-04-23 Thread David Allsopp
It's been about 5 years since I faced this situation. I'm trying to link my program against the Thread module. Things go well until I do the ocamlopt compilation, then it aborts the make with the message: ocamlfind ocamlopt -thread -o sdsp.opt   -package camlp4 -package threads -package unix -I

Re: [Caml-list] Building pcre-ocaml on OCaml 3.11.0 on MinGW

2009-04-23 Thread Alain Frisch
Hi David, David Allsopp wrote: I've just had an enlightening few hours getting pcre-ocaml to compile under Windows ... The main thing that's got me puzzled is the renaming of libpcre.dll.a and libpcre.a that I have to do to get the thing to link. Thanks for investigating this issue! The

Re: [Caml-list] Building pcre-ocaml on OCaml 3.11.0 on MinGW

2009-04-23 Thread Gerd Stolpmann
Am Donnerstag, den 23.04.2009, 11:30 +0200 schrieb Alain Frisch: Hi David, David Allsopp wrote: I've just had an enlightening few hours getting pcre-ocaml to compile under Windows ... The main thing that's got me puzzled is the renaming of libpcre.dll.a and libpcre.a that I have to

Re: [Caml-list] ocamlopt debugging options

2009-04-23 Thread Mark Shinwell
On Thu, Apr 23, 2009 at 12:30:31PM +0200, Alexey Rodriguez wrote: Sometimes it is useful to see what is the code produced by ocamlopt in order to assess the performance of programming constructs. It is possible to use -dcmm, but it is difficult to relate ocaml functions to their compiled form

RE: [Caml-list] Building pcre-ocaml on OCaml 3.11.0 on MinGW

2009-04-23 Thread David Allsopp
Hi David, David Allsopp wrote: I've just had an enlightening few hours getting pcre-ocaml to compile under Windows ... The main thing that's got me puzzled is the renaming of libpcre.dll.a and libpcre.a that I have to do to get the thing to link. Thanks for investigating this

Re: [Caml-list] quasiquoting: 3 parsers for camlp4 vs 1 for haskell?

2009-04-23 Thread Nicolas Pouillard
Excerpts from Jon Harrop's message of Thu Apr 23 01:19:09 +0200 2009: On Friday 17 April 2009 19:24:31 Joel Reymont wrote: From the quasiquoting paper by Geoffrey Mainland [1], page 7: The major advantage of our approach over that of camlp4 is that we demonstrate how to use generic

[Caml-list] Ocamlfind query

2009-04-23 Thread Dario Teixeira
Hi, I would like to get the name of the cma associated a findlib package. I expect this to be available via the query command, but running ocamlfind query -l pkg_name always lists the archive as empty. Is there some other option? Best regards, Dario Teixeira

Re: [Caml-list] Ocamlfind query

2009-04-23 Thread Gerd Stolpmann
Am Donnerstag, den 23.04.2009, 08:41 -0700 schrieb Dario Teixeira: Hi, I would like to get the name of the cma associated a findlib package. I expect this to be available via the query command, but running ocamlfind query -l pkg_name always lists the archive as empty. Is there some other

Re: [Caml-list] ok with parallel threads GC (aka ocaml for multicore)

2009-04-23 Thread Philippe Wang
On Sat, Apr 18, 2009 at 1:05 AM, fo...@x9c.fr fo...@x9c.fr wrote: I was indeed mostly worried with the runtime itself. I wanted to have a fully reentrant runtime for the OCaml-Java project (to be able to execute several programs in the very same JVM) and remember that it implied