> when i build my project my excutable size is too large its around 4 mb.
That is normal especially if you are using the VCL and stati linking. The
VCL's library is pretty large.
> Is there any setting that affect the excutable size other than debug
information.
Borland does not store the debug info in the executable itself. It is
stored in a separate TDS file. As such, enabling debug info does not have a
significant effect on the executable size.
> i am sure i can reduce it but i dont what are all the settings that
affect.
Settings are not the problem. If you are bothered by the file size, there
are a number of third-party executable shrinker programs available for
download.
Gambit
If you have any global variables, they add to executable size. Large global
arrays can have a dramatic impact on executable size. (Yet another
reason to avoid globals.)
Not sure if this helps, but it's a thought.
--
Chris (TeamB);
> "Reddy" <vjay...@hotmail.com> writes:
>
>
>>hi every body when i build my project my excutable size is too large
>>its around 4 mb.Is there any setting that affect the excutable size
>>other than debug information.i am sure i can reduce it but i dont
>>what are all the settings that affect.
>
>
> If you have any global variables, they add to executable size. Large global
> arrays can have a dramatic impact on executable size. (Yet another
> reason to avoid globals.)
If they're uninitialized, they won't increase executable size AFAIK.
Often a section with zero physical size and a big virtual size exists then.
HTH,
Micha.
Hi Vijay,
Remy mentioned third-party executable compressors. I recommend
taking a look at UPX (http://upx.sourceforge.net/). It's free and open
source (GPL).
--
Benny
Remove your rose colored glasses if you'd like to e-mail me.