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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to