In makefiles what do CC and LD stand for?

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++ compiler
  • AS is an assembly language compiler
  • AR is an archive-maintaining program

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)