hi,
i finished a project recently but the size of the executable is still big due
to debugging symbols. How can i remove them without resorting to command line
tools like strip.exe (i found this in the directory c:\dev-cpp\bin and i
managed to get it to do the job)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
i finished a project recently but the size of the executable is still big due
to debugging symbols. How can i remove them without resorting to command line
tools like strip.exe (i found this in the directory c:\dev-cpp\bin and i
managed to get it to do the job)
-g0 as a compile option is the old fashioned way.
Tangential trivia...
Keep in mind that code compiled for speed may in fact also be larger due to
inlining of functions / unrolling of loops etc.
You can also do a strip of the symbol table from the compile option front, I
beleive
-s
is the way it is invoked, but it has been a long time, and I am old
and short of memory