Are there any GDC builds available for Windows?

Ferhat Kurtulmuş aferust at gmail.com
Thu Apr 22 09:59:23 UTC 2021


On Thursday, 22 April 2021 at 09:40:51 UTC, Imperatorn wrote:
> On Thursday, 22 April 2021 at 07:19:37 UTC, Imperatorn wrote:
>> On Thursday, 22 April 2021 at 07:09:01 UTC, Ferhat Kurtulmuş 
>> wrote:
>>> On Thursday, 22 April 2021 at 06:55:05 UTC, Imperatorn wrote:
>>>> On Thursday, 22 April 2021 at 06:31:14 UTC, Ferhat Kurtulmuş 
>>>> wrote:
>>>>> [...]
>>>>
>>>> Did you try running this with the build script pointing to 
>>>> http://github.com/Imperatorn/gcc?
>>>
>>> I did not understand what you mean, I am sorry. If you mean 
>>> if I used your build scripts in gist repo[1], yes.
>>>
>>> 1: 
>>> https://gist.githubusercontent.com/Imperatorn/7d37f22140ea5b2c80dee5a86ffff2a3/raw/761ea945c28586f5c6bbc2e09d93a27383701da8/build.sh
>>
>> Sorry, yes, that's what I meant. I'm currently trying another 
>> branch, I'll report back when I have more information.
>
> Currently these seem to not be correctly linked in libphobos:
> process.d needs shell32.lib
> advapi32.d needs advapi32.lib
> winsock2.d needs ws2_32
> socket.d needs ws2_32.lib and wsock32.lib
>
> Since gcc doesn't support pragma lib we have to fix those (it's 
> used in the sources)

Yes, I saw those definitions in the sources of Phobos and thought 
that they might be the reason. libphobos shouldn't have relied on 
those pragmas. In the current situation, each compiler somehow 
has to support them. I see here[1] that LDC supports them.

https://github.com/ldc-developers/ldc/blob/master/CHANGELOG.md#ldc-1200-2020-02-14


More information about the D.gnu mailing list