[cfe-commits] Support -cxx-isystem and removal of -cxx-system-include

Joerg Sonnenberger joerg at britannica.bec.de
Mon Feb 21 11:45:48 PST 2011


Hi all,
this patch supersedes the version in PR 8945. It provides the
-cxx-isystem option as found in NetBSD's gcc. It works like -isystem,
but is skipped for non-C++ builds. It can be used (in combination with
-nostdinc++) to switch the C++ STL implementation and it is useful for
cross-compiling. The patch also removes the former cc1-only option
-cxx-system-include, since the functionality is effectively contained.
Compared to the earlier version, -cxx-isystem and -isystem are kept in
order relative to each other.

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cxx_isystem.diff
Type: text/x-diff
Size: 13339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110221/b693368d/attachment.diff>


More information about the cfe-commits mailing list