[mad-dev] Code Size Estimation of Minimad
Rob Leslie
rob@mars.org
Tue, 5 Aug 2003 14:05:20 -0700
On Tuesday, August 5, 2003, at 03:10 AM, Yeh You-Ying(EnE) wrote:
> I've tried to make a minimal minimad.exe.
> I just let the minimad.exe to deal with MPEG-I Layer 3 source.
> Now the code size is about 92K.
> I used exe2bin,provided by Microsoft, to remove the execution header,
> but failed.
> The exe2bin seems to only handle executions which are gernerated by
> assembler.
> Therefore so far I do not know the code size of this minimal decode
> engine.
>
> Any one know how to get the estimation ?
If you have Cygwin installed, you can get code size information with
'size':
% size minimad.exe
text data bss dec hex filename
85504 2560 96 88160 15860 minimad.exe
--
Rob Leslie
rob@mars.org