diff options
Diffstat (limited to 'docs/GettingStarted.html')
-rw-r--r-- | docs/GettingStarted.html | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index 44fbf21..d301e4c 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -1193,10 +1193,16 @@ $ ./hello.bc </div> <p> -This allows you to execute LLVM bitcode files directly. Thanks to Jack -Cummings for pointing this out! +This allows you to execute LLVM bitcode files directly. On Debian, you +can also use this command instead of the 'echo' command above:</p> </p> +<div class="doc_code"> +<pre> +$ sudo update-binfmts --install llvm /path/to/lli --magic 'BC' +</pre> +</div> + </div> <!-- *********************************************************************** --> @@ -1363,7 +1369,7 @@ end to compile.</p> <p>The <b>tools</b> directory contains the executables built out of the libraries above, which form the main part of the user interface. You can -always get help for a tool by typing <tt>tool_name --help</tt>. The +always get help for a tool by typing <tt>tool_name -help</tt>. The following is a brief introduction to the most important tools. More detailed information is in the <a href="CommandGuide/index.html">Command Guide</a>.</p> @@ -1434,7 +1440,7 @@ information is in the <a href="CommandGuide/index.html">Command Guide</a>.</p> <dt><tt><b>opt</b></tt></dt> <dd><tt>opt</tt> reads LLVM bitcode, applies a series of LLVM to LLVM transformations (which are specified on the command line), and then outputs - the resultant bitcode. The '<tt>opt --help</tt>' command is a good way to + the resultant bitcode. The '<tt>opt -help</tt>' command is a good way to get a list of the program transformations available in LLVM.<br> <dd><tt>opt</tt> can also be used to run a specific analysis on an input LLVM bitcode file and print out the results. It is primarily useful for @@ -1667,7 +1673,7 @@ out:</p> <a href="mailto:sabre@nondot.org">Chris Lattner</a><br> <a href="http://llvm.x10sys.com/rspencer/">Reid Spencer</a><br> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2010-02-11 22:51:51 +0100 (Thu, 11 Feb 2010) $ + Last modified: $Date: 2010-02-18 15:08:13 +0100 (Thu, 18 Feb 2010) $ </address> </body> </html> |