gpstrip - Man Page

discard symbols from object file


gpstrip [options] [file(s)]


The information in this man page is an extract from the full documentation of gputils and is limited to the meaning of the options.  For complete and  current documentation, refer to "" located in the gputils docs directory.


gpstrip discards symbols from GNU PIC object files. gpstrip is part of gputils.  Check the gputils(1) manpage for details on other GNU PIC utilities.


-g,  --strip-debug

Strip debug symbols.

-h,  --help

Show the usage message and exit.

-k SYMBOL, --keep-symbol SYMBOL

Keep symbol.

-n SYMBOL, --strip-symbol SYMBOL

Remove symbol.

-o FILE, --output FILE

Alternate name of output file.

-p,  --preserve-dates

Preserve dates.

-r SECTION, --remove-section SECTION

Remove section.


If this is set, then an option may not be parameter of an another option. For example: -o --version

-s,  --strip-all

Remove all symbols.

-u,  --strip-unneeded

Strip symbols not need for relocations.

-v,  --version

Show the version information and exit.

-V,  --verbose

Verbose mode.

-x,  --discard-all

Remove non-global symbols.

See Also



Craig Franklin <>

Referenced By


2016-02-28 gputils-1.5.2 Linux user's manual