Felipe Monteiro de Carvalho wrote:
> Georg Vollnhals wrote:
> 
>> Hi Alexey
>> and thank you *very much* for your prompt help.
>> Using strip reduced the filesize from 9.17 MB to 1.64 MB !!!
>> (100%->ca.18%).
>> Now the result can be shared and I am really fully satisfied with
>> Lazarus :-) , all coders and
>> people helping the core-stuff do a wonderful job, my compliments!
>> Regards
>> Georg Bremen Germany
> 
> 
> You should also use upx. It is a very good exe compressor. It includes
> almost no overhead for decompressing the exe before execution. I think
> it cames with Lazarus, but you may get it from
> http://upx.sourceforge.net/ anyway.
> 
> My multiplatform osciloscope GUI after strip and upx gets:
> 700kb on Linux
> 420kb on Windows
> 
> At first I was a little worried about using upx, but it is a good
> alternative.
> 
> Felipe

Under Windows there are some aspects to consider:
Do not use  UPX if computer has low memory (program uses twice memory
when UPX-ed) or program is using some DLL files which are also used by
other programs - it can't be shared among them.
Also if debug info is fully included into separate EXE section there is
no difference to have 9 MB or 1MB EXE program, because only data and
code sections are loaded into memory.I'm not sure if stabs info in FPC
programs is located in separate section, maybe someone confirm this ?


Regards
Boguslaw Brandys

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to