Sobre el tamaño de los ejecutables... adjunto algo que encontré en el FAQ de Lazarus:
Why are the generated binaries so big?
The binaries are big because they include a lot of debug information necessary for using gdb (GNU Debugger).
The compiler has an option to remove the debug information from the executable (-Xs), but due to a bug in the gnu linker (ld) it doesn't work correctly.
You can use a program called "strip" to remove the debug symbols from the executable file. It is located under lazarus dir lazarus\pp\bin\i386-win32\.
Just type "strip --strip-all <your executable file with path>" on the command line.
If you want to make your program even smaller, you should try UPX ([1] (
http://upx.sourceforge.net/)) too. UPX is a very good exe compressor. It includes no memory overhead due to in-place decompression. It also has a very fast decompression (~10 MB/sec on an Pentium 133).
To use upx just type "upx <your executable file with path>" on the command line.
after using both strip and upx a simple GUI Lazarus program gets:
* ~ 700kb on Linux
* ~ 420kb on Windows
Salu2...