Yahoo Canada Web Search

Search results

  1. We have the MinGW-W64 that is a fork of MinGW that supports those features and I was wondering, which one to use? Knowing that GCC is one of the most used C++ compilers. Or it's better to use the MSVC (VC++) on Windows and GCC on Linux and use CMake to handle with the independent compiler?

  2. Some software only supports MSVC on Windows (e.g. CPython, including native modules) so you may have to use it. The only advantage is that you get a statically-linked CRT — versus linking against an old msvcrt.dll per Mingw-w64 — though historically Microsoft's UCRT has been kind of buggy, and those bugs then get baked into your binaries.

  3. MinGW because it's the closest to GCC and gives me a good indication of whether or not my code will compile cross-platform without having to wait for the build system. My code has to run on OSX, Linux and Windows. Visual C++ because it often has higher performance with math calculations than MinGW. It's often comparable to GCC on Linux though.

  4. Apr 22, 2016 · MSVC is doing the compilation job significantly faster than MinGW-w64. The DLL sizes are comparable, if optimization is set to "-O2" for MinGW-w64, with "-O3" the DLLs from MinGW-w64 are larger. Binary files compiled with MinGW-w64 are performing significantly better than those compiled with MSVC.

  5. Yes, IMO your best option on Windows is to stick with MSVC or ABI compatible compilers. As for missing out on the 'new and shiny stuff', if you're just learning the new things then you can just stick to learning what MSVC supports and you won't be bothered.

  6. MSVC is doing the compilation job significantly faster than MinGW-w64. The DLL sizes are comparable, if optimization is set to "-O2" for MinGW-w64, with "-O3" the DLLs from MinGW-w64 are larger. Binary files compiled with MinGW-w64 are performing significantly better than those compiled with MSVC.

  7. People also ask

  8. Nov 5, 2024 · This means that the msvc target will effectively only work when the host system is Windows (and the host system needs the SDK/MSVC files installed separately from Zig). MinGW (which is what the gnu ABI means when targeting Windows) is an effort to provide those same headers/libraries (in terms of ABI-compatibility) that can actually be ...

  1. People also search for