From 33728ad57de0799c32cad1dc3ce642e6b2476d79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?=
C:\> C:\msys64\usr\bin\bash - C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syu"
After following these instructions, you can install GNU Make,
Git and any other required softwares. From an MSYS2 shell,
you can call pacman
directly:
$ pacman -S git make
You can use pacman -Ss
to search packages. For example,
-to find all packages related to GCC:
$ pacman -Ss gcc
You can also run commands under the MSYS2 environment from +to find all packages related to GCC:
$ pacman -Ss gcc
If you are going to compile C/C++ code, you will need to +install this package, as Erlang.mk cannot use the normal +"gcc" package:
$ pacman -S mingw-w64-x86_64-gcc
You can also run commands under the MSYS2 environment from the Windows command line or batch files. This command will install GNU Make and Git:
C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S git make"
You can use similar bash
commands if you need to run programs
inside the MSYS2 environment from a batch file.