[cfe-dev] Idea about libstdc++ headers support
Marc Glisse
marc.glisse at inria.fr
Mon Mar 21 14:41:10 PDT 2011
On Mon, 21 Mar 2011, Konstantin Tokarev wrote:
> "Getting Started" suggests patching of source code in case "Clang cannot
> find your system libstdc++ headers".
And some people find it much better to use:
.../llvm/configure --with-cxx-include-root=/usr/include/c++/4.2 --with-cxx-include-arch=x86_64-linux-gnu --with-cxx-include-32bit-dir=32 --with-cxx-include-64bit-dir=""
i.e. put the same information on the command line instead of patching a
file. Besides, this also helps in the case where clang finds *several*
libstdc++ headers and is too greedy to just pick one and stick to it.
--
Marc Glisse
More information about the cfe-dev
mailing list