Skip to content

Instantly share code, notes, and snippets.

@avoidik
Created June 25, 2017 11:51
Show Gist options
  • Save avoidik/98b38a3bd374dd3a4d4ca487e47ddbc2 to your computer and use it in GitHub Desktop.
Save avoidik/98b38a3bd374dd3a4d4ca487e47ddbc2 to your computer and use it in GitHub Desktop.
mingw toolchain

To install the MinGW toolchain (Reference):

  • Open MSYS2 shell from start menu
  • Run pacman -Sy pacman to update the package database
  • Re-open the shell, run pacman -Syu to update the package database and core system packages
  • Re-open the shell, run pacman -Su to update the rest
  • For 32-bits, run pacman -S mingw-w64-i686-toolchain
  • For 64 bits, run pacman -S mingw-w64-x86_64-toolchain
  • Select which package to install, default is all
  • You may also need make, run pacman -S make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment