cygwin DLL problem?

Ronald Blaschke ron at rblasch.org
Fri Oct 16 17:47:42 UTC 2009


On 16.10.2009 19:24, Konovalov, Vadim (Vadim)** CTR ** wrote:
>> From: Ronald Blaschke [mailto:ron at rblasch.org] 
>> On 16.10.2009 15:14, Konovalov, Vadim (Vadim)** CTR ** wrote:
>>>> From: Will Coleda [mailto:will at coleda.com] 
>>>> On Fri, Oct 16, 2009 at 6:37 AM, Konovalov, Vadim (Vadim)** CTR **
>>>> <vkonovalov at alcatel-lucent.com> wrote:
>>>
>>> Very strange. Either some sort of fail, or even infinite 
>> loop with 100% CPU usage could be explained... but this I 
>> can't explain.
>>>
>>> Any ideas or bits of knowledge on the matter?
>>
>> This is just a guess, but it sounds like there's some lock involved,
>> probably something to protect the Cygwin core.  I don't think you can
>> use Cygwin libraries safely outside of a Cygwin environment.
> 
> I never heard of that, but the guess is interesting.
> Is it so that I can not use Cygwin-dependant libraries outside cygwin?

Maybe the following sheds some light on the issue:
http://cygwin.com/faq/faq.programming.html#faq.programming.msvs-mingw

Seems like you need to initialize Cygwin yourself, and you're good.

> Anyway, I do not want to use tcl84.dll from cygwin, but it appears that having it in Path makes a program to just stop...

Well, it's called "DLL hell" for a reason. ;-)  I use Cygwin, but I
always keep it completely separate from my regular environment.

Ron


More information about the parrot-dev mailing list