Retro school children University of Washington Computer Science & Engineering
 CSE P 548: Computer Architecture - Spring 2005
  CSE Home   About Us    Search    Contact Info 

 Course Home
   

SimpleScalar and Cygwin

  • Expand the .tar.gz file using WinZip or some other program. You may need to rename the file from .tar.tar to .tar.gz
  • Install Cygwin. You will need the development node. Emacs from the editor node might be useful. The development tools are quite large, so this installation may take some time.
  • Open a Cygwin shell. Using the full path to the expanded .tar.gz file, type the following commands:

    cd installation directory/simplesim-3.0
    make config-pisa
    make
    cd tests
    ln -s ../sysprobe sysprobe
    cd ..
    make sim-tests
You may need to create a subdirectory called results to run the tests invoked by the make sim-tests command.

Compiling ss-gcc

I have not found an appropriate host string for cygwin.
  • Expand the simpletools-2v0.tgz and simpleutils-2v0.tgz files into the same directory containing the simplesim-3.0 directory.
  • Open a Cygwin shell. Using the full path to the expanded .tar.gz file, type the following commands to build the binary utilities:

    cd installation directory/binutils-2.5.2
    configure --host=i386-unknown-gnu/linux --target=sslittle-na-sstrix --with-gnu-as \
      --with-gnu-ld --prefix=installation directory
    make
    make install


  • Build the compiler:

    cd installation directory/gcc-2.6.3
    configure --host=i386-unknown-gnu/linux --target=sslittle-na-sstrix --with-gnu-as \
      --with-gnu-ld --prefix=installation directory
    make LANGUAGES=c
    ../simplesim-3.0/sim-safe ./enquire -f >! float.h-cross
    make install


  • The compiler will be called sslittle-na-sstrix-gcc.


CSE logo Computer Science & Engineering
University of Washington
Box 352350
Seattle, WA  98195-2350
(206) 543-1695 voice, (206) 543-2969 FAX
[comments to douglas]