Am 03.10.2015 23:56 schrieb "Bo Berglund" <bo.bergl...@gmail.com>:
> So this little program is 24.5 Mbytes in size!
> Amazing and no wonder the MD5 calculation takes such a long time!
> Why is FPC producing such an incredibly big program file?

That's the debug information. If you disable the generation of the debug
information or tell the compiler to use an external file for that (both
options are available in the project options), then the size should be
around 1.5 MB (or was it 3?). However the size is only growing very slowly
with each added form/control/code as the bulk of it stems from the LCL (so
a pure console application as you plan is much smaller anyway).

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to