[cfe-dev] [patch] Add configure option for C include search path

Chandler Carruth chandlerc at google.com
Tue Nov 10 18:12:37 PST 2009


On Tue, Nov 10, 2009 at 6:09 PM, Rafael Espindola <espindola at google.com> wrote:
> 2009/11/4 Rafael Espindola <espindola at google.com>:
>> The attached patches adds support defining the C search paths with configure:
>>
>> ../src/configure --with-include-dirs=foo:bar:zed
>>
>> Will create a clang binary that searches for C headers in foo, bar and
>> zed. If the
>> option is not given, the current runtime search is done.
>
> Ping for the C option.

In general, I think what you described for C meshes well w/ the C++
syntax we hashed out. Everywhere there are multiple paths, they are
separated with colons, and all have the same semantic meaning as
described by the option name. Fortunately, C only needs one semantic
meaning, a flat list of paths.

-Chandler

>
>> Cheers,
>> --
>> Rafael Ávila de Espíndola
>>
>
> Cheers,
> --
> Rafael Ávila de Espíndola
>




More information about the cfe-dev mailing list