In makefiles what do CC (compiler) and LD (linker) stand for?
C in CC is probably compiler, what is the other C?
And L in LD is probably linker, what does the D stand for?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Names of these variables originate from names of the corresponding tools. Usually the meaning of these abbreviations is the following:
CCstands for “C compiler” (in GCC abbreviation it is also treated as “compiler collection”).LDis a linker (comes from “link editor” or from “loader”).These are also commonly used in makefiles (see Implicit variables chapter of GNU Make manual):
CPPstands for “C preprocessor”CXXis a C++ compilerASis an assembly language compilerARis an archive-maintaining program