strip(1) - NetBSD Manual Pages

STRIP(1)                    NetBSD Reference Manual                   STRIP(1)


NAME
strip - remove unnecessary information from executable files
SYNOPSIS
strip [-d] [-x] [-X] file ...
DESCRIPTION
The strip utility deletes the relocation information and symbol table used by assemblers, loaders and debuggers. This significantly decreases the size of the installed binaries and saves disk space. The options are as follows: -d Delete only debugging and empty symbols. -X Delete only debugging, empty, and compiler identification sym- bols. -x Delete only debugging, empty, compiler identification, and local symbols. strip exits 0 on success and 1 if an error occurred.
SEE ALSO
cc(1), ld(1), stab(5)
HISTORY
A strip command appeared in Version 6 AT&T UNIX. 4.4BSD June 6, 1993 1

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.