This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,
When debugging gcc, debugger sometimes seems mad because it jumps from one place to another maybe due to the fact that some functions are inlined. How can I build a gcc in debug mode id without -O2 ?
In gcc Makefile I can see that :
CFLAGS_FOR_BUILD = -g -O2
CXXFLAGS_FOR_BUILD = -g -O2
BOOT_CFLAGS= -g -O2
Maybe I need to pass some flags to configure ?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |