Re: Euphoria to C problem
- Posted by Fabio Ramirez <faramire at nemo.univalle.edu.co> Feb 26, 2001
- 440 views
-------Phoenix-Boundary-07081998- Hola, Tony Steward escribi=F3 el 26/02/2001 04:03:36 a.m.: >Hi Fabio, >Tell me more about upx compression. >Where to get it etc. Hi Tony, UPX is a packer for executables, you use on an exe file and get one smaller exe aboout 30% of the original size, depends on your choices. It doesn't have a perceivable impact on start time, better than that if the file has to be transferred by a network it should start faster. It's free for personal or commercial use and the only bad thing I read about it was something about that it doesn't let your programs benefit from some caching when they are compressed, I don't remember exactly but it doesen't seem important to me. I first heard about it when Euphoria 2.2 was released and the size of EXW and the final bound program decreased considerably. You can get it at http://upx.tsx.org I did some minor modifications to use a generic bat when compiling and also compress the resulting exe. @echo compiling with BORLAND @cd %1 @bcc32 -tW -q -w- -O2 -5 -a4 -IC:\BORLAND\BCC55\include -LC:\BORLAND\BCC55\lib %2.c @objfiles.lnk @del *.tds > NUL @del *.obj > NUL @del *.c > NUL @upx %2.exe @if not exist %2.exe goto done @echo ************************* @echo Ready ... @echo ************************* :done > >Thanks >Tony Fabio ------------------------------------- Fabio Ramirez R. Administrador de Redes - CSI ------------------------------------- -------Phoenix-Boundary-07081998---