On 8. 3. 2015 3:39, David Marceau wrote:
> I read the intro to msy2 on your wikipage.

First, I want to know if this explanation helps:

Cygwin provides a lot of packages allowing (and with the goal of) easy building 
of POSIX software on Windows. It also provides few packages (mingw-w64-*) 
additionally allowing building of native Windows software, but it's not really 
important to them. Imagine MSYS2 is a Cygwin with swapped priorities. Our goal 
is easy building of native Windows software and we have a lot of packages 
there, but we also (need to) have some packages for building POSIX software, 
but it's important for us to expand these repositories.

I'd really like to know your feedback on this paragraph. If it did help, I'll 
include it on the wiki. Direct answers below.
 
>> "MSYS2 doesn't intend to compete with Cygwin or duplicate their >efforts."
> 
> It seems that the MSYS2 team is encouraging me to also install cygwin on
> my windows os alongside my MSYS2 installation.  Is that what I should
> interpret from the above statement?

If you need it, yes.

> Why should I have both msys2 and
> cygwin installed together?  What's the benefit over simply installing msys2?

Cygwin provides a massive package repository, including a lot of software that 
is hard to port to native Windows (i.e. mingw-w64). The idea is that the 
POSIX-emulated part of MSYS2 is just a necessary evil to allow compiling native 
software. Even if it was not the case though, since MSYS2 isn't just a clone of 
Cygwin (differences in the runtime, different package manager), we can't simply 
use their repository nor we can easily use their build recipes to build our 
own. A single project combining the strengths of both Cygwin and MSYS2 would be 
awesome, but that's distant, possibly unattainable future.

> I am confused because both msys2 and cygwin provide the gnu compiler
> collection helping linux developers to code just once and simply compile
> again for windows os'(32-bit or 64-bit) binaries.

I assume you mean the POSIX-enabled gcc. In that case, my answer is that MSYS2 
provides this toolchain, but doesn't encourage its use. The set of available 
library packages for this subsystem is very small to really allow "simply 
compiling again for Windows" anyway.

-- 
David Macek

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to