[Lazarus] can't compile GTK2 program with lazarus 0.9.26-2

闫程远 yanchengyuan at gmail.com
Fri Apr 3 13:06:27 CEST 2009


Héctor,
Thank you for your advice! However using upx.exe just hides but not 
resolves the problem. Moreover AFAIK upx still doesn't support native 
Windows 64 code. And the final thing at using UPX causes some troubles. 
You may read about it here:  
http://wiki.lazarus.freepascal.org/Size_Matters#UPX

Héctor Fiandor Rosario wrote:
> Dear Igor:
>  
> 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
>  
> and in the same folders where are all the files there are this two: 
> strip.exe and upx.exe (a compactor)
>  
> I execute the program with Ctrl+F9 and when finish, I go to the  
> folder and execute the .bat that first take out all the debuggings 
> instrucctions, compact the .exe and finnally, excute it to see how it 
> works.
>  
> Generally, the .exe files take 500 to 800 kb, depending how many images.
>  
> let me know your advances,
>  
> yours,
>  
> Ing. Héctor F. Fiandor
> hfiandor at infomed.sld.cu <mailto:hfiandor at infomed.sld.cu>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090403/688e727f/attachment-0007.html>


More information about the Lazarus mailing list