Install Clang on Windows 10 with MSYS2 MinGW-w64

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • How to install Clang on Windows using the MSYS2 distro.
    Second part of this video (Using Clang from Visual Studio Code):
    • VS Code setup for C an...
    If you prefer to install Clang with Visual Studio 2019, check this video:
    • Install Clang on Windo...
    Install commands used in the video:
    pacman -Syu
    pacman -S mingw-w64-x86_64-clang
    pacman -S nano vim
    Build command example for a C program:
    clang -std=c17 -Wall -Wextra -pedantic test.c -o test
    Build command example for a C++ program:
    clang++ -std=c++17 -Wall -Wextra -pedantic test.cpp -o test

ความคิดเห็น • 29