Note that if you are taking a course using System/161, chances are that your course staff has already installed it for you.
ftp://ftp.eecs.harvard.edu/pub/os161/old/ (for older versions)
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 1.15, unpack the distribution file by typing
tar -xvzf sys161-1.15.tar.gzThis will create a subdirectory called sys161-1.15 with the distribution files in it. Go into this directory by typing
cd sys161-1.15and run the configure script. These are the configuration options:
|--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|
|--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
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 two support programs: hub161, a tool for connecting multiple copies of System/161 together into a virtual network, and stat161, a tool for printing the internal performance counters. See below for more information.
Assuming the default installation directories, and version 1.15, System/161 installs the following: