diff --git a/clang/www/get_started.html b/clang/www/get_started.html index dda914a46904e..8e4d36640be73 100755 --- a/clang/www/get_started.html +++ b/clang/www/get_started.html @@ -86,13 +86,16 @@

On Unix-like Systems

-
  • If you intend to use Clang's C++ support, you may need to tell it how - 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 -DGCC_INSTALL_PREFIX cmake option - to tell Clang where the gcc containing the desired libstdc++ is installed. +
  • On Linux, you may need GCC runtime libraries (e.g. crtbeginS.o, + libstdc++.so) and libstdc++ headers. In general, Clang will detect + well-known GCC installation paths matching the target triple (configured at + build time (see clang --version); overriden by + --target=) and use the largest version. If your configuration fits + none of the standard scenarios, you can set --gcc-install-dir= to + the GCC installation directory (something like + /usr/lib/gcc/$triple/$major). If your GCC installation is under + /usr/lib/gcc but uses a different triple, you can set + --gcc-triple=$triple.
  • Try it out (assuming you add llvm/build/bin to your path):