3 ms·
There are two interesting aspects to this. The first, which I initially thought was the point, is cross compiling programs for Windows using Mingw-w64 (a fork
by SloopJon 6y ago
There are two interesting aspects to this. The first, which I initially thought was the point, is cross compiling programs for Windows using Mingw-w64 (a fork of MinGW) in a container. Actually, this is just used as a dependable way to build the second, which is a portable archive of a Mingw-w64 development environment; portable in the sense that you extract, add to PATH, and use without any other installation required.
Reading through the previous discussion, I think the biggest consideration for something like this is whether Mingw-w64 suffices for your needs.
https://news.ycombinator.com/item?id=23292161 https://news.ycombinator.com/item?id=23292161
The issue isn't whether the tools are capable enough, but whether they integrate well enough with the platform and any other dependencies your project may have. I'd be interested to hear from people who are using MinGW or Mingw-w64 on purpose. What works well, and what doesn't?
With Visual Studio Community, Microsoft has made its tools broadly accessible. However, if all you want is a compatible linker, this is in a lot of ways a regression from Visual C++ Express, which is no longer offered. Indeed, the compiler and linker used to be bundled in the freely available platform SDK. As someone responsible for testing C and C++ APIs, the licensing and packaging in Visual C++ 2019 will be a much bigger hassle than in previous versions.
- dleslie 6y agoAren't the compiler, linker and build tools still available seperately? They just bundle them differently now. https://devblogs.microsoft.com/cppblog/introducing-the-visual-studio-build-tools/ https://devblogs.microsoft.com/cppblog/introducing-the-visua...
- SloopJon 6y agoWhereas some of the previous packages were freely available, the build tools now require a Visual C++ license, as I understand it. If you aren't eligible for Visual C++ Community, and you don't have Visual C++ Professional (or equivalent), you can't use them.
- asveikau 6y agoNot sure how huge an issue it is, but in the past I noticed that mingw does not support Structured Exception Handling (SEH). I think clang on Windows may have made some progress there. Also I am not sure about certain c++ libraries that are useful for writing COM code, like ATL or its successors.