Michael Van Canneyt wrote:
It takes 7 second to compile and
run (1.25S D6), code size 6.1Mb (365K D6).
Concerning time, see above. To reduce code size:
1. Remove the debug info. (it's included by default in Lazarus)
try including Turbo Debugger info in a Delphi app,
you'll get rougly the same size as a lazarus app.
2. Enable smartlinking.
2. run upx on the generated binary.
Steps 1 and 2 never worked for me.
I recommend that you go to your DOS prompt (or install the better
cygwin), go to your executable directory and do:
1 - "strip --strip-all <executable>" This will remove all the debug info
2 - "upx <executable>" This will compress the exe
My .exe with a form gets:
420kb on Windows
700kb on Linux
Felipe
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives