On Wed, Apr 24, 2013 at 8:13 AM, Erik van Pienbroek
<erik(a)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.