Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.delphi.misc > #454

Re: Delphi XE2 compiled VCL Win32 EXE size

From Graeme Geldenhuys <graemeg@example.net>
Newsgroups comp.lang.pascal.delphi.misc
Subject Re: Delphi XE2 compiled VCL Win32 EXE size
Date 2013-03-14 20:22 +0000
Organization Aioe.org NNTP Server
Message-ID <khtbha$ho$1@speranza.aioe.org> (permalink)
References <XnsA182199A285CFjj@0.0.0.79> <xhN%s.88252$t82.13665@newsfe12.iad>

Show all headers | View raw


On 2013-03-12 22:51, Jamie wrote:
>   I can get very close running results with Lazarus (free Pascal)

With FPC 2.6.0 and the fpGUI Toolkit I get the following:

  820Kb on 64-bit FreeBSD
  600Kb on 32-bit FreeBSD

:)

With a three pass optimisation I should be able to shave about another
100Kb or so off those sizes. Funny thing is, with FPC 2.7.1 (trunk) I
get slightly smaller executables.

In the case of fpGUI the executable size is not linear. I can now add
buttons, labels, edits etc to that executable, and the size will hardly
grow.

It is inevitable that with time - as more features get added to a frame
- the size of executables with grow. But jumping by Mb's at a time is a
sign of too much cross-dependencies, or a smartlinker that doesn't work
well.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Back to comp.lang.pascal.delphi.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Delphi XE2 compiled VCL Win32 EXE size JJ <jaejunks@nah.meh> - 2013-03-12 19:24 +0000
  Re: Delphi XE2 compiled VCL Win32 EXE size Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2013-03-12 17:51 -0500
    Re: Delphi XE2 compiled VCL Win32 EXE size Graeme Geldenhuys <graemeg@example.net> - 2013-03-14 20:22 +0000
      Re: Delphi XE2 compiled VCL Win32 EXE size Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2013-03-14 18:32 -0500
        Re: Delphi XE2 compiled VCL Win32 EXE size Graeme Geldenhuys <graemeg@example.net> - 2013-03-15 07:58 +0000
  Re: Delphi XE2 compiled VCL Win32 EXE size Marco van de Voort <marcov@toad.stack.nl> - 2013-03-15 13:48 +0000
    Re: Delphi XE2 compiled VCL Win32 EXE size JJ <jaejunks@nah.meh> - 2013-03-15 22:38 +0000
      Re: Delphi XE2 compiled VCL Win32 EXE size Marco van de Voort <marcov@toad.stack.nl> - 2013-03-16 14:44 +0000
        Re: Delphi XE2 compiled VCL Win32 EXE size Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2013-03-16 11:52 -0500
          Re: Delphi XE2 compiled VCL Win32 EXE size Marco van de Voort <marcov@toad.stack.nl> - 2013-03-16 17:54 +0000
            Re: Delphi XE2 compiled VCL Win32 EXE size Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2013-03-16 14:39 -0500
              Re: Delphi XE2 compiled VCL Win32 EXE size Marco van de Voort <marcov@toad.stack.nl> - 2013-03-16 18:46 +0000
          Re: Delphi XE2 compiled VCL Win32 EXE size JJ <jaejunks@nah.meh> - 2013-03-17 09:47 +0000
            Re: Delphi XE2 compiled VCL Win32 EXE size Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2013-03-17 10:03 -0500
        Re: Delphi XE2 compiled VCL Win32 EXE size JJ <jaejunks@nah.meh> - 2013-03-17 09:25 +0000
          Re: Delphi XE2 compiled VCL Win32 EXE size Marco van de Voort <marcov@toad.stack.nl> - 2013-03-17 13:08 +0000
  Re: Delphi XE2 compiled VCL Win32 EXE size "Rudy Velthuis (TeamB)" <newsgroups@rvelthuis.de> - 2013-03-16 23:24 +0100
    Re: Delphi XE2 compiled VCL Win32 EXE size Marco van de Voort <marcov@toad.stack.nl> - 2013-03-16 22:32 +0000
      Re: Delphi XE2 compiled VCL Win32 EXE size "Rudy Velthuis (TeamB)" <newsgroups@rvelthuis.de> - 2013-03-16 23:55 +0100
        Re: Delphi XE2 compiled VCL Win32 EXE size "Rudy Velthuis (TeamB)" <newsgroups@rvelthuis.de> - 2013-03-17 00:05 +0100
          Re: Delphi XE2 compiled VCL Win32 EXE size Marco van de Voort <marcov@toad.stack.nl> - 2013-03-17 13:03 +0000
    Re: Delphi XE2 compiled VCL Win32 EXE size JJ <jaejunks@nah.meh> - 2013-03-17 10:00 +0000
      Re: Delphi XE2 compiled VCL Win32 EXE size "Rudy Velthuis (TeamB)" <newsgroups@rvelthuis.de> - 2013-03-17 21:54 +0100
        Re: Delphi XE2 compiled VCL Win32 EXE size Marco van de Voort <marcov@toad.stack.nl> - 2013-03-17 20:59 +0000

csiph-web