Mail Archives: djgpp/1998/01/11/05:52:25
Matthew R Krause wrote :
>
> What exactly does strip.exe do -- I've noticed it shrinks the size of my
> executables by ~40-50%, but how?
It removes any debugging information from your executable.
This information is needed when you want to debug your program.
And this information is needed _only_ for debugging, that means
you now loose anything when you strip your executable (except of
course the aibility to debug your program).
BTW: You can create the stripped executable already at link time,
when you add the -s switch for gcc, like:
gcc -s -o foo.exe foo.o
Robert
--
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -