
16 Jul
2004
16 Jul
'04
6:47 p.m.
Christoph Ludwig wrote:
On Fri, Jul 16, 2004 at 07:41:23AM -0400, David Abrahams wrote:
...
What are the required commands to strip an executable?
with the GNU binutils the most simple command is:
strip <filename>
There is a whole bunch of command line switches that gives you more control over what gets stripped from the file, see strip(1). But I can't remember ever using this command myself whence I can't say which switches are more helpful than others.
I don't think I ever used strip with any switches. For template-heavy code strip shrinks the sizes of executables compiled in debug mode by 90% and more. Regards, m