Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
strip(1)
Edit
PageHistory
Diff
Info
LikePages
STRIP !!!STRIP NAME SYNOPSIS DESCRIPTION OPTIONS SEE ALSO COPYRIGHT ---- !!NAME strip - Discard symbols from object files. !!SYNOPSIS strip [[__-F__ ''bfdname'' __--target=__''bfdname'' ] [[__-I__ ''bfdname'' __--input-target=__''bfdname'' ] [[__-O__ ''bfdname'' __--output-target=__''bfdname'' ] [[__-s--strip-all__] [[__-S-g-d--strip-debug__] [[__-K__ ''symbolname'' __--keep-symbol=__''symbolname'' ] [[__-N__ ''symbolname'' __--strip-symbol=__''symbolname'' ] [[__-x--discard-all__ ] [[__-X --discard-locals__] [[__-R__ ''sectionname'' __--remove-section=__''sectionname'' ] [[__-o__ ''file'' ] [[__-p--preserve-dates__] [[__-v --verbose__] [[__-V--version__] [[__--help__] ''objfile''... !!DESCRIPTION GNU __strip__ discards all symbols from object files ''objfile''. The list of object files may include archives. At least one object file must be given. __strip__ modifies the files named in its argument, rather than writing modified copies under different names. !!OPTIONS __-F__ ''bfdname'' __--target=__''bfdname'' Treat the original ''objfile'' as a file with the object code format ''bfdname'', and rewrite it in the same format. __--help__ Show a summary of the options to __strip__ and exit. __-I__ ''bfdname'' __--input-target=__''bfdname'' Treat the original ''objfile'' as a file with the object code format ''bfdname''. __-O__ ''bfdname'' __--output-target=__''bfdname'' Replace ''objfile'' with a file in the output format ''bfdname''. __-R__ ''sectionname'' __--remove-section=__''sectionname'' Remove any section named ''sectionname'' from the output file. This option may be given more than once. Note that using this option inappropriately may make the output file unusable. __-s__ __--strip-all__ Remove all symbols. __-g__ __-S__ __-d__ __--strip-debug__ Remove debugging symbols only. __--strip-unneeded__ Remove all symbols that are not needed for relocation processing. __-K__ ''symbolname'' __--keep-symbol=__''symbolname'' Keep only symbol ''symbolname'' from the source file. This option may be given more than once. __-N__ ''symbolname'' __--strip-symbol=__''symbolname'' Remove symbol ''symbolname'' from the source file. This option may be given more than once, and may be combined with strip options other than __-K__. __-o__ ''file'' Put the stripped output in ''file'', rather than replacing the existing file. When this argument is used, only one ''objfile'' argument may be specified. __-p__ __--preserve-dates__ Preserve the access and modification dates of the file. __-x__ __--discard-all__ Remove non-global symbols. __-X__ __--discard-locals__ Remove compiler-generated local symbols. (These usually start with __L__ or __.__.) __-V__ __--version__ Show the version number for __strip__. __-v__ __--verbose__ Verbose output: list all object files modified. In the case of archives, __strip -v__ lists all members of the archive. !!SEE ALSO the Info entries for ''binutils''. !!COPYRIGHT Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled `` GNU Free Documentation License''. ----
2 pages link to
strip(1)
:
CompilingHowto
Man1s
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.