diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index 2e04c9ea650..6490c0cf280 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -30,6 +30,7 @@
  • Local LLVM Configuration
  • Compiling the LLVM Suite Source Code
  • The Location of LLVM Object Files +
  • Optional Configuration Items
  • Program layout @@ -49,11 +50,11 @@

    By: - Guochun Shi, - Chris Lattner, John Criswell, - Misha Brukman, and - Vikram Adve.

    + Chris Lattner, + Misha Brukman, + Vikram Adve, and + Guochun Shi.

    @@ -765,6 +766,35 @@ named after the build type:

    + +
    + Optional Configuration Items +
    + +
    + +

    +If you're running on a linux system that supports the "binfmt_misc" +module, and you have root access on the system, you can set your system up to +execute LLVM bytecode files directly. To do this, use commands like this (the +first command may not be required if you are already using the module):

    + +
    +   $ mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
    +   $ echo ':llvm:M::llvm::/path/to/lli:' > /proc/sys/fs/binfmt_misc/register
    +   $ chmod u+x hello.bc                (if needed)
    +   $ ./hello.bc
    +
    + +

    +This allows you to execute LLVM bytecode files directly. Thanks to Jack +Cummings for pointing this out! +

    + +
    + +
    Program Layout