Skip to content

Instantly share code, notes, and snippets.

@avoidik
Last active June 3, 2019 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avoidik/b4166d1dea89c037fb4f466a452a6685 to your computer and use it in GitHub Desktop.
Save avoidik/b4166d1dea89c037fb4f466a452a6685 to your computer and use it in GitHub Desktop.
GCC on Windows with MSYS2

Install mingw using msys2 into c:\Tools\msys64\

  • install msys2
  • execute msys2_shell and then pacman -S mingw-w64-x86_64-gcc to install GCC
  • then perform pacman -S mingw-w64-x86_64-sqlite3 to install sqlite3 native library
  • add c:\Tools\msys64\mingw64\bin to PATH environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment