The proper case for D.

Walter Bright newshound1 at digitalmars.com
Sun Jun 21 18:13:55 PDT 2009


robert fraser wrote:
> Ah, thanks for the explanation. I didn't understand it pulled in
> whole object files at once, though given that libraries are just
> archives of object files, I should have assumed.

The linker can eliminate some unused COMDATs from the object file, but 
in general this isn't very effective because most of the semantic 
information is gone.

That's what makes the -lib switch so nifty, it does the splitting up 
with full knowledge of the semantic info, so it does a proper job of it.



More information about the Digitalmars-d mailing list