Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2020-08

Build Lazarus without symbols included?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

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...

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

Bo Berglund Developer in Sweden

Reply by email