Thread: about strip

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    about strip

    Hello everyone,


    Could anyone show me how to use strip under Linux, for example, strip -s. I have read the Linux man manual of strip, but more confused after reading it.

    I am also wondering in what situations do you use it?


    thanks in advance,
    George

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    We're not your manual pages.
    Also, quit posting posts like this on the C board.

    The symbol table is used by the debugger.
    Removing it makes the file both smaller and much harder to debug.
    There's not much else to say.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Thank you Salem,


    Quote Originally Posted by Salem
    We're not your manual pages.
    Also, quit posting posts like this on the C board.

    The symbol table is used by the debugger.
    Removing it makes the file both smaller and much harder to debug.
    There's not much else to say.
    I think for debug mode application, we should not remove the symbol table, right?


    regards,
    George

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well you could try debugging a stripped application just so you know...

    Besides, there isn't really a lot of need with todays really cheap disks and plentiful memory. It's only when you're doing something odd like trying to get Linux onto a floppy where every byte counts.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GNU strip inquiry
    By Chris87 in forum Tech Board
    Replies: 2
    Last Post: 07-05-2009, 08:04 PM
  2. Memory Analyzer Tool
    By edesign in forum C Programming
    Replies: 9
    Last Post: 06-08-2009, 12:54 PM
  3. Command to strip out comments in source files
    By cyberfish in forum Tech Board
    Replies: 19
    Last Post: 11-13-2008, 02:50 PM
  4. strip out certain characters
    By bradleyd in forum C Programming
    Replies: 10
    Last Post: 04-20-2007, 02:57 PM
  5. Strip at bottom of HTML table
    By sean in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 05-17-2003, 07:27 AM