[fpc-devel] Comparison FPC 2.4.4 - Delphi 7

Mattias Gaertner nc-gaertnma at netcologne.de
Mon May 30 13:21:39 CEST 2011


 
 

 Martin Schreiber <mse00000 at gmail.com> hat am 30. Mai 2011 um 09:26 geschrieben:

 > Hi,
 > I compiled MSEide with FPC 2.4.4 and Delphi 7 for comparison.
 >
 > Delphi 7:
 > Borland Delphi Version 15.0
 > Copyright (c) 1983,2002 Borland Software Corporation
 > [...]
 > 303079 lines, 5.31 seconds, 2256556 bytes code, 820297 bytes data.
 > Exe size: 3.2MB
 >
 > FPC:
 > Free Pascal Compiler version 2.4.4 [2011/04/23] for i386
 > Copyright (c) 1993-2010 by Florian Klaempfl
 > [...]
 > 302251 lines compiled, 45.2 sec , 2257728 bytes code, 1688152 bytes data
 > 187 warning(s) issued
 > 315 note(s) issued
 > Exe size: 3.87 MB
 >
 > Interesting the big difference in data size. 
Do you know, how much is compiling and how much is linking? 
 
 

 >
 > Source:
 > http://svn.berlios.de/viewvc/mseide-msegui/trunk/
 >
 > Commandline Delphi:
 > dcc32.exe -B -I..\..\lib\common\kernel -U..\..\lib\common\kernel
 > -U..\..\lib\common\kernel\i386-win32 -U..\..\lib\common\graphics
 > -U..\..\lib\common\image -U..\..\lib\common\widgets
 > -U..\..\lib\common\ifi -U..\..\lib\common\printer
 > -U..\..\lib\common\designutils -U..\..\lib\common\sysutils
 > -U..\..\lib\common\editwidgets -U..\..\lib\common\dialogs
 > -U..\..\lib\common\regcomponents -U..\..\lib\common\serialcomm
 > -U..\..\lib\common\serialcomm -U..\..\lib\common\delphicompatibility
 > -dmse_no_db -dmse_no_opengl -dmse_no_math mseide.pas
 >
 > Commandline FPC:
 > ppc386.exe -O2 -CX -XX -Xs -B -Fi..\.. \lib\common\kernel
 > -Fu..\..\lib\common\kernel -Fu..\..\lib\common\kernel\i386-win32
 > -Fu..\..\lib\common\graphics -Fu..\..\lib\common\image
 > -Fu..\..\lib\common\widgets -Fu..\..\lib\common\ifi
 > -Fu..\..\lib\common\printer -Fu..\..\lib\common\designutils
 > -Fu..\..\lib\common\sysutils -Fu..\..\lib\common\editwidgets
 > -Fu..\..\lib\common\dialogs -Fu..\..\lib\common\regcomponents
 > -Fu..\..\lib\common\serialcomm -Fu..\..\lib\common\serialcomm 
Why are kernel and serialcomm given twice? 
 
 

 > -dmse_no_db -dmse_no_opengl -dmse_no_math -omseidefpc.exe mseide.pas
 >
 > All MSE *.o,*.ppu and *.dcu files deleted before compiling.
 >
 > System:
 > win2000, AMD Athlon XP 3000+, 1GB RAM
 How to compile for Linux? Is there something like a fpmake.pp or Makefile? I
can't find it in the README.txt.

 Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110530/505bfedd/attachment.html>


More information about the fpc-devel mailing list