Caution: This version of this document is no longer maintained. For the latest documentation, see


Remove unnecessary information from executable files (POSIX)


strip_variant [options] objfile

Runs on:

QNX Neutrino, Linux, Microsoft Windows


The strip_variant depends on the target platform, as follows:

Target platform: strip_variant:
ARM ntoarm-strip
MIPS ntomips-strip
PowerPC ntoppc-strip
SH4 ntosh-strip
x86 ntox86-strip


The strip utility discards all symbols from object files objfile. The list of object files may include archives. At least one object file must be given.

This utility modifies the files named in its argument instead of writing modified copies under different names.

For detailed documentation, see the GNU website at

Contributing author: