On Wed, Jul 2, 2014 at 7:18 PM, Marc Glisse <marc.glisse@xxxxxxxx> wrote: > Specifying --target means you are building a cross-compiler. If that's > really what you want, you need to specify a sysroot at least. When I add --with-sysroot then make all-gcc complains about system headers (although I'm using --without-headers). The directory that should contain system headers does not exist: /usr/local/build-system/cpp/linux32/gcc/usr/include make[1]: *** [stmp-fixinc] Error 1 make[1]: Leaving directory `/usr/local/build-system/cpp/cpp-build-tools/build-linux32/gcc/gcc' make: *** [all-gcc] Error 2 configure --prefix=/usr/local/build-system/cpp/linux32/gcc --with-sysroot=/usr/local/build-system/cpp/linux32/gcc --target=i686-elf --enable-32bit --disable-64bit --enable-languages=c,c++ --disable-multilib --enable-threads=posix --disable-nls --disable-shared --enable-checking=release --enable-lto --enable-version-specific-runtime-libs --without-headers I'm going try to remove some options to see if that helps.