<div dir="ltr">I just found the rest of the thread here: <a href="https://lists.apple.com/archives/xcode-users/2017/Jan/msg00089.html">https://lists.apple.com/archives/xcode-users/2017/Jan/msg00089.html</a>. The upshot is that C++ headers are no longer installed to /usr/include on MacOS. When you install the Xcode command-line tools, the C++ headers are stored in /Library/Developer/CommandLineTools/usr/include/c++/v1. So libtools built on MacOS should look here instead of /usr/include/c++/v1. How can this be done?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 26, 2017 at 4:55 PM, Jacob Carlborg via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2017-06-26 22:40, scott constable via cfe-dev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hmmm. I have the same issue as this gentleman:<br>
<a href="https://forums.developer.apple.com/thread/71209" rel="noreferrer" target="_blank">https://forums.developer.apple<wbr>.com/thread/71209</a>. I do have Xcode CLI<br>
tools installed, but it has installed an older version of libc++ in my<br>
/usr/include. The installed directory is /usr/include/c++/4.2.1 (I think<br>
this is either C++03 or C++98), but my libtool expects<br>
/usr/include/c++/v1. So is this actually an unresolved issue with Xcode?<br>
</blockquote>
<br></span>
Hmm, that's interesting. c++/4.2.1 is the old libstdc++ and c++/v1 is the new libc++, IIRC.<br>
<br>
I'm not sure how it should behave. I noticed that if I add the "-stdlib=libstdc++" flag it will look in the "/usr/include/c++/4.2.1" directory instead of "/usr/include/c++/v1".<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
/Jacob Carlborg<br>
<br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div>