Install MSYS Environment

One of the most used developer environment on Windows is MSYS, MSYS's MINGW is a Cygwin environment working on Windows, is very easy to setup and as it is an enclosed environment is not affected by other software on your computer.

The most recent information about MSYS is on the official webpage: https://www.msys2.org/ and latest installation instructions are on the site: https://www.msys2.org/wiki/MSYS2-installation/, there you can find lot of information.

The MinGW32 & MinGW64 environments can be used to compile Native Windows binaries using a linux toolchain (gcc, bash, etc.)

In order to install MSYS on your system, you need few steps:
  1. Download the latest version from: https://github.com/msys2/msys2-installer/releases, there you will find several packages, the most easy to use is msys2-x86_64-YYYYMMDD.exe
  2. Execute the msys2-x86_64-YYYYMMDD.exe file
    1711506455952.png
    And accept the default options:
    1711506547508.png

    1711506644951.png

    1711506661424.png

    1711506756284.png

    On the last window, deselect the «Run MSYS2 now» option and and the installation pressing the «Finish» button.
    1711506776132.png
  3. Run the MINGW64 environment from the Start Menu
    1711507135755.png
    1711507158285.png
  4. Once you open the console execute the command pacman -Syuu --needed --noconfirm several times until you get the message: there is nothing to do, is possible what the window close, if is the case, open again the environment and run the command again.
    1711507925796.png

    1711508320858.png
  5. When you end this step you have a full working MSYS environment

Visit the https://www.msys2.org/docs/environments/ URL if you want to know more about the differences between environments.
1711508274036.png
 
Last edited by impeeza,

Slinger

Well-Known Member
Newcomer
Joined
Jun 23, 2016
Messages
96
Trophies
0
Location
$HOME
XP
535
Country
Sweden
Some more tidbits in case anyone finds it interesting: there is also an original msys (not to be confused with msys2), which is part of the MinGW project (not to be confused with mingw-w64): https://osdn.net/projects/mingw/

But all of these are in many ways the "old" version of these tools. Technically the mingw-w64 project was forked from mingw because its maintainers felt uneasy about accepting certain contributions that would add 64-bit support (long history about both principles and legal concerns). The original msys was just a way of providing a UI for mingw (a simple terminal with bash), while msys2 seems to be a whole different beast with its own package manager. A bit too much in my taste, but still probably the best way of accessing the mingw-w64 tools if you are on windows.

Mingw-w64 itself is also available on most gnu/linux distributions, making it possible to cross compile binaries (both 32 and 64 bit) for the poor windows users without having the leave the comfort of a real OS yourself.:P (plus you don't need anything like msys2)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1