[cfe-dev] c libraries implementation

James Gregurich bayoubengal at mac.com
Thu Oct 10 12:45:28 PDT 2013


thanks for the info. I was referring to the case where clang is the compiler. 

So if one wanted to use an alternative set of compatible libc headers, he would merely have to provide his own header search paths rather than allow it to use the default ones?

-James


On Oct 10, 2013, at 12:38 PM, Yaron Keren <yaron.keren at gmail.com> wrote:

> Do you mean when clang is being built or when clang compiles something?
> The first is in the build environment. 
> The second depends upon the target, there are functions in InitHeaderSearch.cpp that try to locate the include dirs. The libraries come with the linker and linker switches since clang doesn't link by itself.
> 





More information about the cfe-dev mailing list