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

Re: Executable strip cris-strip

Ronny L Nilsson wrote:
>>get an executable that is 22K. Both of the files seem to run fine on
>>my Axis box. What is the disadvantage of stripping the executable?
> When striping youre removing debug informatoin from the file. It's 
> common to do this in embedded systems since they're mostly short of 
> diskstorage. The dissadvantage is usually that your application get 
> much harder to debug (if necessary).

When debugging in an embedded environment you typically keep the unstripped 
binary on your host (which you load into GDB), and use the stripped binary only 
in the target.

Orjan Friberg
Axis Communications