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 netid@csug02.csuglab.cornell.edu:/courses/cs3410/mipsel-linux/* ./mipsel-linux $ rsync -avzr netid@csug02.csuglab.cornell.edu:/courses/cs3410/mips-sim/* ./mips-sim
$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)
$ setenv PATH ${PATH}:/home/[user]/mipsel-linux/bin:/home/[user]/mips-sim/binTo avoid having to re-set your PATH every time you log in to your VM:
$ cd $ echo 'setenv PATH ${PATH}:/home/[user]/mipsel-linux/bin:/home/[user]/mips-sim/bin' >> .cshrc
$ export PATH=${PATH}:/home/[user]/mipsel-linux/bin:/home/[user]/mips-sim/binTo avoid having to re-set your PATH every time you log in to your VM:
$ cd $ echo 'export PATH=${PATH}:/home/[user]/mipsel-linux/bin:/home/[user]/mips-sim/bin' >> .bashrc
$NETID.This is only needed if you are using a machine outside of the csuglab.
setenv NETID <netid>
export NETID=<netid>
$ sudo yum install glibc.i686