xref: /csrg-svn/usr.bin/strip/strip.1 (revision 62259)
1*62259Sbostic.\" Copyright (c) 1989, 1990, 1993
2*62259Sbostic.\"	The Regents of the University of California.  All rights reserved.
319484Smckusick.\"
449514Scael.\" %sccs.include.redist.roff%
539693Sbostic.\"
6*62259Sbostic.\"     @(#)strip.1	8.1 (Berkeley) 06/06/93
739693Sbostic.\"
848514Scael.Dd
948514Scael.Dt STRIP 1
1049514Scael.Os
1148514Scael.Sh NAME
1248514Scael.Nm strip
1348514Scael.Nd remove unnecessary information from executable files
1448514Scael.Sh SYNOPSIS
1548514Scael.Nm strip
1649891Sbostic.Op Fl d
1749891Sbostic.Ar file ...
1848514Scael.Sh DESCRIPTION
1948514ScaelThe
2048514Scael.Nm strip
2148514Scaelutility
2248514Scaeldeletes the relocation information and symbol table used by
2348514Scaelassemblers, loaders and debuggers.
2448514ScaelThis significantly
2548514Scaeldecreases the size of the installed binaries and saves disk space.
2648514Scael.Pp
2749891SbosticThe options are as follows:
2849891Sbostic.Bl -tag -width Ds
2949891Sbostic.It Fl d
3049891SbosticDelete only debugging and empty symbols.
3149891Sbostic.El
3249891Sbostic.Pp
3348514Scael.Nm Strip
3449891Sbosticexits 0 on success and 1 if an error occurred.
3548514Scael.Sh SEE ALSO
3648514Scael.Xr cc 1 ,
3749891Sbostic.Xr ld 1 ,
3849891Sbostic.Xr stab 5
3948514Scael.Sh HISTORY
4048514ScaelA
4148514Scael.Nm
4248514Scaelcommand appeared in
4348514Scael.At v6 .
44