We will remove and reinstall GNU g++ over msys2/mingw on Windows. We will also install Thread Building Block which is required for Parallel Algorithm in g++
How to Update GNU g++/clang++ over msys2/mingw on Windows.
• How to Update GNU g++/clang++ over ms...
1. Remove existing installation of MSYS2.
2. Install msys2/mingw on Windows
https://www.msys2.org/
mkpasswd -u "Thomas Kim" -l greater_than /etc/passwd
3. Install gcc/g++, tbb, and clang++
for g++
pacman -S mingw-w64-x86_64-gcc base-devel
for thread building block
pacman -S mingw-w64-x86_64-intel-tbb
for clang++
pacman -S mingw-w64-x86_64-clang
4. Set System Environment Variables for MSVC/g++/clang++.
http://Extension.TalkPlayFun.com/
MSYS2_DIR C:\DevSoft\msys64
CPP_EXTENSION_DIR
INCLUDE for Microsoft and Intel C++
CPLUS_INCLUDE_PATH for g++/clang++