On Oct 4, 2009, at 8:01 PM, Rafael Espindola wrote:

> The attached patch adds a -nostdclanginc option to clang-cc. With this
> option clang-cc will not use its own binary-relative include paths.
> This is useful when using just the clang preprocessor with gcc which
> might not like clang headers.
>
> Another way to do this is to move this logic to clang (the driver).
> This might also be a bit faster, since the driver already knows which
> clang-cc will be used and wouldn't need to call GetMainExecutable.
> Which version is better?

This patch looks fine to me, but how does the driver pass - 
nostdclanginc down?

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to