[llvm-dev] [cfe-dev] ../../../Makefile.common:60:../../../Makefile.config:don't have that file or directory

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 14 06:57:09 PDT 2015

On 14 October 2015 at 04:55, Q Z via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> why? can anyone help me?

LLVM's Makefiles aren't meant to be used in isolation. You'll probably
find LLVMHello.so was already built and installed as part of the
normal build process. If you change the source, you'd rebuild it by
running make from the overall build directory.

Alternatively, for passes you often only needusually only need to use
something as simple as"clang `llvm-config --cxxflags --libs --ldflags`
-fno-rtti llvm/lib/Transforms/Hello/Hello.cpp -shared -o Hello.so".



More information about the llvm-dev mailing list