<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Getting Started with LLVM System</title><linkrel="stylesheet"href="llvm.css"type="text/css"></head><body><divclass="doc_title">
Getting Started with the LLVM System
</div><ul><li><ahref="#overview">Overview</a><li><ahref="#quickstart">Getting Started Quickly (A Summary)</a><li><ahref="#requirements">Requirements</a><ol><li><ahref="#hardware">Hardware</a><li><ahref="#software">Software</a></ol></li><li><ahref="#starting">Getting Started with LLVM</a><ol><li><ahref="#terminology">Terminology and Notation</a><li><ahref="#environment">Setting Up Your Environment</a><li><ahref="#unpack">Unpacking the LLVM Archives</a><li><ahref="#checkout">Checkout LLVM from CVS</a><li><ahref="#installcf">Install the GCC Front End</a><li><ahref="#config">Local LLVM Configuration</a><li><ahref="#compile">Compiling the LLVM Suite Source Code</a><li><ahref="#objfiles">The Location of LLVM Object Files</a><li><ahref="#optionalconfig">Optional Configuration Items</a></ol></li><li><ahref="#layout">Program layout</a><ol><li><ahref="#cvsdir"><tt>CVS</tt> directories</a><li><ahref="#include"><tt>llvm/include</tt></a><li><ahref="#lib"><tt>llvm/lib</tt></a><li><ahref="#runtime"><tt>llvm/runtime</tt></a><li><ahref="#test"><tt>llvm/test</tt></a><li><ahref="#tools"><tt>llvm/tools</tt></a><li><ahref="#utils"><tt>llvm/utils</tt></a></ol></li><li><ahref="#tutorial">An Example Using the LLVM Tool Chain</a><li><ahref="#problems">Common Problems</a><li><ahref="#links">Links</a></ul><p>By:
<ahref="mailto:criswell@uiuc.edu">John Criswell</a>,
<ahref="mailto:sabre@nondot.org">Chris Lattner</a>,
<ahref="http://misha.brukman.net">Misha Brukman</a>,
<ahref="http://www.cs.uiuc.edu/~vadve">Vikram Adve</a>, and
<ahref="mailto:gshi1@uiuc.edu">Guochun Shi</a>.</p><!-- *********************************************************************** --><divclass="doc_section"