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.

Reply via email to