[fpc-devel] Comparison FPC 2.2 - Delphi 7

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Jul 4 22:05:37 CEST 2007

On 04 Jul 2007, at 22:01, Yury Sidorov wrote:

> From: "Martin Schreiber" <fpmse at bluewin.ch>
>> Comparison FPC 2.2 - Delphi 7.
>> MSEide aps\ide\mseide.pas without database support:
>> Compile time FPC: 17.9s Delphi: 1.28s
>> Exe size FPC: 2.27MB Delphi: 1.87MB
>> Commandline FPC:
>> \fpc\svn\fixes_2_2\compiler\ppc386.exe -O2 -CX -XX -Xs -B -Fi..\..
> -XX and -CX are useless on Win32. Internal linker always do  
> smartlinking and external linker does not do it.
> Try to pass -g- option to see if compile time will be reduced.

The main reduction in compile time would probably come from using - 
O-1 -Ooregvar instead of -O2. I don't think the resulting code will  
be much slower either in most cases.


More information about the fpc-devel mailing list