[cfe-dev] clang built from source in Mac OSX 10.14 with apple-clang/Xcode missing stdlib from include search path

Sean McBride via cfe-dev cfe-dev at lists.llvm.org
Mon Dec 9 15:45:25 PST 2019


On Wed, 25 Sep 2019 14:49:57 +0200, Hans Wennborg via cfe-dev said:

>I'm always confused when trying to get locally-built Clang to find
>stdlib headers on my Mac.
>
>Last time, after upgrading to Mojave, following the TL;DR advice from
>this answer made it work for me: https://stackoverflow.com/a/52530212

Seems that advice is obsolete. :(  Nothing else I found online worked either.

>It would certainly be nice if this could somehow work out of the box.

Until then, anyone know how to make one's own build of clang find C++ headers on macOS?

Thanks,

Sean




More information about the cfe-dev mailing list