This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]