[cfe-commits] [PATCH] PR7997 - Make "-ccc-cxx" option work on Linux

nobled nobled at dreamwidth.org
Mon Aug 30 16:15:23 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7997

The option -ccc-cxx is supposed to make Clang "Act as a C++ driver",
even if it's not called from a clang++-2.8 symlink, but it only
actually does that on darwin, auroraux, openbsd, freebsd, minix, and
dragonfly (the platforms with Link::ConstructJob methods in
lib/Driver/Tools.cpp). The attached patch makes it work on Linux, too
(since the point of CCCGenericGCCName is to be the executable called
for linking/etc in gcc::Common::ConstructJob in lib/Driver/Tools.cpp).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ccc-cxx-option-v2.patch
Type: text/x-patch
Size: 1076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100830/255afba4/attachment.bin>


More information about the cfe-commits mailing list