[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

G. Installing Pintos

This chapter explains how to install a Pintos development environment on your own machine. If you are using a Pintos development environment that has been set up by someone else, you do not need to read this chapter or follow these instructions.

The Pintos development environment is targeted at Unix-like systems. It has been most extensively tested on GNU/Linux, in particular the Debian and Ubuntu distributions, and Solaris. It is not designed to install under any form of Windows.

Prerequisites for installing a Pintos development environment include the following, on top of standard Unix utilities:

Once these prerequisites are available, follow these instructions to install Pintos:

  1. Install QEMU by running sudo apt-get install qemu-kvm

  2. Fetch pintos.tar.bz2 and extract the source for Pintos into a directory named pintos, by executing tar -xvf /path/to/pintos.tar.bz2

  3. Add src/utils into the default path by adding a statement export PATH=$PATH:path-to-pintos/src/utils to your $HOME/.bashrc file.

  4. Use a text editor to edit src/utils/pintos-gdb, changing the definition of GDBMACROS to point to path-to-pintos/src/misc/gdb-macros. Test the installation by running pintos-gdb without any arguments. If it does not complain about missing gdb-macros, it is installed correctly.

  5. Compile the remaining Pintos utilities by typing make in src/utils.

  6. Pintos should now be ready for use.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]