Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
PHP Web Host - Quality Web Hosting For All PHP Applications

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 68 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       strip [-F bfdname |--target=bfdname]
             [-I bfdname |--input-target=bfdname]
             [-O bfdname |--output-target=bfdname]
             [-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] [--info]


       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.


       -F bfdname
           Treat the original objfile as a file with  the  object
           code  format  bfdname, and rewrite it in the same for­

           Show a summary of the options to strip and exit.

           Display a list showing all  architectures  and  object
           formats available.

       -I bfdname
           Treat  the  original objfile as a file with the object
           code format bfdname.

       -O bfdname
           Replace objfile with a file in the output format  bfd­

       -R sectionname
           Remove  any  section named sectionname from the output
           file.  This option may be given more than once.   Note
           Remove all symbols that are not needed for  relocation

       -K symbolname
           Keep  only  symbol  symbolname  from  the source file.
           This option may be given more than once.

       -N symbolname
           Remove symbol symbolname from the  source  file.  This
           option  may  be  given more than once, and may be com­
           bined 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.

           Preserve the access  and  modification  dates  of  the

           Remove non-global symbols.

           Remove  compiler-generated local symbols.  (These usu­
           ally start with L or ..)

           Strip a file, removing  any  sections  that  would  be
           stripped  by  --strip-debug  and leaving the debugging

           The intention is that this option will be used in con­
           junction with --add-gnu-debuglink to create a two part
           executable.  One a stripped binary which  will  occupy
           less space in RAM and in a distribution and the second
           a debugging information file which is only  needed  if
           debugging  abilities are required.  The suggested pro­
           cedure to create these files is as follows:

           1.<Link the executable as normal.  Assuming that is is
               "foo" then...

           1.<Run "objcopy --only-keep-debug foo foo.dbg" to>
               create a file containing the debugging info.

           1.<Copy "foo" to  "foo.full">
           1.<Run "strip --strip-debug foo">
           1.<Run "objcopy --add-gnu-debuglink=foo.full foo">

           ie the file pointed to by the --add-gnu-debuglink  can
           be the full executable.  It does not have to be a file
           created by the --only-keep-debug switch.

           Show the version number for strip.

           Verbose output: list all object  files  modified.   In
           the  case  of  archives, strip -v lists all members of
           the archive.


       the Info entries for binutils.


       Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99,  2000,
       2001, 2002, 2003 Free Software Foundation, Inc.

       Permission  is  granted  to copy, distribute and/or modify
       this document under the terms of the GNU  Free  Documenta­
       tion  License,  Version 1.1 or any later version published
       by the Free Software Foundation; with  no  Invariant  Sec­
       tions,  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''.

binutils-        2003-09-23                   STRIP(1)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can help in many different ways.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds