Link time
From Wikipedia, the free encyclopedia
In computer science, link time refers to either the operations performed by a linker (ie, link time operations) or programming language requirements that must be met by compiled source code for it to be successfully linked (ie, link time requirements).
The operations performed at link time usually include fixing up the addresses of externally referenced objects and functions, various kinds of cross module checks (eg, type checks on externally visible identifiers and in some languages instantiation of template). Some optimizing compilers delay code generation until link time because it is here that information about a complete program is available to them.
The definition of a programming language may specify link time requirements that source code must met to be successfully compiled (eg, the maximum number of characters in an externally visible identifier that must be considered significant).
Link time occurs after compile time and before runtime (when a program is executed). In some programming languages it may be necessary for some compilation and linking to occur at runtime.