Trying to generate gdc for mingw-w64(x86 and x64) using msys2

Johannes Pfau via D.gnu d.gnu at puremagic.com
Thu Nov 5 12:26:25 PST 2015


Am Thu, 05 Nov 2015 18:42:32 +0000
schrieb Vincent R <lol at dlang.org>:

> On Thursday, 5 November 2015 at 14:27:20 UTC, Vincent R wrote:
> > [...]  
> 
> I tried to add a version(MinGW) inside core.sys.posix.sys.types 
> to just declare pthread_key_t but it didn't work because I still 
> have exactly the same error.
> So am I supposed to do ?

Porting druntime to use the posix thread model for MinGW could be quite
some work.

A simpler option is to simply build with the win32 thread model. Try to
configure gcc with --enable-threads=win32



More information about the D.gnu mailing list