1. Compressing executables.

Hi

I see that UPX is already used when binding Windows executables.

I find that gzexe does an excellent and similar job in Linux eg Jetvet down from 4.4 megs to 1.3 megs

Chris

new topic     » topic index » view message » categorize

2. Re: Compressing executables.

How does that compare to upx on Linux? I would be curious to see a benchmark that tests both compression % and also uncompressing speed.

Jeremy

new topic     » goto parent     » topic index » view message » categorize

3. Re: Compressing executables.

Hi

As far as I'm aware, pretty favouarably. The reason I used it instead of upx, was because bound executables didn't run with upx, but startup times are perhaps a 1/2 second slower at most (vs unbound), which for the size of the program is fine. Main benefit is quicker inter surgery transfer speeds of the program via ftp. Apparently its giving me 69% compression (though not sure of the calculation)

new topic     » goto parent     » topic index » view message » categorize

4. Re: Compressing executables.

Chris:

Are you using the latest version of upx upx307 ? 
It has many options and has versions for many platforms. 
 
For windows try upx --best --strip-relocs=0 followed by the filename. 
 
The --strip-relocs=0 means DO NOT STRIP OUT RELOCATION INFORMATION . 

new topic     » goto parent     » topic index » view message » categorize

5. Re: Compressing executables.

Hi

I tried compressing a bound windows executable with upx, which reported that the exe was already compressed - I suspect that eui.exe is already compressed with upx. Upx compressed executables wouldn't work on Linux, hence the finding of gzexe.

Chris

new topic     » goto parent     » topic index » view message » categorize

6. Re: Compressing executables.

upx is available on Linux.

new topic     » goto parent     » topic index » view message » categorize

7. Re: Compressing executables.

jeremy said...

upx is available on Linux.

Yes, but if you use that to compress a windows executable, it still won't run on Linux ;)

(OK, maybe on Wine, but then it wouldn't half be as funny)

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu