[Lazarus] Size of program executable very big...

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Feb 19 09:56:09 CET 2011


On Fri, 18 Feb 2011 20:54:29 -0500
waldo kitty <wkitty42 at windstream.net> wrote:

>[...]
> > You can define a second build mode "release" and enable whatever optimization
> > you think is appropriate for your customers.
> 
> i recently ran into this in plain FPC when i switched from DEBUG to RELEASE mode 
> and had to re-enter the unit and include directories the project i'm working on 
> needed... it was a bit of a shock to have them "lost" when switching modes but a 
> quick look in the fpc.cfg showed me the problem :)  no clue if this also applies 
> to lazarus, though... i've not even attempted to use laz's graphical environment 
> for this particular console only tool build...

When you create a new build mode in Lazarus the current one is copied.

When you add unit paths, they are not automatically copied to the other
build modes. There is a dialog showing the differences between the build
modes.


Mattias




More information about the Lazarus mailing list