Adding support for mingw-w64 and winpthread
Vincent R via D.gnu
d.gnu at puremagic.com
Wed Mar 30 05:05:27 PDT 2016
On Wednesday, 30 March 2016 at 11:44:41 UTC, Johannes Pfau wrote:
> Am Wed, 30 Mar 2016 08:27:27 +0000
> schrieb Vincent R <lol at dlang.org>:
>
>> [...]
>
> Known problem, I'll probably push a fix to master for this
> soon. Linking -lws2_32 -lwsock32 is the correct workaround, but
> the libraries must be specified in the correct order regarding
> libphobos IIRC.
>
> Try
> gdc -nophoboslib -lws2_32 -lwsock32 -lgphobos2
> or
> gdc -nophoboslib -lgphobos2 -lws2_32 -lwsock32
>
> One of these should work ;-)
Thanks the second option works.
More information about the D.gnu
mailing list