[cfe-dev] search CPATH, C_INCLUDE_PATH, etc patch
Chris Lattner
clattner at apple.com
Sat Mar 1 00:10:33 PST 2008
On Feb 28, 2008, at 11:58 AM, Sam Bishop wrote:
> Hi, all.
>
> The attached patch implements a FIXME in clang.cpp. Certain
> environment
> variables are searched for include paths, depending on which
> language is
> being targeted. What I used for a "spec" was gcc's behavior and
> documentation, but I'm pretty sure I got it right.
>
> The patch is relative to the base llvm directory.
Very very nice, thanks Sam. This should also help avoid adding every
target triple and gcc version number to the #include list. People can
now just "setenv CPATH <base of #includes>".
Applied:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080225/004499.html
-Chris
More information about the cfe-dev
mailing list