title: How to obtain older versions of packages using MSYS2?
body: <p>I decided to try CLion for Windows, which recommends either MinGW or Cygwin for compilation.</p>
  
  <p>I installed the <a href="http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/">MSYS2</a> package manager into the default folder, <code>C:\msys64</code>, updated it by running <code>update-core</code> and <code>pacman -Su</code>.</p>
  
  <p>I then downloaded the MinGW64 package using <code>pacman -S mingw-w64-x86_64-gcc</code>, which has been placed into <code>C:\msys64\mingw64</code>.</p>
  
  <p>The problem is, <code>pacman -S mingw-w64-x86_64-gcc</code> currently downloads the version 5.0, which is not yet supported by CLion.</p>
  
  <p>Does MSYS2 support installing older versions of packages (the MinGW version <code>4.9.2</code> should work just fine)? I tried searching for the MinGW packages using <code>pacman -Ss mingw</code>, but the list is incredibly long and as I haven't worked with MinGW before, I really do not know what to choose.</p>