Author Topic: Binary size  (Read 3868 times)


  • Guest
Binary size
« on: October 14, 2004, 05:13:00 pm »
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 ?



  • Jr. Member
  • **
  • Posts: 67
Binary size
« Reply #1 on: October 14, 2004, 06:56:31 pm »
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ò

  • Full Member
  • ***
  • Posts: 130
Binary size
« Reply #2 on: October 15, 2004, 07:38:10 am »
There are a couple of threads about this topic,... do a search ;-)


TinyPortal © 2005-2018