[ << ] [ >> ]           [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 Linux. We do not support running Pintos on Solaris or architectures other that x86/x86-64. 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. Update your PATH as described in section 1.1 Getting Started. Then use a text editor to edit the installed copy of pintos-gdb, changing the definition of GDBMACROS to point to where you installed 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.

  2. Compile the Pintos utilities by typing make in src/utils. Bochs needs squish-pty, VMware Player needs squish-unix. If they don't compile on your recent Linux distribution, comment out #include <stropts.h> in both squish-pty.c and squish-unix.c, and comment out lines 288-293 in squish-pty.c.

  3. Pintos should now be ready for use. If the system doesn't find the qemu binary, modify the line my (@cmd) = ('qemu'); in src/utils/pintos::sub qemu to point to your qemu binary (for example, qemu-system-x86_64), or simply create a qemu -> qemu-system-x86_64 symbolic link.


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

This document was generated by EVT on April, 26 2013 using texi2html


Imprint / Data Protection