Under Solaris, each of you will have your own directory for the SimpleScalar simulator, but use a prebuilt installation of the other tools (specifically, the cross-compiler that compiles C programs into PISA executables). Note that you will be using the big-endian version of SimpleScalar tools under Solaris. For the assignments in this course, there will not be a need for anything else. --------------------- To build the SimpleScalar simulator: 1. Download the simplesim-3v0c.tgz file from the course web site into your home directory on any of the department Solaris machines. 2. Make sure that you have /usr/local/gnu/bin in your PATH ahead of /usr/bin and /usr/local/bin. If not, you can make this happen by executing the following command: (if you are using csh or tcsh): setenv PATH /usr/local/gnu/bin:$PATH (if you use bash): export PATH=/usr/local/gnu/bin:$PATH 2. Unpack the downloaded file using the following command: tar zxvf simplesim-3v0c.tgz At this point, you should have a subdirectory called simplesim-3.0 3. Build the simulator: cd simplesim-3.0 make config-pisa make ---------------------- The cross-compiler can be accessed at: /home/mb/CompArch/bin/ssbig-na-sstrix-gcc This is invoked the same as a native compiler, but generates PISA executables instead of SPARC assembly. ---------------------- See the "SimpleScalar Familiarization Exercise" handout for information about using the simulator and building your own PISA executables.