[Lazarus] Build Lazarus without symbols included?

Bo Berglund bo.berglund at gmail.com
Thu Aug 6 09:58:21 CEST 2020

I am never ever going to debug Lazarus itself since I am just a user,
so it makes no sense to inflate the size of the Lazarus executable
with the symbols...

Every time I rebuild Lazarus symbols are added to the binary and I
have to remember to close lazarus and issue the strip -s command to
reduce its size (by a lot).

Same happens when I install Lazarus/Fpc on a new RaspberryPi (I always
do this from svn sources). So also here I would like to skip the strip
step if possible. But I use a script to do the install and it contains
the strip command so in this case it is not as important...

Is there a setting somewhere in Lazarus that will build lazarus itself
without the symbols, but still create symbols in projects built using

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list