Skip to content

antlafarge/cpp-tools

Repository files navigation

cpp-tools

Set of cpp tools

Sub-Projects

Visual studio code C++ installation

https://code.visualstudio.com/docs/cpp/config-mingw

  • Download and install MSYS2
  • In MSYS2 command shell :
    • Run pacman -Syu
    • restart MSYS2 from "C:\msys64\msys2.exe"
    • Re-run pacman -Syu
    • Run pacman -S --needed base-devel mingw-w64-x86_64-toolchain
  • Add C:\msys64\mingw64\bin to your PATH environment variable
  • Restart shells
  • Test
    • g++ --version
    • gdb --version

WSL 2

  • Run wsl --install -d Ubuntu in powershell (elevated)
  • Reboot Windows
  • Fill in Ubuntu credentials
  • Full update Ubuntu sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y
  • Install g++ sudo apt install g++ -y
  • Install g++ (for ppc64) sudo apt install g++-powerpc64-linux-gnu qemu-user -y
  • Test
    • g++ --version
    • powerpc64-linux-gnu-g++ --version

Default G++ STD version

g++ -dM -E -x c++ /dev/null | grep -F __cplusplus

Releases

No releases published