[vmkit-commits] [vmkit] r91332 - in /vmkit/trunk/www: UsersManual.html use_mmtk.html
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Dec 14 13:32:22 PST 2009
Author: geoffray
Date: Mon Dec 14 15:32:21 2009
New Revision: 91332
URL: http://llvm.org/viewvc/llvm-project?rev=91332&view=rev
Log:
Add information on how to build with MMTk.
Added:
vmkit/trunk/www/use_mmtk.html
Modified:
vmkit/trunk/www/UsersManual.html
Modified: vmkit/trunk/www/UsersManual.html
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/www/UsersManual.html?rev=91332&r1=91331&r2=91332&view=diff
==============================================================================
--- vmkit/trunk/www/UsersManual.html (original)
+++ vmkit/trunk/www/UsersManual.html Mon Dec 14 15:32:21 2009
@@ -17,5 +17,6 @@
<ul>
<li><a href="/use_aot.html">Java Ahead of Time (AOT) Compilation</a></li>
+ <li><a href="/use_mmtk.html">VMKit and MMTk</a></li>
</li>
Added: vmkit/trunk/www/use_mmtk.html
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/www/use_mmtk.html?rev=91332&view=auto
==============================================================================
--- vmkit/trunk/www/use_mmtk.html (added)
+++ vmkit/trunk/www/use_mmtk.html Mon Dec 14 15:32:21 2009
@@ -0,0 +1,47 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ <title>VMKit - Getting Started</title>
+ <link type="text/css" rel="stylesheet" href="menu.css" />
+ <link type="text/css" rel="stylesheet" href="content.css" />
+</head>
+<body>
+
+<!--#include virtual="menu.html.incl"-->
+
+<div id="content">
+
+<h1>Getting Started: VMKit and MMTk</h1>
+
+
+<p>This page gives you the instructions on how to build VMKit with MMTk's Mark and
+Sweep Garbage Collector.</p>
+
+
+<ol>
+ <li><a href="http://www.llvm.org/docs/GCCFEBuildInstrs.html">Checkout
+ and build LLVM-GCC</a> from SVN head.</li>
+ <li> Update PATH to include the <tt>llvm-gcc</tt> binary. </li>
+ <li> Re-configure LLVM. </li>
+ <li> Make sure to build LLVM with REQUIRES_FRAME_POINTER=1.</li>
+ <li> Configure VMKit with two additional options: <tt>--with-gc=mmtk</tt> and <tt>--with-llvmgcc</tt>. </li>
+ <li> Clean and make VMKit (do that each time you change the source code of VMKit):</li>
+
+ <ul>
+ <li><tt>make ENABLE_OPTIMIZED=1 REQUIRES_FRAME_POINTER=1 clean </tt></li>
+ <li><tt>make ENABLE_OPTIMIZED=1 REQUIRES_FRAME_POINTER=1 </tt></li>
+ </ul>
+
+ <li>Run VMKit with MMTk:</li>
+ <ul>
+ <li><tt>Release/bin/vmkit -std-compile-opts --load-bc=Release/lib/FinalMMTk.bc
+ -load-bc=lib/JnJVM/LLVMRuntime/LLVMRuntime.gen.ll -java Foo </tt></li>
+ </ul>
+
+</ol>
+
+</div>
+</body>
+</html>
More information about the vmkit-commits
mailing list