[Lazarus] Build Lazarus without symbols included?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Build Lazarus without symbols included?

Free Pascal - Lazarus mailing list
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

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Build Lazarus without symbols included?

Free Pascal - Lazarus mailing list
> Is there a setting somewhere in Lazarus that will build lazarus itself
> without the symbols, but still create symbols in projects built using
> Lazarus?

Tools->Configure build Lazarus->Options:
-g- -CX -XXs



--
Sent from: http://free-pascal-lazarus.989080.n3.nabble.com/
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus