Step | Details |
- 1.
- Copy the compressed tar file, nachos.tar.gz, to your directory.
|
hawk% cp /condor/cscfclt/jmontgo2/cs546/nachos-3.4.tar.gz .
|
- 2.
- Uncompress and extract the files/directories.
|
hawk% gunzip -c nachos-3.4.tar.gz | tar vxf -
|
- 2a.
- Setting users PATH environment variable
|
hawk% bash
hawk% export PATH=/condor/cscfclt/glancast/bin:$PATH
|
- 3.
- Compile and link all the nachos versions - threads/nachos,
userprog/nachos, etc. This will take several minutes.
|
hawk% cd nachos-3.4/code
hawk% make all
|
- 4.
- Run the user program, test/halt, under nachos. Change to the
code/userprog directory and then start nachos and have it run halt.
|
hawk% cd userprog
hawk% ./nachos -x ../bin/halt
|
|