[LLVMdev] Creating a new project using LLVM

陳韋任 (Wei-Ren Chen) chenwj at iis.sinica.edu.tw
Thu Jun 28 03:35:18 PDT 2012

> I tried to compile the C files into LLVM bitcode and then compile then using
> llc. But can I use this method to compile a group of files(with dependencies)?
> Because the gzip files I downloaded has a bunch of source code and it uses a
> makefile to compile/install. 

  Replacing CC in the Makefile from gcc to clang/dragonegg should do the trick.

Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj

More information about the llvm-dev mailing list