Name

strip

Synopsis

strip [options] files

Description

Remove symbols from object files, thereby reducing file sizes and freeing disk space.

Options

-F format, --target= format

Expect the input file to be in the format format.

-O format, --output-target= format

Write output file in format.

-R section, --remove-section= section

Delete section.

-s, --strip-all

Strip all symbols.

-S, -g,--strip-debug

Strip debugging symbols.

-x, --discard-all

Strip nonglobal symbols.

-X, --discard-locals

Strip local symbols that were generated by the compiler.

-v, --verbose

Verbose mode.

Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.