Next:
File types
Up:
The building process
Previous:
The building process
Contents
Compilation and linking
The translation process from C++ code to executable is called
building
, carried out in two stages:
compilation
: production of an intermediate object file (
.o
) with unresolved external symbols
linking
: resolve external symbols by reading code from standard and user-defined libraries
int
getReturnValue(void)
;
int main() {
int ret = 0;
ret =
getReturnValue()
;
return ret;
}
main: 0010 1101 ...
getReturnValue
Leo Liberti 2008-01-12