How to compile LLVM .cpp file in Windows

130 Views Asked by At

I have a file I found on the internet which uses LLVM API, it is supposed to compile with the following command (UNIX):

clang++ test-functionpass.cpp `llvm-config --cxxflags --ldflags --libs core` -shared -o test-functionpass.so

Is it possible to compile on Windows? I have installed LLVM 3.6, Mingw, cygwin but I have not successfully run this command to compile the file. any idea?

0

There are 0 best solutions below