diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-09 15:59:08 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-09 15:59:08 +0000 |
commit | a7974ccd97192ca531d3153cea1d119d80774eb6 (patch) | |
tree | f4367e0a538d6fb39c6a285422ef08a50604569b /llvm/docs/GettingStartedVS.html | |
parent | b63d0c4ad2854bbdee2679cea83d8527cdea48e1 (diff) | |
download | bcm5719-llvm-a7974ccd97192ca531d3153cea1d119d80774eb6.tar.gz bcm5719-llvm-a7974ccd97192ca531d3153cea1d119d80774eb6.zip |
Remove references to gccld and gccas, adjusting the documentation to
mention llvm-ld and opt instead (if appropriate).
llvm-svn: 34094
Diffstat (limited to 'llvm/docs/GettingStartedVS.html')
-rw-r--r-- | llvm/docs/GettingStartedVS.html | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/llvm/docs/GettingStartedVS.html b/llvm/docs/GettingStartedVS.html index 15b31b011fa..45e323b6ff4 100644 --- a/llvm/docs/GettingStartedVS.html +++ b/llvm/docs/GettingStartedVS.html @@ -258,18 +258,13 @@ All these paths are absolute:</p> </pre></li> <li><p>Next, compile the C file into a LLVM bytecode file:</p> - <p><tt>% llvm-gcc hello.c -o hello</tt></p> - - <p>Note that you should have already built the tools and they have to be - in your path, at least <tt>gccas</tt> and <tt>gccld</tt>.</p> - - <p>This will create two result files: <tt>hello</tt> and - <tt>hello.bc</tt>. The <tt>hello.bc</tt> is the LLVM bytecode that - corresponds the the compiled program and the library facilities that it - required. <tt>hello</tt> is a simple shell script that runs the bytecode - file with <tt>lli</tt>, making the result directly executable. Note that - all LLVM optimizations are enabled by default, so there is no need for a - "-O3" switch.</p> + <p><tt>% llvm-gcc hello.c -emit-llvm -o hello.bc</tt></p> + + <p>This will create the result file <tt>hello.bc</tt> which is the LLVM + bytecode that corresponds the the compiled program and the library + facilities that it required. You can execute this file directly using + <tt>lli</tt> tool, compile it to native assembly with the <tt>llc</tt>, + optimize or analyze it further with the <tt>opt</tt> tool, etc.</p> <p><b>Note: while you cannot do this step on Windows, you can do it on a Unix system and transfer <tt>hello.bc</tt> to Windows.</b></p></li> |