<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 7, 2013, at 6:36 , Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Author: gribozavr<br>Date: Thu Feb  7 08:36:37 2013<br>New Revision: 174612<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=174612&view=rev">http://llvm.org/viewvc/llvm-project?rev=174612&view=rev</a><br>Log:<br>Documentation: add information about builtin includes to FAQ<br><br>Modified:<br>    cfe/trunk/docs/FAQ.rst<br>    cfe/trunk/docs/LibTooling.rst<br><br>Modified: cfe/trunk/docs/FAQ.rst<br>URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/FAQ.rst?rev=174612&r1=174611&r2=174612&view=diff">http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/FAQ.rst?rev=174612&r1=174611&r2=174612&view=diff</a><br>==============================================================================<br>--- cfe/trunk/docs/FAQ.rst (original)<br>+++ cfe/trunk/docs/FAQ.rst Thu Feb  7 08:36:37 2013<br>@@ -51,3 +51,14 @@ driver and add the option you need.  Alt<br> ``clang -Xclang <option> ...`` to force the driver pass ``<option>`` to<br> ``clang -cc1``.<br><br>+I get errors about some headers being missing (``stddef.h``, ``stdard.h``)<br>+--------------------------------------------------------------------------<br>+<br>+Some header files (``stddef.h``, ``stdard.h``, and others) are shipped with<br>+Clang --- these are called builtin includes.  Clang searches for them in a<br>+directory relative to the location of the ``clang`` binary.  If you moved the<br>+``clang`` binary, you need to move the builtin headers, too.<br></blockquote><div><br></div><div>The thing I always forget is <i>where</i> the relative path is. I believe it's ../include (?) but it's probably worth mentioning here regardless.</div><div><br></div><br><blockquote type="cite">+More information can be found in the :ref:`libtooling_builtin_includes`<br>+section.<br>+<br><br>Modified: cfe/trunk/docs/LibTooling.rst<br>URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LibTooling.rst?rev=174612&r1=174611&r2=174612&view=diff">http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LibTooling.rst?rev=174612&r1=174611&r2=174612&view=diff</a><br>==============================================================================<br>--- cfe/trunk/docs/LibTooling.rst (original)<br>+++ cfe/trunk/docs/LibTooling.rst Thu Feb  7 08:36:37 2013<br>@@ -168,6 +168,9 @@ arguments:<br>   $ export BD=/path/to/build/llvm<br>   $ $BD/bin/clang-check -p $BD tools/clang/tools/clang-check/ClangCheck.cpp<br><br>+<br>+.. _libtooling_builtin_includes:<br>+<br> Builtin includes<br> ^^^^^^^^^^^^^^^^<br><br><br><br>_______________________________________________<br>cfe-commits mailing list<br><a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits<br></blockquote></div><br></body></html>