Note that if you are taking a course using System/161, chances are that your course staff has already installed it for you.
Download URLs:
http://os161.eecs.harvard.edu/download/ (long-term address not yet operational)
http://www.eecs.harvard.edu/~dholland/os161/download/ (current as of this writing)
Actively maintained/tested host systems:
Supported host CPU types:
Supported host compilers:
Supported guest compilers:
Short installation directions for Unix sysadmins: untar, configure --help, configure, make, make install. As of version 1.15 System/161 configures with --prefix and installs in the normal layout.
Assuming you downloaded version 2.0, unpack the distribution file by typing
tar -xvzf sys161-2.0.tar.gzThis will create a subdirectory called sys161-2.0 with the distribution files in it. Go into this directory by typing
cd sys161-2.0and run the configure script. These are the configuration options:
Option | Description | Default | |
---|---|---|---|
--with-compiler=CC | Use CC as compiler | (probed) | |
--prefix=DIR | Install under DIR | /usr/local | |
--bindir=DIR | Install programs into DIR | PREFIX/bin | |
--exampledir=DIR | Install examples in DIR | PREFIX/share/examples/sys161 | |
--docdir=DIR | Install docs into DIR | [PREFIX/share/doc/sys161 | |
--mandir=DIR | Install man pages into DIR | PREFIX/man | |
--devel | Developer mode | off | |
--debug | Turn on debug symbols for sys161 itself | off |
Thus to configure to install in your home directory you might do
./configure --prefix=$HOME/sys161 mipsebNote that, because of the way the Unix shell handles ~, if you use ~/sys161 instead of $HOME/sys161 it won't work. Now compile and install by typing
makethen
make install
If the compilation fails, please file a bug report.
If you get errors caused by make, such as
make: Missing separatoror
gcc: No input filestry using GNU make (or BSD make). There are a number of dialects of the old AT&T make around, and some of them do not work very well. Very old versions of BSD make may also have problems. This compiles and installs two versions of the simulator: sys161, the normal or "fast" simulator, trace161, which is the same as sys161 but has lots of debugging and diagnostic support built in and thus doesn't run as quickly. It also installs three support programs: hub161, a tool for connecting multiple copies of System/161 together into a virtual network, stat161, a tool for printing the internal performance counters, and disk161, a tool for manipulating disk images. See below for more information.
Assuming the default installation directories, and version 2.0, System/161 installs the following: