[cfe-dev] How does clang++ find the g++ include paths?
hans at chromium.org
Fri Dec 20 10:00:48 PST 2013
Running clang with "-v" and some input file should print some info
about which directories it's looking at, which can be useful for
debugging this kind of thing.
On Fri, Dec 20, 2013 at 9:38 AM, Yaron Keren <yaron.keren at gmail.com> wrote:
> I think the paths are in ToolChains.cpp and InitHeaderSearch.cpp depending
> on the OS.
> Search for "/usr/" to find more maybe-relevant sources.
> 2013/12/20 Martin Martin <martin at infinio.com>
>> 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?
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev