[cfe-commits] [patch] Add support for tooldir relative libstdc++

Rafael Espindola espindola at google.com
Tue Dec 29 11:29:13 PST 2009

Updated patch attached. It is much simpler now that we have a resource dir :-)

One thing that looks a bit of a hack in the patch is to use <resource
dir>../../../<user specified directory>.

Other options I considered:

*) Using just <resource dir>/<user specified directory> . The problem
is that libstdc++ will not be installed under lib/clang/<version>. The
user would always have to use something like


*) Change the resource dir to point to the directory where clang was
installed. It would be easy for the current user to append
lib/clang/<version> to it.

Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-relative-cpp-include.patch
Type: text/x-diff
Size: 2016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091229/ba7e8843/attachment.patch>

More information about the cfe-commits mailing list