[LLVMdev] $(LLVMOBJDIR)/include should be added to the serch path

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Apr 20 16:50:44 PDT 2006


If llvm is build with srcdir != objdir, building gcc will fail with

../../llvm-gcc4-1.7.source/gcc/llvm-internal.h:36:36: error:
llvm/Support/DataTypes.h: No such file or directory

This happens because DataTypes.h is a generated header.

Adding -I$(LLVMOBJDIR)/include to INCLUDES in Makefile.in:878 solves
the problem.

One more thing, is the modified GCC available in some svn or cvs repository?

Thanks,
Rafael




More information about the llvm-dev mailing list