Version française
Home     About     Download     Resources     Contact us    
Browse thread
godi and threads???
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: manfred <manfred.lotz@a...>
Subject: Re: godi and threads???
On Fri, 14 Apr 2006 18:57:59 +0200, Gerd Stolpmann wrote:

> Am Freitag, den 14.04.2006, 11:18 +0200 schrieb manfred:
>> Hi there,
>> I installed godi and tried to build ocaml-http when I got
>> 
>>   ocamlfind: ocamlopt does not support multi-threaded programs for 
>>   your configuration
>> 
>> during the build process.
>> 
>> In ~/godi/lib/ocaml/std-lib/Makefile.config I have
>> OCAML_THREADS=vm
>> 
>> In ~/godi/lib/ocaml/std-lib/Makefile.config   I have
>> SYSTHREAD_SUPPORT=false
>> 
>> I'm running FreeBSD 6.1 Prerelease.
>> 
>> Changing any of those values didn't help.
>> 
>> Any idea?
> 
> Yes.
> 
> In the current GODI release, pthreads are turned off for FreeBSD. The
> reason is poor support by FreeBSD, which only has a user-level pthread
> implementation. Due to the O'Caml architecture, this even harmed
> single-threaded applications.
> 
> In recent tests, things have become better, and it is likely that we
> will again allow multi-threading at the user's option.
> 

I see. This means that in order to get ocaml-http installed I need to
tweak its makefile. Or do I have any other option?



-- 
Thanks,
Manfred