Folks,
I’m trying to compile the llvm-gcc-4.2-29 frontend at Ubunt 10.04 64bits following the steps described at README.LLVM conform the llvm/docs page.
My commands:
mkdir llvm-gcc-build
cd llvm-gcc-build/
…/llvm-gcc-4.2-2.9.source/configure --disable-multilib --program-prefix=llvm- --enable-llvm=/home/bruno/projects/llvm/src/llvm-3.0.src/ --enable-languages=c,c++
make ENABLE_OPTIMIZED=1
and i’m having the following errors:
…/…/llvm-gcc-4.2-2.9.source/gcc/llvm-backend.cpp:38:42: error: llvm/Target/SubtargetFeature.h: No such file or directory
…/…/llvm-gcc-4.2-2.9.source/gcc/llvm-backend.cpp:42:40: error: llvm/Target/TargetRegistry.h: No such file or directory
…/…/llvm-gcc-4.2-2.9.source/gcc/llvm-backend.cpp:50:41: error: llvm/Support/StandardPasses.h: No such file or directory
These headers really aren’t in the indicated paths. The last header there isn’t on tree.
If i try to replace the first and second include paths i have others errors.
Somebody can help me ?
I could not understand why the llvm-backend.cpp isn’t compiling.
Is there some wrong/missing parameter ?
Thanks.
Best Regards,