MSYS2 makes Windows be less of a special case for C/C++ software development. You can use all your favorite build tools from Linux, and there is a large and growing library of software you can install with the package manager. It's easy to contribute your own packages or improve existing ones by making pull requests to here:<p><a href="https://github.com/Alexpux/MINGW-packages" rel="nofollow">https://github.com/Alexpux/MINGW-packages</a>
How are packages authenticated? I did an evaluation a couple of months ago but decided to drop it when I saw that packages where being pulled over plain HTTP and seemingly no authentication was being preformed.<p>For software build systems - my use case - this type of security lapse is a deal breaker.
Cygwin's got some issues about portability, IMHO. When a Cygwin application is run from a shell & terminal emulator other then Cygwin's defaults it throws up an error like:<p>"cygheap base mismatch detected - 0x612F7400/0x612FB400
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version <i>should</i> reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
Segmentation fault"<p>It's almost like they're coupled to some particular shell and some particularly configured terminal emulator (Mintty). Cygwin is the historical leader of Linux on Windows but that limitation is never desirable.<p>MSYS and MSYS2 don't seem to have such a limitation and that's nice.
So am I understanding this correctly, but this is not a compatibility layer where we can run native linux applications on windows, instead it's like cygwin where we can run ported applications, only this one uses pacman for distribution of packages?
Yeah, +1 for this project. Using it to compile cross-platform software (Heimdall) on Windows. Saves me maintaining two project files. Pair this with CLion and you've got yourself a complete cross-platform workflow.
if you already have Linux or OS X running, but just want to compile some stuff for Windows then I'd recommend looking into <a href="http://mxe.cc" rel="nofollow">http://mxe.cc</a>
Looks like there are two gcc versions, one is msys/gcc which is 4.9 and the other is mingw gcc which is 5.3. For a person like me who doesn't know anything about the differences between cygwin/mingw/msys etc. this is a little bit confusing.
I love this project. At work we had to make our software run on Windows and MSYS2 makes it feel you're not that far from your confort zone.<p>Maintainers are really helpful when I sent patches and on IRC, and the software has been running stable for over a year now.<p>Rock on folks!
More GNU software taking over windows is a good thing. Especially when it painlessly handles package management. If I'm ever forced to use a windows machine for work, I'll make sure to install this first.
how does this compare to the bash emulation that comes with git for windows?
<a href="https://git-for-windows.github.io/" rel="nofollow">https://git-for-windows.github.io/</a>
Msys2 is a fantastic project with a lot of packages. It saved the day when compiling H3D and even Hugin.<p>It is a pitty it cannot build latest Abiword/Gnumeric yet. But we have Cygwin for this.<p>In any case it is a very serious addition to Windows ecosystem and people should start rethinking using Visual Studio which provides no pre-compiled libraries or package management.<p>However, one ca get a descent alternative development environment by using<p>msys2/tdm-x64 and fedora precompiled packages.