This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Why does my executable size not change?
- From: richardcavell at mail dot com
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 26 Mar 2011 05:14:17 -0400
- Subject: Why does my executable size not change?
Hi, everyone.
I'm compiling using gcc -std=c99 -pedantic -Wall -Wextra, no
optimization, on Ubuntu 10.10 32-bit. Currently my executable size is
54956 bytes.
Occasionally I change a small bit of code, and recompile. My
executable file size doesn't change, even when the code definitely does
something different. However, I would like to know what changes are
made. Occasionally I could code thing one way or another, and if I
could shave off a few bytes doing it the other way, I'd like to do it.
Why does the executable size not change? Is there some type of
rounding-up going on?
Richard