unable to build gcc 4.9.0 for i686-elf target with posix threads
Ragnar Rüütel
ragnar.ruutel@gmail.com
Thu Jul 3 15:49:00 GMT 2014
On Wed, Jul 2, 2014 at 7:18 PM, Marc Glisse <marc.glisse@inria.fr> 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.
More information about the Gcc-help
mailing list