summaryrefslogtreecommitdiffstats
path: root/www/get_started.html
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-05-16 08:18:58 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-05-16 08:18:58 +0000
commitabccc1fb4c6ccd5f3ebecc7696de7150582ab390 (patch)
tree5e1ad23c2a1310bb18cf0d628a5e2c3f82619515 /www/get_started.html
parente2789bba21e4d50221367d3a0ff002e3688c34a0 (diff)
Clarify how libstdc++ and other bits of the system toolchain are found
on Linux in the getting started documentation. Patch by Nathan Ridge. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156911 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/get_started.html')
-rw-r--r--www/get_started.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/get_started.html b/www/get_started.html
index d819532f0d..9e49bf1880 100644
--- a/www/get_started.html
+++ b/www/get_started.html
@@ -83,15 +83,12 @@ follows:</p>
</li>
<li>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:
- <ul>
- <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
- change the lines below to include that path.</li>
- </ul>
+ to find your C++ standard library headers. In general, Clang will detect
+ the best version of libstdc++ headers available and use them - it will
+ look both for system installations of libstdc++ as well as installations
+ adjacent to Clang itself. If your configuration fits neither of these
+ scenarios, you can use the <tt>--with-gcc-toolchain</tt> configure option
+ to tell Clang where the gcc containing the desired libstdc++ is installed.
</li>
<li>Try it out (assuming you add llvm/Debug+Asserts/bin to your path):
<ul>