thanks again. well, that decreased the size from 7mb to 2,5, but it stil seems to be too much, hm?
once someone told me that lazarus links the libraries too, i'm not sure, do you know more..?
I created an image to illustrate this:
http://wiki.lazarus.freepascal.org/images/d/de/Lazarus_vs_cpp.pngWhat happens is that the hello world lazarus software already includes a huge amount of features. It includes:
* XML handling library
* Image handling library for png, xpm, bmp and ico files
* Almost all widgets from the Lazarus Component Library
* All of the Free Pascal Runtime Library
So it's very big, but it already includes almost everything a realworld non-trivial app will need.
The key thing is that because of the Free Pascal compiler and the way lazarus forms operate, the software will increase in size very slowly when you add extra forms, and add code to it.
So in fact, Lazarus produces horrible hello worlds, but in a real world app it's size very quickly becomes much smaller then a comparable project in c++ for example.
Lazarus executable size starts big, bug grows very slowly. My lazarus ide executable has 8 MB, and it has millions of lines of code, and hundreds of forms.
A c++ project (just an example, but applies to other languages / tools too) starts very small on the hello world, but quickly grows exponencially when you need features to write a non-trivial application.