diff options
author | Chris Lattner <sabre@nondot.org> | 2010-05-04 18:15:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-05-04 18:15:33 +0000 |
commit | 860e0b4c950285fcaaefc3c218c9d7276fb609e8 (patch) | |
tree | 7f0379350632d2b92435a8da562843eec2cea265 /docs/FAQ.html | |
parent | d4ac35b350c1925e3921df7a3f1b2524dca79b46 (diff) |
update instructions for llvm-gcc4, the brave new world! PR7037
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/FAQ.html')
-rw-r--r-- | docs/FAQ.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/FAQ.html b/docs/FAQ.html index 337866cd9d..ad97be16b2 100644 --- a/docs/FAQ.html +++ b/docs/FAQ.html @@ -632,22 +632,22 @@ Stop. <p>Use commands like this:</p> <ol> - <li><p>Compile your program as normal with llvm-g++:</p> + <li><p>Compile your program with llvm-g++:</p> <pre class="doc_code"> -% llvm-g++ x.cpp -o program +% llvm-g++ -emit-llvm x.cpp -o program.bc -c </pre> <p>or:</p> <pre class="doc_code"> -% llvm-g++ a.cpp -c -% llvm-g++ b.cpp -c -% llvm-g++ a.o b.o -o program +% llvm-g++ a.cpp -c -emit-llvm +% llvm-g++ b.cpp -c -emit-llvm +% llvm-ld a.o b.o -o program </pre> - <p>With llvm-gcc3, this will generate program and program.bc. The .bc - file is the LLVM version of the program all linked together.</p></li> + <p>This will generate program and program.bc. The .bc + file is the LLVM version of the program all linked together.</p></li> <li><p>Convert the LLVM code to C code, using the LLC tool with the C backend:</p> |