Lib change leads to larger executables

kris foo at bar.com
Wed Feb 21 09:43:33 PST 2007


Walter Bright wrote:
> kris wrote:
> 
>> I've been messing with the response file handed to the librarian (via 
>> lib @foo); moving modules around here and there, reordering big chunks 
>> etc. Have yet to see a notable change in the resulting exe after 
>> relinking against each lib version.
> 
> 
> Then look at the .map file to see what was linked in to the larger file 
> that wasn't in the smaller. Remove that module from the library. Link 
> again, and see what was unresolved. Rinse, repeat, and you'll see what 
> was pulling it all in.

That's exactly what I'm doing, and I agree there seems to be something 
odd going on here. With ~200 modules, it's no slam-dunk to isolate it :)



More information about the Digitalmars-d mailing list