For ease of debugging STK software, use the following configure command:3
configure --enable-debug CPPFLAGS="-g -O0"The -enable-debug flag turns on some diagnostic printout in the STK source. The compiler flag -g results in symbols and line-numbers being retained in the compiler output .o file (useful for single-step debugging in gdb), and the -O0 compiler flag turns off optimization--also often needed for single-stepping at the source level in gdb.