<p>Am 03.10.2015 23:56 schrieb "Bo Berglund" <<a href="mailto:bo.berglund@gmail.com">bo.berglund@gmail.com</a>>:<br>
> So this little program is 24.5 Mbytes in size!<br>
> Amazing and no wonder the MD5 calculation takes such a long time!<br>
> Why is FPC producing such an incredibly big program file?</p>
<p>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).</p>
<p>Regards,<br>
Sven</p>