I am trying to build a lto and gloog capable version of gcc. I first compiled gcc with-libelf and enable-lto, but the resulting binary doesn't seem to understand -flto. Any ideas?. ../gcc-4.4.3/configure --target=arm-elf --disable-nls --with-gcc --with-dwarf2 --with-libelf=/usr/local/ --with-mpfr=/usr/local/ --with-gmp=/usr/local/ --enable-lto --enable-languages=c,c++ --enable-interwork --enable-multilib --with-newlib --with-headers=../newlib-1.17.0-base/newlib/libc/include/ --disable-libstdcxx-pch && make -j2 -- View this message in context: http://old.nabble.com/Link-Time-Optimization.-tp27322617p27322617.html Sent from the gcc - Help mailing list archive at Nabble.com.