unable to build gcc 4.9.0 for i686-elf target with posix threads

Marc Glisse marc.glisse@inria.fr
Wed Jul 2 16:19:00 GMT 2014


On Wed, 2 Jul 2014, Ragnar Rüütel wrote:

>> You don't need a new GCC, just compile with -m32
>
> Unfortunately, for reasons too awkward to explain here, this is not an
> option for me, so I have to build with i686-* target.

Well, don't be surprised if we can't help when we don't know what the 
problem is.

> $binutils_src/configure
> --prefix=/home/ragnar/cpp-tools/compiler/linux32/gcc
> --target=i686-unknown-linux-gnu --disable-multilib --disable-nls
> --disable-shared --disable-werror

Specifying --target means you are building a cross-compiler. If that's 
really what you want, you need to specify a sysroot at least.

-- 
Marc Glisse



More information about the Gcc-help mailing list