Hacker News new | past | comments | ask | show | jobs | submit login
Samples for using LLVM and Clang as a library (thegreenplace.net)
87 points by nkurz on Nov 13, 2014 | hide | past | web | favorite | 3 comments

In Debian sid you can install stuff like llvm-3.5-dev llvm-3.5 llvm-3.5-examples llvm-3.5-runtime llvm-3.5-tools libllvm3.5 libclang1-3.5 libclang-common-3.5-dev libclang-3.5-dev clang-3.5-examples clang-3.5 libedit-dev and maybe some more. Then start via: make LLVM_BUILD_PATH=/usr/lib/llvm-3.5/build LLVM_SRC_PATH=/usr/lib/llvm-3.5

Have fun!

In terms of building LLVM and clang, I wrote this ShutIt module a while back when trying to learn it myself:


I bought https://www.packtpub.com/application-development/getting-sta... recently. It seems like a fairly good book. I haven't finished it yet.

Applications are open for YC Winter 2020

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact