Lib change leads to larger executables
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Fri Feb 23 13:36:59 PST 2007
Walter Bright wrote:
> COMDAT names are also inserted into the dictionary *unless they are
> already in there*, in which case they are ignored.
>
> Hence, only the first COMDAT name is inserted. The rest are ignored. The
> hashmap lookup algorithm has ZERO effect on which object module is
> pulled in, because there is (and can only be) a 1:1 mapping. There is no
> way it can arbitrarily pick a different object module.
>
> The process can be controlled by setting the order in which object
> modules are presented to the library.
When doing a lookup while linking, does it at least check other .obj
files first before escalating to pulling in library .objs?
More information about the Digitalmars-d
mailing list