[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This chapter explains how to install a Pintos development environment on your own machine, rather than in the VM provided. Much of the process is the same, excepting the possible need to resolve required dependencies.
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:
gcc
;
otherwise, an 80x86 cross-compiler should be available as
i386-elf-gcc
. A sample set of commands for installing GCC
3.3.6 as a cross-compiler are included in
src/misc/gcc-3.3.6-cross-howto.
addr2line
, ar
, ld
,
objcopy
, and ranlib
. If the host machine is not an
80x86, versions targeting 80x86 should be available with an
i386-elf-prefix.
i386-elf-gdb.
Once these prerequisites are available, follow these instructions to install Pintos:
src/utils. Copy
backtrace,
pintos,
pintos-gdb,
pintos-mkdisk,
pintos-set-cmdline, and
Pintos.pminto the default
PATH
.
make
in
src/utils. Install
squish-ptysomewhere in
PATH
.
To support VMware Player, install squish-unix. If your Perl is older than version 5.8.0, also install
setitimer-helper; otherwise, it is unneeded.
make
check
in the top-level testsdirectory. The tests take between 20 minutes and 1 hour to run, depending on the speed of your hardware.
make dist
in the
top-level docdirectory. This creates a
WWWsubdirectory within
docthat contains HTML and PDF versions of the documentation, plus the design document templates and various hardware specifications referenced by the documentation. Building the PDF version of the manual requires Texinfo and TeX (see above). You may install
WWWwherever you find most useful.
The doc
directory is not included in the .tar.gz
distributed for Pintos. It is in the Pintos CVS tree available via
:pserver:anonymous@footstool.stanford.edu:/var/lib/cvs
, in the
pintos
module. The CVS tree is not the authoritative
source for Stanford course materials, which should be obtained from the
course website.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |