[cfe-dev] Compiler driver

Sanghyeon Seo sanxiyn at gmail.com
Tue Jan 8 21:13:18 PST 2008


Attached is a compiler driver I use. It is imaginatively named "ccc",
and implemented in Python.

ccc runs "clang -E", "clang -emit-llvm-bc", "llvm-ld -native"
depending on the arguments, and prints the command it runs to the
output. ccc undefines __GNUC__, because Automake expects something
that defines __GNUC__ to implement -M.

ccc is a rough code, but it does run most ./configure scripts I tried
it on. Do you want this in the repository?

-- 
Seo Sanghyeon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccc
Type: application/octet-stream
Size: 1951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080109/5ecbb0ac/attachment.obj>


More information about the cfe-dev mailing list