Terms of the offer
My OS is centos which has a default gcc in path /usr/bin/gcc. But it is old, I need a new version of gcc. So I install a new version in a new path /usr/local/bin/gcc. But when I run cmake, it stil... A compiler is, more generally, a program that converts a program in one programming language into a program in another programming language (arguably, you can even have a compiler with the same input and output language if significant transformations are applied). The compilation of a C ++ program involves three steps: Preprocessing: the preprocessor takes a C ++ source code file and deals with the #include s, #define s and other preprocessor directives. The output of this step is a "pure" C ++ file without pre-processor directives. Compilation: the compiler takes the pre-processor's output and produces an object file from it. Linking: the linker takes the object files produced by the compiler and produces either a library or an executable file ... The compilerPath and intelliSenseMode variables serve the purpose of configuring the VSCode editor to provide compilation and IntelliSense services respectively. compilerPath Because VSCode isn't a full IDE by itself, it doesn't ship with the compiler it needs to offer the compilation service. Therefore, it needs to be pointed in the direction of a valid C ++ compiler . That is the purpose of the compilerPath variable. Testing whether or not the path you provided is correct is easy. Copy and ...