How do I use MinGW with MSYS?
It’s easy to configure an MSYS environment for MinGW useage, since there is no overlap in functionality to contend with (as there is with Cygwin). Simply decompress the contents of each archive into directories of your choosing, and add the MinGW “/bin” subdirectory to your PATH (either within MSYS’s ” /etc/profile” or in your overall system PATH). There is no need to add MSYS’s “/bin” to your system PATH. You may install the MinGW and MSYS packages anywhere on your filesystem, even nesting one within the other (creating a ” mingw” subdirectory beneath your “msys” directory, for instance). However, it is important to remember that NO executables other than what ships with MSYS should be placed in the MSYS ” bin” subdirectory. Therefore, do not attempt to “merge” the two packages.