[fpc-pascal] Methods for autoupdating fpc programs?

Sven Barth pascaldragon at googlemail.com
Sun Oct 4 00:02:00 CEST 2015


Am 03.10.2015 23:56 schrieb "Bo Berglund" <bo.berglund at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151004/f86fec78/attachment.html>


More information about the fpc-pascal mailing list