How to install Xcode for LLVM / Clang development?

I installed LLVM and Clang on macOS Sierra.

So far I have used the command llvm-configto compile with clang. This works fine, and I can compile and link LLVM training programs from the command line.

However, I would like a professional development environment for development with type checking and proper debugging.

The problem is that I don’t know how to install Xcode for LLVM / Clang development ...

I include C ++ headers in the directory include/llvm, and I think I'm passing libraries to the linker, but something is wrong:

At the compilation stage, I get a linker error saying, for example, that the character was parseIRFilenot found. However, the IDE can see the functions in the header files.

Anyone help me in creating Xcode for LLVM / Clang development? I am new to macOS and Xcode, so please explain what steps are needed.

Many thanks.

+4
source share

Source: https://habr.com/ru/post/1667242/


All Articles