Beta 2.079.0
Martin Nowak
code at dawg.eu
Tue Feb 20 12:07:58 UTC 2018
On Tuesday, 20 February 2018 at 09:49:07 UTC, Atila Neves wrote:
> How does one keep on using Microsoft's linker? I've tried lld
> on Linux and while some binaries ran fine, others crashed. I
> don't trust it all right now.
>
> Atila
DMD prefers VC's linker if it is installed and will only fallback
to lld-link.exe if no VC installation can be found.
So there is a slight risk of accidentally using lld, when sth. in
the VC detection code fails, but I hope that part is solid enough
by now.
Of course you can manully pick the linker using an env var,
https://github.com/dlang/dmd/blob/38da6c2258c0ff073b0e86e0a1f6ba190f061e5e/src/dmd/link.d#L274, with the possibility to hard-coding the setting in your sc.ini.
What were addressing here is the problem that in order to try D
on Windows you need to go through the 30min. hoop of installing
multi-GiB VC and Win SDK, or live with an outdated object file
format and a hardly maintained linker.
So this should improve the default experience on Windows.
If someone wants to interact with C/C++, chances that VC is
already installed are very high.
More information about the Digitalmars-d-announce
mailing list