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
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
    +1
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
    +1
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
  • rqkaiju2 @ rqkaiju2:
    THIS IMAGE IS SO SCARY WTF. THAT SURE AS HELL IS NOT A CAT THATS LIKE A FUCKING DEMON

    Untitled2.png
  • Psionic Roshambo @ Psionic Roshambo:
    Bonus points for running things over with the lawn mower?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Monster truck Lawn Mower extreme
    Psionic Roshambo @ Psionic Roshambo: Monster truck Lawn Mower extreme