Re: Which editor for C/C++ programming, and more...



Cory Watson writes:

 > As for strip, someone can probably give you more info than me, but to the
 > best of my understanding, strip removes alot of debugging information from
 > your executables.  I'm sure theres more to it than that, but unless you

Strip basically removes all the symbols it safely can, so you there
isn't much for your debugger to latch onto.

It can be useful when you want to distribute binarys, but doesn't
(under linux anyway) affect the amount of RAM that your executable
takes up because the debugging symbols _aren't_loaded_into_RAM_ to
begin with. This may vary from OS to OS. 

The only real use for strip these days IMO is when you have to
distribute something in binary format where it has to be as small as
possible (say, over a per-minute charge net-connection) or when you're 
comparing compilers (in which case the only fair comparision is to use 
the same code in each one, at maximum optimisation and no debugging
information, and then strip the binaries before comparing for size etc).

- Aidan

-- 
http://www.skinner.demon.co.uk/aidan/
Currently looking for work: CV available on request.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]