Setting Up your Environment

A Walkthrough

Updated: April 15, 2014

Files. All of the programs and files mentioned for the last part of the course can be found in the /courses/cs3410 directory in the CSUG (or in standard locations on most linux machines for things like xxd and cat). You should copy these files to your VM (for consistency sake, your home folder). You should also vary the server as to evenly distribute the load. Try your netid mod 15 for example. Specifically, in your VM terminal type:

  $ cd
  $ rsync -avzr* ./mipsel-linux
  $ rsync -avzr* ./mips-sim
  $ rsync -avzr* ./pa3

$PATH. Now add these files to your PATH so that your shell knows where to find the simulate program and all of the mipsel-linux tools. This means that you can just type simulate as opposed to /home/user/mips-sim/binary/simulate every time you want to run something. In the following commands replace [user] with your username. If you are using the CSUG machines, use the appropriate paths (note you don't need to copy the files in that case)

$NETID.This is only needed if you are using a machine outside of the csuglab.