Debug / Release options lazarus / 13-General ---------------------------------------------------------------------- tech-pro · 2006-02-06 09:56 As advised a few days ago, I have installed the FPC 2.0.2 and am getting Lazarus using SVN. Because (it appears) the libraries included with FPC don't include debug information, I can now compile my programs with -CX -XX and Smart Linking works, producing much smaller EXE sizes. If I run Strip and then UPX on the final executable, it comes down to nearly as small as the program built with Delphi and UPX compressed, e.g. 350KB for quite a simple program. However, I can no longer debug into the LCL or run-time libraries. How can I set up Lazarus so that I can compile and test programs with debugging fully enabled, and then compile a release version with no debug information and smart linking enabled? ---------------------------------------------------------------------- RudieD · 2006-02-06 19:53 I have created 2 directories, the one has the packes with debug info and the other without. I just use a batch file that sets the PATH variable and then executes StartLazarus.exe. I know its not the perfect solution, but it works.