Cross-compile the LLVM + clang

1.Checkout llvm/clang/compiler-rt(optional)
2.Organize the directory like:
llvm/
    /tools/clang
    /projects/compiler-rt
3.Run the script below in Terminal.
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE:String=Release ../obfuscator/
$ make -j5 //5 is the compiler threads, make it bigger to compile faster.

评论

此博客中的热门博文

使__attribute__((annotate("xxx")))能作用于OC函数

viewWillAppear不执行的解决办法

iOS中使用xpc/xpc.h