Proposal: winpthreads support for Fedora 20

NightStrike nightstrike at gmail.com
Mon Apr 29 14:17:55 UTC 2013


On Wed, Apr 24, 2013 at 8:13 AM, Erik van Pienbroek
<erik at vanpienbroek.nl> wrote:

> However there is one big downside to this. Once we tell gcc to use
> winpthreads (or better said: the configure flag --enable-threads=posix)
> it will cause all binaries which are built using this compiler to
> automatically depend on the winpthreads shared library (DLL). Even when
> you build a simple 'hello world' you'll also need to redistribute the
> winpthreads DLL along with your program to be able to execute it.

Is there a runtime switch to gcc that tells it not to link in
winpthreads?  It seems kind of silly to have to link to a threading
library when you aren't using threads.


More information about the mingw mailing list