Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!feeder.erje.net!eu.feeder.erje.net!137.226.231.214.MISMATCH!newsfeed.fsmpi.rwth-aachen.de!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!news.stack.nl!.POSTED!not-for-mail From: Marco van de Voort Newsgroups: comp.lang.pascal.delphi.misc Subject: Re: Delphi XE2 compiled VCL Win32 EXE size Date: Sun, 17 Mar 2013 13:03:45 +0000 (UTC) Organization: Stack Usenet News Service Lines: 20 Message-ID: References: NNTP-Posting-Host: toad.stack.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: mud.stack.nl 1363525425 39314 2001:610:1108:5010::135 (17 Mar 2013 13:03:45 GMT) X-Complaints-To: abuse@stack.nl NNTP-Posting-Date: Sun, 17 Mar 2013 13:03:45 +0000 (UTC) User-Agent: slrn/0.9.9p1 (FreeBSD) Xref: csiph.com comp.lang.pascal.delphi.misc:472 On 2013-03-16, Rudy Velthuis (TeamB) wrote: >> > more? >> > > >> > > Turn of RTTI generation. The built-in help explains how to do >> > > that. The online docwiki page is a copy of the built-in help: >> > >> > Doesn't seem to make a difference for empty form size. >> >> Hmmm... indeed. > > Seems RTTI in the RTL and VCL units will still be compiled in, so you > might have to recompile the RTL and VCL without RTTI too, to get the > absolutely minimum size. Yup, and while at it, you can probably cut down other excess bagage too, if it matters so much. It might be a good idea for FPC though, instead of an unit local directive that just suspends RTTI generation, have a global switch that works at the linker level. Requires an internal link though....