[LLVMdev] compiling clang with a obj/ dir

Holger Schurig hs4233 at mail.mn-solutions.de
Sat Jul 14 10:25:31 PDT 2007


I can compile LLVM using with this method:

svn co ...
cd llvm
./configure ...
make

or with that one:

svn co ...
mkdir obj
cd obj
../llvm/configure ...
make


How does the second method work with the new, experimental C 
compiler, "clang" ?  The doc said that you put the clang sourcecode 
into llvm/tools/clang, change into this directory and simply 
enter "make". This seems to be not possible with the second method, at 
least not in a way that separates sources and binaries.



More information about the llvm-dev mailing list