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 <l...@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.