Compiler: Size of generated executable file

Walter Bright newshound1 at digitalmars.com
Mon Jan 11 18:18:19 PST 2010


grauzone wrote:
> Walter Bright wrote:
>> If you want to know where the size in your exe file is coming from, 
>> the map file will tell you - broken down by each name and its 
>> associated size.
> 
> Can you tell me how many bytes all TypeInfos use up in libphobos?
> (Without disabling codegen for TypeInfos and comparing the final file 
> sizes *g*.)

I thought we were talking about exe files, not library files. I don't 
think anyone cares how much space a library consumes.

All the TypeInfos each use nearly the same space, you could estimate the 
total by grepping for TypeInfo to get a count, and multiplying by the size.



More information about the Digitalmars-d mailing list