Link Time Optimization.
Ian Lance Taylor
iant@google.com
Wed Jan 27 15:29:00 GMT 2010
teqguru <alfredo.cabral@code-ing.com> writes:
> 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
You need to tell us what you tried to do, what you expected to happen,
and exactly what happened.
Ian
More information about the Gcc-help
mailing list