Compiling Lazarus with latest FPC SNV revisions lazarus / 8-Other ---------------------------------------------------------------------- sasa · 2006-03-21 18:50 Compiling with the latest SNV revision of the FPC 2.1.x products Lazarus.exe >70MB before stripping debug informations, instead od about 21MB, which is far more out of reasonable time frame. After stripping debug infos, executables are practicaly the same as produced with FPC 2.0.2 (about 7MB). This is FPC issue, which most likely add extra debug infos.  Unfortunately, I have no spare time to search for related infos on the net or documentation. However, I hope that somewhere exists precise instuctions to create the latest FPC revision which will procuced executables without mentioned problems. Thanks in advance. ---------------------------------------------------------------------- Vincent Snijders · 2006-03-22 08:41 70 MB for Lazarus with fpc 2.1.1 is normal and correct. Earlier fpc version don't genereate complete debug information and that is why they generate smaller executbales. ---------------------------------------------------------------------- sasa · 2006-03-24 21:00 With the latest SVN releases of Lazarus and FPC and clean builds, Lazarus executable is around 60MB. This clearly shows high unstability of SVN releases. In any event, generally, with basic debug informations, size should not exceed 2-3 times of exe without However, by default FPC creates clean executables (without debug informations). That can be another option to compile Lazarus, since debugger is not so important for experience developers, as is much faster to run and compare results with prepared by each critical project stage... I assume it is posible to add options directly to compiler (-XS, -XS, etc...). Unfortunately I've fail to compile specifying it by OPT='...', providing it as a makefile parameters (error was reported during comipiling sqlite component). I will appreciate if you can suggest precise way of compiling Lazarus free of any debug information. Thanks in advance