Default system-wide GCC options
Hi,
When I build a program from the source with usual ./configure & make route, the gcc passes the -g option when compiling, which results in bloated binaries. I check Makefile after ./configure, but there is no -g in CFLAGS and like, so it seems it is like a 'system default'. How can I change it so that no -g is passed by default? |
Quote:
Quote:
|
Yes, as I stated above it severely enlarges the output executables. I am almost certain that it is becuase of the -g parameter. It leaves the symbols that are helpful in debugging inside the executable.
As an example, it doubles the size in the case of FCEUltra (a Nintendo emulator) |
All times are GMT -5. The time now is 08:25 AM. |