Forum > General
Binary size
(1/1)
Rocky:
I finally made it up to write a small frontend using Lazarus. Great tool :)
But there is one thing which makes me wonder:
The program I coded is really small, means about some kbytes. But when I compile, the binary gets up about 5.8 MB.
Is that normal or just due to my bad coding qualities ?
Thx
Adam.Pilorz:
Well, many MBytes of your binary are Lazarus' units, linked to your program at compile time. So your source is small, but it uses many functions, procedures and objects from additional units. It is normal thing, that executable file is much bigger than it's source.
Giuseppe RidinĂ²:
There are a couple of threads about this topic,... do a search ;-)
Navigation
[0] Message Index