[LLVMdev] problems while building llvm-gcc 4.2.2-8
Anton Korobeynikov
anton at korobeynikov.info
Mon Dec 13 08:15:06 PST 2010
Hello
> $./llvm-gcc-4.2-2.8.source/configure --prefix=`pwd`/../install
> --program-prefix=llvm- --enable-llvm=/home/qali/install/llvm-2.8
> --enable-languages=c,c++$EXTRALANGS --target=i686-pc-linux-gnu
> --with-tune=generic --with-arch=pentium4
> $make LLVM_VERSION_INFO=2.8
> Here came the error:
>
> /home/qali/install/llvm_gcc/obj/./gcc/as: line 2: exec: -Q: invalid option
> exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection
You're effectively building a cross-compiler (from x86_64-linux to i686-linux).
For this you need to have 32-bit tools installed (e.g.
i686-pc-linux-gnu-as and friends)
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list