Lib change leads to larger executables

Walter Bright newshound at digitalmars.com
Wed Feb 21 02:40:18 PST 2007


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.



More information about the Digitalmars-d mailing list