[LLVMbugs] [Bug 7997] New: -ccc-cxx option doesn't work on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 26 04:45:46 PDT 2010


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

           Summary: -ccc-cxx option doesn't work on Linux
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nobled at dreamwidth.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5414)
 --> (http://llvm.org/bugs/attachment.cgi?id=5414)
Have `clang -ccc-cxx` use g++ for linking on Linux

Tested  with 2.7 (Ubuntu packaging) and SVN r111771.

The option -ccc-cxx is supposed to make Clang "Act as a C++ driver", but it
only does that on darwin, auroraux, openbsd, freebd, minix, and dragonfly (the
platforms with Link::ContructJob methods in lib/Driver/Tools.cpp). The attached
patch makes it work on Linux, too (since it seems to do its linking in
gcc::Common::ConstructJob with CCCGenericGCCName).

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list