I have built LLVM & Clang according to the docs at
When I cd BUILD_DIR/examples and type make the system responds,
llvm-config: unknown component name: jit
make: Entering directory `/work/make_llvm/examples/BrainF'
/work/llvm/Makefile.rules:1071: *** llvm-config --libs failed. Stop.
make: Leaving directory `/work/make_llvm/examples/BrainF'
make: *** [BrainF/.makeall] Error 2
Seems like there's no JIT support, or llvm-config can't find it. But
LLVM compiles with JIT support enabled by default according configure
--help, and I see at least one JIT related library called
libLLVMMCJIT.a in /work/my_llvm/lib.
How do I build the LLVM examples? Apparently there has been a
reorganisation of the JIT component in LLVM, and I'm told this example
may have been left behind.