[Issue 19760] Windows 10 -m64 undocumented dependency on MSVC ++ Redistributable when linking with LLD

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 29 19:09:00 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19760

--- Comment #27 from kinke at gmx.net ---
(In reply to Jonathan Marler from comment #24)
> In that case updating the dmd windows documentation about
> using the LLD linker is good enough for me.

Wrt. docs, they should mention that it is specific to -m32mscoff/-m64 *and* the
shipped-with MinGW libs, i.e., only if no Visual Studio is installed. LLD as
linker is usable just fine with the MS libs (and in fact way faster than the MS
linker - see the -link-internally speedup in
https://github.com/ldc-developers/ldc/issues/2964#issuecomment-454533092).

(In reply to Rainer Schuetze from comment #26)
> Using the VC2010 DLLs has the advantage that later versions don't make it
> that easy because they require proper manifests.

But I guess the UCRT is more likely already installed nowadays. I don't know
whether DMD requires vcruntime etc. on top like LDC.
The question of default MSVC runtime version for DMD is also relevant for
https://github.com/dlang/installer/pull/346.

--


More information about the Digitalmars-d-bugs mailing list