* * *

Author Topic: How to use strip?  (Read 556 times)

Ivan

  • New member
  • *
  • Posts: 10
How to use strip?
« on: February 03, 2012, 06:32:34 pm »
I don't know how to use "Strip" under the Linux

typo

  • Hero Member
  • *****
  • Posts: 1368
Re: How to use strip?
« Reply #1 on: February 03, 2012, 06:36:03 pm »
You can set stripping on Project Options > Linking.

Ivan

  • New member
  • *
  • Posts: 10
Re: How to use strip?
« Reply #2 on: February 03, 2012, 06:54:40 pm »
i use russian version and can't find it

typo

  • Hero Member
  • *****
  • Posts: 1368
Re: How to use strip?
« Reply #3 on: February 03, 2012, 07:08:41 pm »
6th menu item, 10th subitem.

chrnobel

  • Full Member
  • ***
  • Posts: 126
Re: How to use strip?
« Reply #4 on: February 03, 2012, 09:28:15 pm »
I don't know how to use "Strip" under the Linux
Do you mean inside Lazarus or after compiling?

I do never strip inside, as I like to have the debugging information, but wait until I want to distribute my program, and then I do it from the command line:

strip -S filename

User137

  • Hero Member
  • *****
  • Posts: 503
Re: How to use strip?
« Reply #5 on: February 03, 2012, 10:45:46 pm »
i use russian version and can't find it
Strip symbols option means (-Xs).

Quote
I do never strip inside, as I like to have the debugging information
You can make the compiler put debug info in external file so that it doesn't increase executable size. This is (-Xg) in same project options tab. I never use strip command myself, don't need to because its already as small as it would make.
« Last Edit: February 03, 2012, 10:47:17 pm by User137 »

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads