[LLVMbugs] [Bug 6693] New: clang working as a "cpp"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 24 10:24:13 PDT 2010


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

           Summary: clang working as a "cpp"
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4580)
 --> (http://llvm.org/bugs/attachment.cgi?id=4580)
patch

the attached patch makes it possible to use clang as "cpp" when called from a
binary called cpp... ie. when you link clang as cpp and call cpp it behaves
like such:

pes ~$ ls -l /usr/local/bin/cpp
lrwxr-xr-x  1 root  wheel  20 Mar 24 13:45 /usr/local/bin/cpp@ ->
/usr/local/bin/clang
pes ~$ /usr/local/bin/cpp hello.cc | head
# 1 "hello.cc"
# 1 "hello.cc" 1
# 1 "<built-in>" 1

-- 
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