[LLVMdev] clang build fails if done in the separate object directory

Yuri yuri at rawbw.com
Thu Jun 10 01:23:50 PDT 2010

I did these steps:
* checked out llvm trunk, and clang trunk
* created symbolic link llvm/tools/clang
* created separate folder: llvm-objects
* run configure and gmake in llvm-objects

It builds ok until it hits clang, at which point I get an this error:
gmake[2]: Entering directory `/tmp/llvm-svn/llvm-objects/tools/clang'
Makefile:44: Makefile.config: No such file or directory
Makefile:127: /Makefile.rules: No such file or directory
gmake[2]: *** No rule to make target `/Makefile.rules'.  Stop.
gmake[2]: Leaving directory `/tmp/llvm-svn/llvm-objects/tools/clang'
gmake[1]: *** [clang/.makeinstall] Error 2
gmake[1]: Leaving directory `/tmp/llvm-svn/llvm-objects/tools'
gmake: *** [install] Error 1


More information about the llvm-dev mailing list