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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 26 19:48:11 UTC 2019


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

--- Comment #14 from kinke at gmx.net ---
> Are you saying that it's ok that you can't run simple binaries on other machines without putting them inside an installer and including the MSVC C++ Redistribuable runtime in your installer?

It sadly can't be avoided (and the only one to blame being Microsoft) for as
long as druntime and Phobos depend on a C runtime, unless the dev installs
Visual Studio or the Build Tools. Alternatively, just mentioning the MSVC
runtime as prerequisite on the web or in some README might be enough in some
cases.
C# apps come with a .NET framework dependency, Java with JRE, and
C(++)/D/Rust/... usually with the MSVC runtime
(https://stackoverflow.com/questions/52153676/what-is-the-requirements-for-running-a-rust-compiled-program-on-another-windows).
My Windows system with a moderate number of installed programs currently has 15
installed MSVC runtime versions (2005-2017, incl. different subversions).

For LDC, I wrote this in an attempt to clarify that dependency:
https://github.com/ldc-developers/ldc/blob/8f81d0797b7cb4bc44aeb6565366a8d31945b8c4/packaging/README.txt#L10-L18

--


More information about the Digitalmars-d-bugs mailing list