<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Sorry for my question, but do all those statements e.g. DebugLN('WARNING: obsolete call to RecreateWnd for %s', [AWinControl.ClassName]);<br>make the exe-file bigger ? <br>There are thousends of them.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Marc Weustink <marc.weustink@cuperus.nl><br><b><span style="font-weight: bold;">An:</span></b> General mailing list <lazarus@lazarus.freepascal.org><br><b><span style="font-weight: bold;">Gesendet:</span></b> Freitag, den 3. April 2009, 11:52:59 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> Re: [Lazarus] Large
program size - 1.8 MB for empty GUI project<br></font><br>Alexey S. Smirnov wrote:<br>> Graeme Geldenhuys пишет:<br>>> On Fri, Apr 3, 2009 at 3:02 AM, Paul Ishenin <<a ymailto="mailto:ip@kmiac.ru" href="mailto:ip@kmiac.ru">ip@kmiac.ru</a>> wrote:<br>>> <br>>>> Felipe Monteiro de Carvalho wrote:<br>>>> <br>>>>> And this has been debated 1 million times before, please search in the<br>>>>> mailling list archives.<br>>>>> <br>>>> This also means that problem of big executable size worries developers.<br>>>> Maybe we need to research more how to make our executables smaller.<br>>>> <br>>><br>>> Especially so if you are targeting embedded devices, smartphones<br>>> etc... Size matters in this case, but not so much for desktop<br>>> applications.<br>>> <br>>
SmartLink problem is quite simple. It seems that all units, mentioned in <br>> "Interface->Uses" section will be fully linked. Only units mentioned in <br>> "Implementation->Uses" section can be checked during SmartLink.<br>> So, to enhance linking process and to reduce binary size we shell <br>> check all Interface sections of all LCL units to reduce units list.<br><br>We have all units listed in the interface section to avoid unit circles. <br> This is needed since the compiler will fail to compile the LCL sooner <br>or later if there are to many circles.<br><br>Marc<br><br>_______________________________________________<br>Lazarus mailing list<br><a ymailto="mailto:Lazarus@lazarus.freepascal.org" href="mailto:Lazarus@lazarus.freepascal.org">Lazarus@lazarus.freepascal.org</a><br><a href="http://www.lazarus.freepascal.org/mailman/listinfo/lazarus"
target="_blank">http://www.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br></div></div></div><br>
</body></html>