[Lazarus] Compiled file size (again)

Martin lazarus at mfriebe.de
Wed Dec 14 21:36:05 CET 2011


On 14/12/2011 17:40, Mattias Gaertner wrote:
> On Wed, 14 Dec 2011 18:34:56 +0100
> Jürgen Hestermann<juergen.hestermann at gmx.de>  wrote:
>> Lazarus-0.9.31-33059-fpc-2.5.1-20111024-win32: 1.643.520 bytes
>> Lazarus-0.9.31-34078-fpc-2.5.1-20111210-win32: 1.872.896 bytes
>>
>> The size itself is huge IMO but it even increases rapidly.
>> 229,376 bytes (nearly 14%) added in not even two months is a lot.
>>
>> Anybody who has an idea why?
> You can install Cody and find out
>
> http://wiki.lazarus.freepascal.org/Cody#PPU_files_of_project
>

very impressive.
but it doesn't tell how much of each ppu will be in the exe after 
smart-linking

compile with debug info, and dump all the symbols with objdump (part of 
fpc). to estimate the size, sort them by address and get the diff to the 
next symbol.







More information about the Lazarus mailing list