<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
You should disable the (-gl) in debugging to have symbols stripped from exe.<br><br>Henrique.<br><br>> From: markMLl.lazarus@telemetry.co.uk<br>> Date: Sat, 8 Nov 2008 09:31:14 +0000<br>> To: lazarus@miraclec.com<br>> Subject: Re: [Lazarus] Performance of GTK 2 and CE<br>> <br>> Mark Morgan Lloyd wrote:<br>> > Felipe Monteiro de Carvalho wrote:<br>> >> On Fri, Nov 7, 2008 at 12:33 PM, Henry Vermaak <henry.vermaak@gmail.com> wrote:<br>> >>> compile with -Xs or manually run arm-wince-strip --strip-unneeded on the exe.<br>> >> I don't know if it's any different, but I usually do: arm-wince-strip<br>> >> --strip-all myfile.exe<br>> > <br>> > Thanks both. I've dropped Andy a note reminding him to check the ML.<br>> <br>> This from Andy:<br>> <br>> The machine isn't short of RAM - it has 128Mb and I've closed down all <br>> all other programs.<br>> <br>> But the .exe was 9.81Mb, not 1.5Mb!<br>> <br>> Stripping, i.e. compiling with -Xs, made no difference. But, now knowing <br>> it should be smaller, I then played with all the compiler options and <br>> the one that did make a difference in the size was removing the default <br>> "display line numbers in run time error backtrace". With this unchecked <br>> the size came down to 1.615Mb.<br>> <br>> Stripping, setting unit style "smart linkable" and "link smart" are all <br>> now set but made no difference.<br>> <br>> I then copied the application over to the PDA again. The program load <br>> time (i.e. from tapping the icon to the start of drawing the window) was <br>> much better, but disappointingly the execution speed was not observably <br>> different, i.e. it still took a second to draw the window.<br>> _______________________________________________<br>> Lazarus mailing list<br>> Lazarus@lazarus.freepascal.org<br>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus<br><br /><hr />Conheça já o Windows Live Spaces, o site de relacionamentos do Messenger! <a href='http://www.amigosdomessenger.com.br' target='_new'>Crie já o seu!</a></body>
</html>