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 236df4d..cd2c84a 100644
--- a/www/get_started.html
+++ b/www/get_started.html
@@ -187,6 +187,30 @@
          ret

 </pre>

 

+<h3>GCC "Emulation" Driver</h3>

+

+While the <tt>clang</tt> 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 <tt>cc</tt>. There is interest in developing such

+a driver for clang, but in the interim the clang source tree includes a Python

+script <tt>ccc</tt> in the <tt>utils</tt> subdirectory that provides some of

+this functionality (the script is intended to be used where GCC's <tt>cc</tt>

+could be used). It is currently a work in progress, and eventually will likely

+be replaced by a more complete driver.

+

+<p>Example use:</p>

+

+<pre class="code">

+$ <b>ccc t.c</b>

+clang -emit-llvm-bc -o t.o -U__GNUC__ t.c

+llvm-ld -native -o a.out t.o

+$ <b>ls</b>

+a.out a.out.bc t.c t.o

+</pre>

+  

+

+

+

 </div>

 </body>

 </html>