[LLVMdev] building llvm-gcc/llvm-g++

Daniel Waterworth
2009-10-14T08:14:35Z

Hi,

I'm having trouble building the llvm-gcc frontend. I'm working with
llvm-gcc4.2-2.5. I'm on 32bit x86 linux. I removed the file GNUmakefile,
then built it with:

./configure --enable-languages=c,c++ --with-llvm=~/llvm/backend/llvm-2.5
make

~/llvm/backend/llvm-2.5 is where the backend was untared and built, but not
installed.

After I'd done this there was a file in host-i686-pc-linux-gnu/gcc called
xgcc. If I try to build with this however it won't accept the --emit-llvm
option with the error message:

xgcc: --emit-llvm is not supported in this configuration.

What option should I change in the configure command to get it to build in
such a way that "--emit-llvm" will work?

Thanks,

Daniel Waterworth
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20091014/34fed8e5/attachment.html>