Lib change leads to larger executables

Sean Kelly sean at f4.ca
Fri Feb 23 14:53:57 PST 2007


Frits van Bommel wrote:
> Sean Kelly wrote:
>> That makes complete sense.  It's irritating that such matches pull in 
>> the entire object, but at least the process is straightforward and 
>> logical.
> 
> Of course, if matches didn't pull in the entire object then static 
> constructors/destructors, unittests and exceptions wouldn't work without 
> some way to flag specific sections as "always pull this in if anything 
> (or even better: if _certain things_) are pulled in" or "when this is 
> pulled in, also pull in X and Y even though they're not referenced" or 
> something similar...

Hm... so how does segment-level linking work at all?



More information about the Digitalmars-d mailing list