Lib change leads to larger executables
Walter Bright
newshound at digitalmars.com
Fri Feb 23 14:13:00 PST 2007
Frits van Bommel wrote:
> When doing a lookup while linking, does it at least check other .obj
> files first before escalating to pulling in library .objs?
The linker first puts together all the explicitly listed object files.
Then,
foreach (unresolved name)
{
if (name is it in the library)
read in that object module from the library
add it to the the build
use any pulled in publics/comdats to resolve
any remaining unresolved symbols
add any new unresolved names to unresolved name list
else
issue error message
}
It does just what you'd expect it to.
More information about the Digitalmars-d
mailing list