How to Remove and Reinstall GNU g++ over msys2/mingw on Windows

Published: 10 June 2019
on channel: IQ95 The Homo Siliconiens
3,330
22

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++


Watch video How to Remove and Reinstall GNU g++ over msys2/mingw on Windows online without registration, duration hours minute second in high quality. This video was added by user IQ95 The Homo Siliconiens 10 June 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,330 once and liked it 22 people.