Upload
piie-peqeno
View
2.190
Download
0
Embed Size (px)
DESCRIPTION
How to compile nachos j
Citation preview
First we need to download the tar.
Using wget we can get the java version of nachos.
The source is : http://www.cs.ucr.edu/~jdou/cs153/nachos-153.tgz
Using ls look up for the tar.
Then decompress and extract the tgz
Use this command. tar zxvf nachos-153.tgz
If you want,
move the nachos directory
to another place
We need to download another tar.
Use wget and download the Crosscompiler.
The source is: http://inst.eecs.berkeley.edu/~cs162/sp05/Nachos/xgcc/mips-x86.linux-xgcc.tgz
untar the crosscompiler
tar zxvf mips-x86.linux-xgcc.tgz
If you want, move the crosscompiler
directoryto another place
Edit you .bashrc and add the path of the crosscompiler
and the nachos/bin
Move to the nachos directory
Once there, you need to edit your Makefile
Find the “test” line
And remove the g of gmake
Move to the Proj0 directory
it is supposed to contain 2 files
make and nachos.conf
Use the command make to compile the project
If it was successful
A new directory called nachos should
appear
That's all, now just run
nachos
By the way in this version there's no Project 4 ( Distributed Systems )
You need download another tar and steal the Project 4 directory
Use this tar:http://www-
inst.eccs.berkeley.edu/~cs162/sp10/Nachos/nachos-java.tar.gz
Untar
Tar zxvf nachos-java.tar.gz
And copy the Project4 directory
that's all