How to Check C++ Toolset ( g++ Compiler, gdb debugger ) is Properly Installed in the Computer

Опубликовано: 09 Май 2026
на канале: My Code Tutorials
448
1

In this video, we will guide you through the process of checking whether a C++ compiler and debugger are properly installed and configured on your computer.

We will begin by opening the terminal or command prompt and typing in the command g++ --version to check if the C++ compiler, specifically g++, is installed. If the version number appears, it means the compiler is properly set up. If not, we’ll explain what to do next.

Next, we will check if the C++ debugger, GDB, is installed by typing gdb --version. If you see the version number, it means the debugger is installed. If there is an error, it indicates that the debugger is missing.

If you don’t have the C++ compiler or debugger installed, and you want to set them up, I’ve already made a tutorial to help you install the latest version of the C++ toolset. Checkout :    • How to Install C/C++ Toolset (GCC G++  GDB...