C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 08-27-2006, 06:33 AM   #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
George2 is offline   Reply With Quote
Old 08-27-2006, 06:50 AM   #2
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
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.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Old 08-28-2006, 09:51 AM   #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
George2 is offline   Reply With Quote
Old 08-28-2006, 10:09 AM   #4
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
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.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 01:38 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22