| zentara 2005-01-13, 4:00 pm |
| On Wed, 12 Jan 2005 11:42:52 -0500, Robert <sigzero@gmail.com> wrote:
>I am using "pp" to create a console-less Windows EXE. The EXE size is
>over 3MB and this is a very simple program. I have a Tcl/Tk app that
>does that exact same thing and it is just over 1MB in size. I am
>assuming that the Perl one is larger because the Perl DLL is included
>and rather large itself.
>
>What are some ways that I can cut down on the size of the EXE generated?
>
>Robert
upx is available for windows, search for upx (ultimate packer for
executables).
On linux, if I pp a certain simple Perl script, I get
1707893 bytes in the executable.
If I strip it, it is down to 1099244 bytes.
The when I upx it, it is down to 491994 bytes.
Thats quite a space savings. Plus clients don't need any upx
libs just to run it.
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
|