Hi, I compiled gcc with the following options: ../gcc-4.9.2/configure CFLAGS="-O0 -g" CXXFLAGS="-O0 -g" --enable-threads -with-gnu-as \ --with-gnu-ld --with-newlib --verbose \ --with-system-zlib --disable-nls \ --enable-version-specific-runtime-libs \ --enable-languages=c,c++,ada \ --target=arm-rtems4.11 \ --prefix=/opt/rtems-arm/ \ --enable-checking=yes But although I set CFLAGS and CXXFLAGS still I can find a lot of places in the log where the optimization level is set to -O2. This leads to the problem that when debugging of the Ada runtime a lot of variables are optimized out. How can I enforce that the whole cross-compiler is built without any active optmizations? Best regards, Jan