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

Hans Wennborg 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.

 - Hans

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.
>
> 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
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list