-
to reduce footprint
Hello everyone,
I am wondering how to reduce the footprint of a binary build (C/C++) program generated by gcc.
1. Any ideas of reduce the footprint of a debug version build?
2. Any ideas of reduce the footprint of a release version build?
I think some linker or compiler options may help, what are they? Any other ideas to reduce footprint?
thanks in advance,
George
-
-
First try stripping the executable. This can be done during compiling by passing -s or after compiling is done by using the command strip (followed with a parameter like --strip-unneeded).
The second method or step is to use an executable packer. http://www.upx.org/