On Thursday, 22 April 2021 at 09:59:23 UTC, Ferhat Kurtulmuş wrote:
On Thursday, 22 April 2021 at 09:40:51 UTC, Imperatorn wrote:
On Thursday, 22 April 2021 at 07:19:37 UTC, Imperatorn wrote:
[...]

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

Yeah, DMD and LDC supports them, but not G[D|C]C

Reply via email to