Are there any GDC builds available for Windows?

Ferhat Kurtulmuş aferust at gmail.com
Tue Apr 20 09:48:01 UTC 2021


On Sunday, 11 April 2021 at 19:15:18 UTC, Ferhat Kurtulmuş wrote:
> On Sunday, 11 April 2021 at 18:32:19 UTC, Imperatorn wrote:
>> On Saturday, 10 April 2021 at 15:08:56 UTC, Ferhat Kurtulmuş 
>> wrote:
>>> On Saturday, 10 April 2021 at 13:02:36 UTC, Ferhat Kurtulmuş 
>>> wrote:
>>>> [...]
>>>
>>> Here are the command and the output.
>>>
>>> https://controlc.com/a0968e90
>>
>> Thanks, what can we do to reproduce this? Just try do anything 
>> socket-related?
>
> The server code in Adam's socket tutorial:
> http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html#server
>
> ```d
> gdc test.d -o test-L/opt/mingw64/x86_64-w64-mingw32/lib 
> -lws2_32 -lwsock32
>
> ./test
> ```
>
> Looks like a name mangling problem. I don't know.

The only working solution is explicitly providing all library 
files and the source as inputs.

```gdc main.d libgdruntime.a libgphobos.a libwsock32.a 
libws2_32.a -o main```


More information about the D.gnu mailing list