
#   export MSYS=winsymlinks:lnk
#   tar -xzf linux_headers.tar.gz


# 一次可以安装一个或多个软件
pacman -S --noconfirm mingw-w64-x86_64-git   openssh diffutils  make pkg-config yasm nasm mingw-w64-x86_64-toolchain base-devel autoconf automake libtool m4 gettext pkg-config unzip help2man
pacman -S --noconfirm sshpass openssh
pacman -S --noconfirm  mingw-w64-x86_64-git
git config --global http.proxy http://127.0.0.1:7897
git config --global https.proxy http://127.0.0.1:7897
pacman -S --noconfirm fixdep


pacman -S diffutils # ffmpeg cmp命令
pacman -S make # 安装GNU make
gcc -v # 查看 gcc 版本




pacman -Qs pkgkeyname 关键字检索已安装的包



# 一些路径


C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvarsall.bat

call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvarsall.bat" x64

D:/wyc/Environment/msys64/usr/bin/bash.exe -l -c
D:/wyc/Environment/msys64/msys2_shell.cmd


D:/wyc/Environment/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64 -c "/usr/bin/bash /c/wyc/CLionProjects/plantSunCat/0_cmake_library/cached_external_library/build_GNU.bash"



教程地址
https://blog.csdn.net/bank_dreamer/article/details/147988810


