From: Ted Kremenek Date: Thu, 10 Jan 2008 04:59:05 +0000 (+0000) Subject: Added some text about the ccc script provided by Sanghyeon Seo. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fea89c2020c02d902735f7b02658b92e102d9ae0;p=clang Added some text about the ccc script provided by Sanghyeon Seo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45820 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/www/get_started.html b/www/get_started.html index 236df4dd09..cd2c84a600 100644 --- a/www/get_started.html +++ b/www/get_started.html @@ -187,6 +187,30 @@ _foo: ret +

GCC "Emulation" Driver

+ +While the clang executable is a compiler driver that can perform code +generation, program analysis, and other actions, it is not designed to be a +drop-in replacement for GCC's cc. There is interest in developing such +a driver for clang, but in the interim the clang source tree includes a Python +script ccc in the utils subdirectory that provides some of +this functionality (the script is intended to be used where GCC's cc +could be used). It is currently a work in progress, and eventually will likely +be replaced by a more complete driver. + +

Example use:

+ +
+$ ccc t.c
+clang -emit-llvm-bc -o t.o -U__GNUC__ t.c
+llvm-ld -native -o a.out t.o
+$ ls
+a.out a.out.bc t.c t.o
+
+ + + +