]> granicus.if.org Git - clang/commitdiff
provide a simpler way to get to the headers
authorGabor Greif <ggreif@gmail.com>
Mon, 29 Mar 2010 21:36:06 +0000 (21:36 +0000)
committerGabor Greif <ggreif@gmail.com>
Mon, 29 Mar 2010 21:36:06 +0000 (21:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99843 91177308-0d34-0410-b5e6-96231b3b80d8

www/get_started.html

index f750fa09216cef519a7d7deba357769db4cd8e8e..141698f6e8126d2a18d72d824b05cf1219f47e96 100644 (file)
@@ -65,7 +65,7 @@ follows:</p>
       to find your C++ standard library headers.  If Clang cannot find your 
       system libstdc++ headers, please follow these instructions:</li>
   <ul>
-    <li>'<tt>touch empty.cpp; gcc -v empty.cpp -fsyntax-only</tt>' to get the
+    <li>'<tt>gcc -v -x c++ /dev/null -fsyntax-only</tt>' to get the
     path.</li>
     <li>Look for the comment "FIXME: temporary hack:
     hard-coded paths" in <tt>clang/lib/Frontend/InitHeaderSearch.cpp</tt> and