On 31 May 2009, at 11:42, Paul Ishenin wrote:

Jonas Maebe wrote:
Still quite minimal results. But unless I'm misremembering, it seems that the size of the application itself has grown a lot. An empty form with a button now results in an application of 1.8MB (Carbon/i386). I thought it was closer to 1.1MB the last time that I tried this (October last year).
Maybe it was less in size because it did not contain application icon? Icon is rather big resource.

Removing the icon removes only about 100KB. Also, why is it included in the program binary itself? At least on Mac OS X the system never looks there for an icon, afaik.

Here's where the size comes from (with smart linking and stripping, no debug information):

__TEXT  __DATA  __OBJC  others  total
1171456    655360    0    44932    1871748
Maybe for you as compiler developer this numbers are meanful but it is not so for me. How can we interprete them?

__TEXT = code
__DATA = data
(others = various kinds of required information for the program loader and dynamic linker)


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to