Install chocolatey
choco install llvm
choco install mingw
(/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)")
brew install --with-toolchain llvm
brew install gdb
If your distro is not listed then check you package manager for gdb and clang++
sudo apt install clang-11
sudo apt install gdb
yay -S clang
yay -S gdb
or install them manually clang package, gbd package