3 ms·
cant make a fully static build: https://github.com/ldc-developers/ldc/issues/4499 https://github.com/ldc-developers/ldc/issues/4499
by 38 3y ago
cant make a fully static build:
https://github.com/ldc-developers/ldc/issues/4499 https://github.com/ldc-developers/ldc/issues/4499
- roetlich 3y agoThe link you added directly contradicts you. It says static builds on windows require the Visual++ tools. They aren't that hard to install. This one is on you. If I remember correctly, for certain things rust also needs the visual C++ tools if you're on windows. You might think that installing an additional tool is a mild inconvenience, but "cant make a fully static build" is just wrong.
- 38 3y agothe difference is Rust has a GNU option for Windows, D does not.
- pjmlp 3y agoAny serious system programming will use the OS vendor tooling.
- 38 3y agonope. I am not using visual C++ until they distribute a zip file with the tools, or come up with an installer that doesn't result in 10 GB being dumped on my system. no thanks.
- pjmlp 3y agoIt turns out compiled binary libraries take space, go figure.
- 38 3y agonot 10 GB though. especially when similar options can do it in less than 200 MB: https://github.com/mstorsjo/llvm-mingw/releases https://github.com/mstorsjo/llvm-mingw/releases I would be eager to hear actual data in further replies, rather than guesses.
- pjmlp 3y agoIt isn't similar, does not offer support for all kinds of Windows development.
- 38 3y agoright, I dont want that. If I am using Python with a C plugin, or just compiling a command line C/C++ too, I dont want or need the full Visual Studio experience. and even with the Visual C++ tools or whatever its called, you still end up installing gigabytes of nonsense.
- pjmlp 3y agoIt is not nonsence for doing systems programming in Windows. Apple and Google development SDKs, or any commercial OS, have similar sizes for the SDKs. Doing Python with a C plugin, or just compiling a command line C/C++ isn't really systems programming.
- 38 3y ago> Doing Python with a C plugin, or just compiling a command line C/C++ isn't really systems programming. I care about a minimal set of tools in order to compile C/C++ programs. thats offered by: https://github.com/mstorsjo/llvm-mingw/releases https://github.com/mstorsjo/llvm-mingw/releases and also MSYS2, and even the Zig C compiler. all less than 200 MB. meanwhile Visual Studio installing about 10 GB worth. If Microsoft can offer a similar experience then I am interested.
- pjmlp 3y agoYeah, but that isn't systems programming on Windows.