Re: Small executables
From: gswork (gswork_at_mailcity.com)
Date: 06/15/04
- Next message: Thomas Voigt: "SQL Monitor/IB6 problem (Delphi 4)"
- Previous message: Bjørge Sæther: "Re: Small executables"
- In reply to: The Sphinx: "Small executables"
- Next in thread: Nikola Jankoviæ: "Re: Small executables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Jun 2004 01:53:05 -0700
"The Sphinx" <TheSphinx92@hotmail.com> wrote in message news:<cajs70$ne6$1@brutus.eur.nl>...
> Hi,
>
> Ok, I know that the size of executables isn't that important nowadays but it
> still surprises me how big executables, generated by Delphi, become. Is
> there a way to reduce this size? The only way I've found up to now is to
> limit the number of units in the uses clause. But you need some units
> anyway. And it seems to me that the linker includes all the procedures /
> functions etc of the unit in the executable, even those who are never
> called. Isn't there way to let the linker know that only those needed should
> be included?
> And what else is possible to reduce the size?
You can trim to some extent as othes have described, and upx can help
too.
if you really want a self contained windows GUI app and you want to
use Delphi then you can, AFAIK, write a 'pure' Win32API application
just as you might using C or C++, along with all the tangled headaches
that the API can give you.
When i want a Delphi app to be smaller i usually revert to Delphi 3
(my earliest 32 bit version) and use upx which doesn't appear to add
much time or stretch pc resources when running the .exe
Normally it doesn't really matter enough. IMO Delphi simply *is* the
best way to write GUI applications for Win32 and i forgive the .exe
size !
- Next message: Thomas Voigt: "SQL Monitor/IB6 problem (Delphi 4)"
- Previous message: Bjørge Sæther: "Re: Small executables"
- In reply to: The Sphinx: "Small executables"
- Next in thread: Nikola Jankoviæ: "Re: Small executables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|