[cfe-dev] How does clang++ find the g++ include paths?

Yaron Keren yaron.keren at gmail.com
Fri Dec 20 09:38:28 PST 2013


I think the paths are in ToolChains.cpp and InitHeaderSearch.cpp depending
on the OS.

Search for "/usr/" to find more maybe-relevant sources.

Yaron



2013/12/20 Martin Martin <martin at infinio.com>

> Hi,
>
> We're trying to get clang++ working in a chroot directory, and
> currently it's not finding any of the g++ include dirs, e.g.
> /usr/include/c++/4.8.  How does it find those?  Does it invoke g++?
> Is there any way to get more information about what's going wrong?
>
> Thanks,
>
> Martin
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131220/a2c78bac/attachment.html>


More information about the cfe-dev mailing list