dmd -lib and executable size (+10 MB)

Extrawurst spam at extrawurst.org
Sun Aug 10 11:58:21 PDT 2008


yup, mine too.. still huge, on D2 even bigger

Michael P. wrote:
> Michael P. Wrote:
>
>   
>> Moritz Warning Wrote:
>>
>>     
>>> On Wed, 06 Aug 2008 13:53:07 +0800, Lionello Lunesu wrote:
>>>
>>>       
>>>> I got curious and wrote a batch file to test the exe sizes for all
>>>> versions of dmd.exe in my local repository. The D file only has "void
>>>> main() {}".
>>>>
>>>> There's clearly a jump in filesize since v1.032, when the size went from
>>>> 79KB to 124KB.
>>>>
>>>> Here's the complete result:
>>>>         
>>> [..]
>>>       
>>>> Digital Mars D Compiler v1.033
>>>> 124.444  t.exe
>>>>         
>>> Can anyone confirm that this is resolved now with dmd v1.034?
>>> My test shows that the binary size is back to 81KB (stripped).
>>>       
>> I didn't test compiling with just void main() { }, but when I re-compiled some of my work, the executable size went down from 1.033. So I would say it got resolved for the most part. 
>>     
>
>
> Err, scratch that. When I compiled void main() { } with 'dmd main', the size was still 121kb, and my other executable sizes were the same too.
>
>   



More information about the Digitalmars-d mailing list