<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 1:11 PM, Simon Atanasyan <span dir="ltr"><<a href="mailto:simon@atanasyan.com" target="_blank">simon@atanasyan.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Wed, Jul 31, 2013 at 7:03 PM, Reid Kleckner <<a href="mailto:rnk@google.com">rnk@google.com</a>> wrote:<br>

> On Wed, Jul 31, 2013 at 4:58 AM, Simon Atanasyan <<a href="mailto:simon@atanasyan.com">simon@atanasyan.com</a>><br>
> wrote:<br>
</div><div class="im">>> That's why I'd like to implement the clang driver's configuration file<br>
>> support. My current plan is to put to this file the following settings<br>
>> and use these settings in the driver:<br>
>> - target triple<br>
>> - include files search paths (-I)<br>
>> - library search paths (-L)<br>
>> - program and files search paths (-B)<br>
>> - explicit paths for files and / or programs<br>
>><br>
>> User will be able to select configuration file<br>
>> by --target=<config name> option.<br>
><br>
> Can you implement this using the existing response file support,<br>
> rather than coming up with a new config file format?<br>
<br>
</div>Unfortunately response file format does not satisfy all requirements.<br>
<br>
First I need a fine grained control over include headers directories.<br>
I need to distinguish regular system include directories, include<br>
directories with extern "C" semantic, c++ system include directories.<br></blockquote><div><br></div><div>I believe that clang does actually have flags for this functionality (e.g. -internal-externc-isystem). Does `clang -help | grep -A1 isystem` have flags for all you need?</div>
<div><br></div><div>-- Sean Silva </div></div></div></div>