strip (Unix)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In Unix and Unix-like operating systems, the strip program removes unnecessary information from executable binary programs and object files, thus potentially resulting in better performance and sometimes significantly less disk space usage. This information may consist of debugging and symbol information; however the standard leaves the scope of changes up to the implementer.

The effect of strip can be achieved directly by the compiler. For instance, in GNU Compiler Collection this option is "-s".

The GNU Project ships an implementation of strip as part of the GNU Binutils package. strip has been ported to other operating systems including Microsoft Windows.

See also[edit]

References[edit]

  • "strip", The Single UNIX Specification, Version 2, The Open Group, 1997 

External links[edit]