[cfe-dev] Libtool search path on MacOS

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


On 2017-06-26 22:40, scott constable via cfe-dev wrote:
> Hmmm. I have the same issue as this gentleman:
> https://forums.developer.apple.com/thread/71209. I do have Xcode CLI
> tools installed, but it has installed an older version of libc++ in my
> /usr/include. The installed directory is /usr/include/c++/4.2.1 (I think
> this is either C++03 or C++98), but my libtool expects
> /usr/include/c++/v1. So is this actually an unresolved issue with Xcode?

Hmm, that's interesting. c++/4.2.1 is the old libstdc++ and c++/v1 is 
the new libc++, IIRC.

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".

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list