diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-01-10 04:59:05 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-01-10 04:59:05 +0000 |
commit | fea89c2020c02d902735f7b02658b92e102d9ae0 (patch) | |
tree | 0e17b9d1bf66c1ad8f72e0f406d1c1b60bf03000 | |
parent | 64299f81aa497ce5694f04a32ee09b618fdbbd32 (diff) |
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
-rw-r--r-- | www/get_started.html | 24 |
1 files changed, 24 insertions, 0 deletions
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
</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>
|