To everyone who is having a hard time Not Another Completely Heuristic Operating System (NACHOS)
https://cseweb.ucsd.edu/classes/fa16/cse120-a/projects/index.html https://homes.cs.washington.edu/~tom/nachos/
You proceed in this order
- sudo apt-get install make default-jdk #install Java in Linux
- mv *yourdirectory # in my case, /home/nachos/nachos
- cd nachos/nachos
- cd proj1 #or 2 or 3 or 4 that you want to compile
- make #compile
if you want to install mips gcc cross compiler for proj 2, you can refer to this https://mipsym.github.io/mipsym/CrossCompile.html
if you want to execute priority scheduler, you have to revise your nachos.conf file !!!!!