Getting Started: Building and Running VMKit

This page gives you the shortest path to checking out vmkit and demos a few options. This should get you up and running with the minimum of muss and fuss. If you like what you see, please consider getting involved with the vmkit community.

Building vmkit / working with the code

If you would like to check out and build the project, the current scheme is:

You will have to install a C++ compiler and Java 1.5 or more in order to compile vmkit2

  1. Download LLVM 3.3 and Clang 3.3 source code.

  2. Note: To compile LLVM and VMKit with RTTI enabled, one can pass the parameter REQUIRES_RTTI=1 to llvm make. Passing this argument removes the flag -fno-rtti from the compiler options. Ex: $ make REQUIRES_RTTI=1

    Skip the Classpath steps if you plan to use OpenJDK.

  3. Download GNU Classpath 0.99:
  4. Checkout vmkit:
  5. Configure vmkit:
  6. Build vmkit:
  7. Try it out: (assuming vmkit/Release+Asserts/bin is in your path)