[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Solving the Pthreads issue

From: Dmitry Groshev
Subject: Re: [Mingw-cross-env-list] Solving the Pthreads issue
Date: Thu, 6 May 2010 13:50:18 +0400

On Tue, May 4, 2010 at 07:45, Volker Grabsch <address@hidden> wrote:
> This is a very interesting work-around. Thanks for sharing!
> It might be a good way to fix packages that absolutely need
> Pthreads, and could even have a chance to get accepted by the
> respective upstream project.

This isn't a "workaround", but instead *THE* one and only documented
way to use pthreads-win32 as a static library. See here:
section named "Building the library as a statically linkable library".

And because most developers aren't even aware of this issue, the more
prudent solution is to compile pthreads-win32 as a DLL. "Principled"
approach (only static libs!) is all well and good, but not in such
cases when it only causes pain and suffering for project's users.

-= With best regards, Dmitry Groshev =-

reply via email to

[Prev in Thread] Current Thread [Next in Thread]