<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 7, 2010, at 6:03 PM, <a href="mailto:crazygamealexs@hotmail.com">crazygamealexs@hotmail.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Your not helping at all. Your just restating the problem that I'm having. <br>Yes clang doesn't include the headers by default, but what I can do about <br>it?  I just recently try rebuilding it with --with-cxx-include-root <br>configure on and it still doesn't search for the header files by default. On <br>the"getting started" one of the solutions is so vague when it says "changes <br>the lines below to include that path". What changes exactly? Any examples? <br><br></div></blockquote>Read the message again. It's telling you to modify the clang sources and implement a "hack" by changing the lines to include the path to the correct C++ header files. The command in the first sub-bullet tells you how to get the paths to put in that file.</div><div><br></div><div>You realize of course that you'll have to first build clang++ again with your system compiler before you can build clang with clang.</div><div><br></div><div>-bw</div><div><br></div><ol style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; line-height: 19px; font-size: small; "><li style="padding-bottom: 0.5em; ">If you intend to work on Clang C++ support, you may need to tell it how to find your C++ standard library headers. If Clang cannot find your system libstdc++ headers, please follow these instructions:</li><ul style="padding-left: 1.5em; "><li style="padding-bottom: 0.5em; ">'<tt style="color: rgb(0, 0, 0); ">gcc -v -x c++ /dev/null -fsyntax-only</tt>' to get the path.</li><li style="padding-bottom: 0.5em; ">Look for the comment "FIXME: temporary hack: hard-coded paths" in<tt style="color: rgb(0, 0, 0); ">clang/lib/Frontend/InitHeaderSearch.cpp</tt> and change the lines below to include that path.</li></ul></ol><div><br></div></body></html>