<font>Folks,</font><div><font><br></font></div><div><font>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.</font></div><div>

My commands:</div><div><br></div><div>mkdir llvm-gcc-build</div><div>cd llvm-gcc-build/</div><div>../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++</div>

<div>make ENABLE_OPTIMIZED=1</div><div><br></div><div>and i'm having the following errors:</div><div><div>../../llvm-gcc-4.2-2.9.source/gcc/llvm-backend.cpp:38:42: error: llvm/Target/SubtargetFeature.h: No such file or directory</div>

<div>../../llvm-gcc-4.2-2.9.source/gcc/llvm-backend.cpp:42:40: error: llvm/Target/TargetRegistry.h: No such file or directory</div><div>../../llvm-gcc-4.2-2.9.source/gcc/llvm-backend.cpp:50:41: error: llvm/Support/StandardPasses.h: No such file or directory</div>

</div><div><br></div><div>These headers really aren't in the indicated paths. The last header there isn't on tree. </div><div>If i try to replace the first and second include paths i have others errors.</div><div>

<br></div><div>Somebody can help me ? </div><div>I could not understand why the llvm-backend.cpp isn't compiling. </div><div>Is there some wrong/missing parameter ? </div><div><br></div><div>Thanks.</div><div>Best Regards,</div>

<div><div><br></div>-- <br>Bruno Carvalho<br><br><br>
</div>