I'm trying to work with eclipse to compile/debug C/C++ applications on MAC OSX using LLVM/Clang.
I know I have the toolchain correctly installed as I can compile with it from the terminal using a makefile, and when running clang -v
I get the LLVM version + install dir correctly.
I downloaded a fresh copy of eclipse C++ (Mars) + installed the LLVM support plugin and followed: Unable to install LLVM toolchain for Eclipse CDT
Copied the install dir path from the clang -v
output to the LLVM part in the preferences -> c++ -> LLVM, but it seems eclipse does not detect the toolchain.
It does not appear as an option when creating a new C++ project unless I uncheck the "only show supported toolchains on the target" checkbox , and when I do uncheck it and create a LLVM project for MACOS in the build process it says:
Toolchain "LLVM with Clang (MacOSX)" is not detected.
Refer to "C/C++ Development User Guide", "Before you begin" how to install toolchains.
All it says in the manual is to install Xcode to get the toolchain running , which I obviously did as it is working from the terminal.
Any ideas? How does Eclipse detect the toolchain exists?