Project

General

Profile

InstallingPintosTools » History » Version 2

Borja Sotomayor, 12/09/2010 06:19 PM

1 1 Borja Sotomayor
h1. Installing Pintos on your Computer
2 1 Borja Sotomayor
3 1 Borja Sotomayor
All the tools necessary to run Pintos are already installed in the Maclab, but you can also install them on your own machine. Although the Pintos documentation includes a section on "Installing Pintos":http://www.classes.cs.uchicago.edu/archive/2011/winter/23000-1/pintos/doc/html/pintos_12.html, we have prepared a script that will automate most of the steps. The original documentation on installing Pintos is still worth reading in case you're missing some required libraries.
4 1 Borja Sotomayor
5 1 Borja Sotomayor
First of all, [[GettingPintosCode|get the Pintos code]]. We will refer to the directory where you've checked out the code as @$PINTOS_DIR@ (this directory should be the one that contains the @src@ directory).
6 1 Borja Sotomayor
7 1 Borja Sotomayor
Next, download the "Bochs 2.2.6 tarball":https://phoenixforge.cs.uchicago.edu/attachments/download/27/bochs-2.2.6.tar.gz from PhoenixForge. We are using this specific version because we can patch it to obtain some additional functionality that will come in handy when developing your project. You can use newer versions of Bochs, but you may run into some trouble when running Pintos. Download this tarball into any directory (we will refer to it as @$BOCHS_LOCATION@).
8 1 Borja Sotomayor
9 1 Borja Sotomayor
Finally, choose a directory to install the Pintos tools in (e.g., /opt/pintos). We will refer to it at @$TOOLS_DIR@
10 1 Borja Sotomayor
11 1 Borja Sotomayor
Now, just run the following:
12 1 Borja Sotomayor
13 1 Borja Sotomayor
<pre>
14 2 Borja Sotomayor
$PINTOS_DIR/src/misc/build-pintos-tools.sh $PINTOS_DIR $TOOLS_DIR $BOCHS_LOCATION
15 1 Borja Sotomayor
</pre>