[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FYI: dh_upx compresses i386 executables



On Sat, Apr 21, 2001 at 12:20:21PM +0200, Eduard Bloch wrote:
> What is dh_upx?
> 
> dh_upx is a debhelper extention and is provided by the upx-ucl package.
> dh_upx compresses all binaries (i386 only!) in the mentioned package.
> The idea is similar to gzexe, but upx uses a built-in decompressor,
> installing a new header into executables. It can also compress scripts.
> 
> What is upx good for?
> For all applications that are not used in critical environment, i.e.
> without enough free disc space, or when they are started to often, so
> the decompression time may be too long.
> For example, I will compress SDK example programs in my allegro-examples
> package. These are 52 executables with ~100k pro file => 4739kB.
> Compressed with upx the need only 1214kB.  The user won't use them
> frequently and when he/she starts them, there will be no difference
> between compressed and uncompressed apps so we can save this space.

IMHO if they will be launched multiple times, applications
will NOT share memory when upx-packed, so better be careful about
when to use it and when not.
And also ldd output about compressed packages will be misleading 
(unless something changed since last time I used upx)


-- 
 -----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!



Reply to: