[fpc-devel] Re: Whole Program Optimization with FPC 2.6.0?

Sergei Gorelkin sergei_gorelkin at mail.ru
Sun Apr 8 12:49:19 CEST 2012


08.04.2012 11:33, Martin Schreiber пишет:
> Am 07.04.2012 18:09, schrieb Martin Schreiber:
>> Am 07.04.2012 11:31, schrieb Martin Schreiber:
>>> Hi,
>>> A minimal MSEgui program compiled with FPC 2.6.0 is 711KB on
>>> i386-win32 and
>>> 796KB on i386-linux.
>>>
>> BTW, the same MSEgui minimal program compiled with Delphi 7 has an exe
>> size of 571KB.
>>
> I made MSEgit Delphi compatible too:
>
> FPC 2.6.0: 1.92MB
> Delphi 7: 1.61MB
>
You might want to compare with FPC 2.7.1 after revision 20119, it is expected to generate smaller 
code for string and other managed type operations. For Lazarus executable I got about 10% total size 
decrease.

Regards,
Sergei



More information about the fpc-devel mailing list