[Issue 19760] Windows 10 -m64 completely broken, can't compile/run hello world

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 25 19:27:30 UTC 2019


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

--- Comment #6 from kinke at gmx.net ---
> Unless the dll is installed by default on all windows systems (i.e. kernel32.dll), dmd should not be forcing a runtime dependency on it.

That's a Windows DLL, not to be confused with their C(++) runtime. I don't know
if there's any MSVC runtime preinstalled on Windows, and if so, which
version(s) (depending on the Windows versions). I do know that the 2015+
runtime is required to cover druntime properly (C99 additions + some relevant
fixes).

It's the same old story, nobody cares that one needs gcc/clang + binutils on
Posix (for linking *and* the libs), but if a bunch of (easily redistributable)
DLLs are required for running generated programs on Windows due to the
restrictive MS license preventing to simply ship with their static libs, people
complain - no offence intended, just an observation.

Also note that Visual Studio defaults to /MD (dynamic runtime, i.e., these
DLLs). So generated binaries also depend on those DLLs (but newer ones, vc100
is VS 2010).

--


More information about the Digitalmars-d-bugs mailing list