How to Install C and C++ compiler ( gcc g++ gdb ) on Windows 11 using mingw and msys2
Learn how to install MinGW-w64 toolset gcc g++ gdb for developing C and Cpp programs on windows 11 computer using msys2 Software Distribution and Building Platform. #cprogramming #cpp #cppprogramming
? Get MSYS2 from their official website: https://www.msys2.org/
? Follow these commands:
1️⃣ Run: pacman -Syu
2️⃣ Run: pacman -Su
3️⃣ Run: pacman -S mingw-w64-x86_64-gcc
4️⃣ Run: pacman -S mingw-w64-x86_64-gdb
?To compile a C file use this command:
gcc test.c -o test
? For compiling a C++ file, use:
g++ test.cpp -o test
0:00 Introduction
0:37 Install MSYS2
1:49 Upgrade MSYS2
3:05 Install gcc
4:13 Install gdb
4:55 Set enviroment path
6:50 Testing
? Get started with C and C++ programming on your Windows 11 machine and enjoy the process! ??
Видео How to Install C and C++ compiler ( gcc g++ gdb ) on Windows 11 using mingw and msys2 автора Программистский Класс
Видео How to Install C and C++ compiler ( gcc g++ gdb ) on Windows 11 using mingw and msys2 автора Программистский Класс
Информация
2 декабря 2023 г. 5:00:03
00:08:23
Похожие видео