[cfe-dev] Libtool search path on MacOS

Jacob Carlborg via cfe-dev cfe-dev at lists.llvm.org
Mon Jun 26 09:44:56 PDT 2017


On 2017-06-26 16:35, scott constable via cfe-dev wrote:

> But when I build it on MacOS, it doesn't find any gcc installation (though I do
> have it installed with homebrew). Since I'm building out-of-tree, the
> "../lib/clang/x.y.z/include" path is invalid. So the tool cannot locate
> C/C++ header files. My current workaround is to use the C_INCLUDE_PATH
> and CPLUS_INCLUDE_PATH environment variables to point to my C/C++
> installations. Is there a better way of doing this on Mac?

I don't think that homebrew installs anything in any of the default 
paths. I would recommend installing Xcode and the command line tools. Or 
alternatively only the command line tools.

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list