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
ccc
Description: Binary data
_______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
