We will learn how to install clang++, or clang C++ compiler, GNU gcc/g++, or GNU C++ compiler on Windows.
Prerequisites:
How to Install C++ Compiler on Windows (Microsoft Visual Studio 2019)
• How to Install C++ Compiler on Window...
A - Install MSYS2 on Windows
http://www.msys2.org
0. Install MSYS2
1. Change user's home folder path. Remove any blank space in the path name:
mkpasswd -u "Thomas Kim" -l greater_than /etc/passwd
2. Update package database
$ pacman -Syu
3. close then restart
$ pacman -Su
4. $ pacman -S git global
5. $ pacman -S git
6. $ pacman -S git mingw-w64-x86_64-gcc base-devel
7. $ pacman -S mingw-w64-x86_64-clang base-devel
8. close then restart
$ pacman -Su
signature from "Alexey Pavlov (Alexpux) [email protected]" is invalid
rm -f /var/lib/pacman/sync/*
pacman -Syu
B - Environment (Path) Settings
MSYS2_DIR C:\DevSoft\msys64
%MSYS2_DIR%\mingw64\bin
%MSYS2_DIR%\usr\bin
Watch video Install MSYS2, clang++, GNU GCC/g++ on Windows online without registration, duration hours minute second in high quality. This video was added by user IQ95 The Homo Siliconiens 02 April 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,931 once and liked it 53 people.