Nataraj S Narayan schrieb:
Hi
I did as told. Now the size has come down from 14M to 2.7M. But still
isnt it on the higher side for a single form program, with 5 SQLQuery
components and about 50 lines of code?
It's 50 lines of your code but there is done a lot behind the scenes.
Just add another 50 lines and you'll see that your code isn't causing
the size but the used components.
BTW, does the size affect the performance in anyway?
No.
regards
Nataraj
Vincent Snijders wrote:
Nataraj S Narayan schreef:
Hi folks!
Also one problem is of file size. My program is a small one with a
Mysql compos and a DBGrid. But the executable size on Linux is
14152093 bytes (14M). Plz help me to reduce size.
For your release, did you turn of the generation of debug info:
In the linker tab of the compiler options,
uncheck:
- Generate debugging info
- Display line numbers ...
check:
- strip symbols from executable
Also, you can try to smartlink the application:
check:
- link smart
and on the code tab, check:
- smart linkable.
If you want to do this, the best results are when you do complete
rebuild of your application. I don't expect you to gain much from
smartlinking though.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives