The gstrip Utility Program

The gstrip Utility Program can remove line number, symbol table, and debug information from an ELF executable file to reduce its file size on disk.

The gstrip utility processes executable files created by the Green Hills Software linker as well as those created by some native linkers.

Usage

To use gstrip, enter:

gstrip [options] filename

where

options gstrip ELF options, listed below.

filename Name of executable file.

ELF File Options

Options when using gstrip with ELF format files include:

-help

Display information about all options.

-l

Strips line number information only; do not strip the symbol table or debug information.

-V

Prints the version number of gstrip to standard error output.

-x

Does not strip the symbol table; debugging and line number information may be stripped.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.