On Ubuntu
## Download Y86 tools then you will get sim.tar file
http://csapp.cs.cmu.edu/public/students.html
##we need follow packet
"apt-get install flex" (we need libfl.o it provided by flex)
"apt-get install bison"
##Extract mis.tar
"tar -xf mis.tar
cd mis/
##Open Makefile and modify this file.
commenting Macro like this:
#GUIMODE=-DHAS_GUI
...
#TKLIBS=-L/usr/lib -ltk -ltcl
...
#TKINC=-isystem /usr/include
##make
"make clean; make"
##Ok now you have made yas,yis tools.
##Now we make the ssim It is a gui version simulator
cd sqp/
##Modify Makefile like this
GUIMODE=-DHAS_GUI
...
TKLIBS=-L/usr/lib -ltk8.5 -ltcl8.5 -lpthread -ldl
...
TKINC=-I/usr/include/tcl8.5
##Save file, then make
"make clean; make"
## Now you have made miss
【Y86 tools install steps】 In Chapter 4.make YAS
|
> 我来回应