Names of these variables originate from names of the corresponding tools. Usually the meaning of these abbreviations is the following:
CC
stands for “C compiler” (in GCC abbreviation it is also treated as “compiler collection”).LD
is a linker (comes from “link editor” or from “loader”).
These are also commonly used in makefiles (see Implicit variables chapter of GNU Make manual):
CPP
stands for “C preprocessor”CXX
is a C++ compilerAS
is an assembly language compilerAR
is an archive-maintaining program