Talk:CFLAGS

From Gentoo Linux Wiki

Jump to: navigation, search

Is it true that -fomit-frame-pointer increases binary size?


Why are there multiple definitions for -march and -pipe?

Do I have an option to compile with full debugging info so I can generate a backtrace and coredump when reproducing a bug, or perhaps to run one app or set of apps under valgrind?


  • The GCC flag -Wall doesn't actually enable all possible warning flags. There are several that can be useful but are not implied by -Wall, such as -Wwrite-strings, -Wshadow, -Wstrict-prototypes etc.
Personal tools