On Fri, 18 Feb 2011 08:46:45 +0200, Graeme Geldenhuys <[email protected]> wrote:
>1) Strip debug information and enable smart linking. > Project Options -> Code generation > project Options -> Linking. > > The FPC parameters are: > -CX -XX -Xs > >2) Use a "lighter" GUI toolkit. fpGUI produces much smaller executables > than LCL (handy for embedded work). MSEgui is somewhere in the > middle. > Couldn't Lazarus be "smart" about the code generation as follows: 1) When one clicks the run button (green arrow) lazarus creates the exe file with embedded debug information such that breakpoints etc work for debugging. 2) When one uses the build function Lazarus does NOT use the compile option to enter debug data into the exe, thus creating the slimmer file. With this one would get the best of both worlds, right? -- Bo Berglund Developer in Sweden -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
