[Lazarus] Large program size - 1.8 MB for empty GUI project

Marco van de Voort marcov at stack.nl
Fri Apr 3 13:51:38 CEST 2009


On Thu, Apr 02, 2009 at 05:03:19PM -0500, H?ctor Fiandor Rosario wrote:
> I had the same problems, but I remedy following this rules:
> 
> I prepare a .bat with three sentences as follow:
> 
> strip.exe LoadExcelFile.exe
> upx.exe LoadExcelFile.exe
> LoadExcelFile.exe

If the wiki article talks about sizes, it DOES NOT include UPX.

Probably the LCL got bigger, or the internal linker is less efficient with
smartlinking.

Note that the wiki article probably used windows sizes based on the 2.0.x or
2.1.1 external linker. (with GNU LD eating a GB to smartlink)
 



More information about the Lazarus mailing list