Use strip tool, or -strip hbmk2 option.

You can also enhance compression using '-9 --lzma' upx options.

Viktor

On 2010 Apr 25, at 16:41, Bruce M. Axtens wrote:

> A simple "hello world" compiles to 1124877 bytes. How come it's so big? And 
> is UPX the only way of making it smaller?
> 
> Kind regards,
> Bruce.
> 
> 
> C:\hbIDE\projects>upx --best test.exe
>                       Ultimate Packer for eXecutables
>                          Copyright (C) 1996 - 2008
> UPX 3.03w       Markus Oberhumer, Laszlo Molnar & John Reiser   Apr 27th 2008
> 
>        File size         Ratio      Format      Name
>   --------------------   ------   -----------   -----------
>   1124877 ->    542733   48.25%    win32/pe     test.exe
> 
> Packed 1 file.
> 
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to