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

--- Comment #6 from [email protected] ---
> 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).

--

Reply via email to