[LLVMdev] How to build the 'example' projects ?
陳韋任 (Wei-Ren Chen)
chenwj at iis.sinica.edu.tw
Thu Sep 6 02:13:11 PDT 2012
> Same problem as before.
> Makefile:11: ../Makefile.config: No such file or directory
> ../Makefile.common:60: ../Makefile.config: No such file or directory
> ../Makefile.common:68: /Makefile.rules: No such file or directory
> make: *** No rule to make target `/Makefile.rules'. Stop.
> Did that work for you ?
> I updated the source tree just now, so my local repo isn't out of order.
Sorry. Try below instead,
$ cd $LLVM_BUILD/examples
$ make; make install
You should find example binary in your install directory. I tried LLVM
3.1 release, but I think trunk should not have problem.
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
More information about the llvm-dev