Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-05

Comparison FPC 2.4.4 - Delphi 7

9 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Schreiber

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.

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 -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

Martin

Reply by email

Mattias Gaertner
to Martin Schreiber: I compiled MSEide with FPC 2.4.4 and Delphi 7 for comparison. Delphi 7: Borland Delphi…

 
 

Martin Schreiber hat am 30. Mai 2011 um 09:26 geschrieben:

Show quoted text 20 lines
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?   
 

Show quoted text 24 lines
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? 
 
 

Show quoted text 6 lines
-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

Reply by email

Martin Schreiber
to Mattias Gaertner
Mattias Gaertner wrote
Do you know, how much is compiling and how much is linking?

Linking is 3..4 seconds.

Why are kernel and serialcomm given twice?

kernel is once -Fi and once -Fu, second serialcomm is copy paste error.

How to compile for Linux? Is there something like a fpmake.pp or Makefile? I can't find it in the README.txt.

MSEide on linux can be compiled with
"
ppc386 -Fulib/common/* -Fulib/common/kernel/i386-linux -Filib/common/kernel apps/ide/mseide.pas
"

Martin

Reply by email

Mattias Gaertner
to Martin Schreiber: Linking is 3..4 seconds. kernel is once -Fi and once -Fu, second serialcomm is copy paste…

 
 

Martin Schreiber hat am 30. Mai 2011 um 13:59 geschrieben:

Show quoted text 5 lines
Am Montag 30 Mai 2011, 13:21:39 schrieb Mattias Gaertner: > > Do you know, how much is compiling and how much is linking? >  Linking is 3..4 seconds. 

So, the Linker takes almost the time Delphi needs for everything?  
 

Show quoted text 9 lines
[...] >  How to compile for Linux? Is there something like a fpmake.pp or Makefile? > I can't find it in the README.txt. > MSEide on linux can be compiled with " ppc386 -Fulib/common/* -Fulib/common/kernel/i386-linux -Filib/common/kernel apps/ide/mseide.pas "

Thanks. Can this be added to the README.txt?
It's not the first time I searched this.

Mattias

Reply by email

Martin Schreiber
to Mattias Gaertner
Mattias Gaertner wrote
Martin Schreiber hat am 30. Mai 2011 um 13:59

geschrieben:

Show quoted text 9 lines
> Am Montag 30 Mai 2011, 13:21:39 schrieb Mattias Gaertner: > > Do you know, how much is compiling and how much is linking? > > > > > > Linking is 3..4 seconds. So, the Linker takes almost the time Delphi needs for everything?

Yes.

Show quoted text 10 lines
> MSEide on linux can be compiled with > " > ppc386 -Fulib/common/* -Fulib/common/kernel/i386-linux > -Filib/common/kernel apps/ide/mseide.pas > " Thanks. Can this be added to the README.txt? It's not the first time I searched this.

Done, trunk 4587.

Martin

Reply by email