blob: cad8bd25dd6fb1aff33ff254eb0b77905f5c03c8 [file] [log] [blame]
<!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 a MMTk 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> Configure VMKit with three additional options: <tt>--with-gc=mmtk</tt>, <tt>--with-llvmgcc</tt>, and <tt>--with-mmtk-plan={marksweep|copyms}</tt> </li>
<li> Build VMKit:</li>
<ul>
<li><tt>make ENABLE_OPTIMIZED=1 </tt></li>
</ul>
<li>Run VMKit:</li>
<ul>
<li><tt>Release/bin/j3 Foo </tt></li>
</ul>
</ol>
</div>
</body>
</html>