VMware裝utubun上用過
還有Cygwin Terminal
都是到要make的時候失敗
版本是Nachos4.0
目前google到不想找了
有高人能幫幫忙嗎
a@a-1 ~/nachos/proj1
$ make
make: Nothing to be done for 'all'.
a@a-1 ~/nachos/proj1
$ make test
cd ../test ; make
make[1]: Entering directory '/home/a/nachos/test'
/mips-ar rv libnachos.a assert.o
make[1]: /mips-ar: Command not found
<builtin>: recipe for target 'libnachos.a(assert.o)' failed
make[1]: *** [libnachos.a(assert.o)] Error 127
make[1]: Leaving directory '/home/a/nachos/test'
../Makefile:52: recipe for target 'test' failed
make: *** [test] Error 2
在這裡就不知道要幹嘛了
=========上面的已經放棄了
剛剛看了這個http://www.slideshare.net/kblut/nachos-50j-8850170
過程蠻順的
直到
a@a-1 /opt/nachos/proj0
$ make
javac -classpath . -d . -sourcepath ../.. -g ../threads/ThreadedKernel.java
Note: ..\..\nachos\machine\Lib.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
javac -classpath . -d . -sourcepath ../.. -g ../threads/Boat.java
a@a-1 /opt/nachos/proj0
$ nachos
-bash: nachos:命令找不到
a@a-1 /opt/nachos/proj0
$ cd nachos
a@a-1 /opt/nachos/proj0/nachos
$ ls
ag machine security threads
nachos是資料夾耶...是要怎麼直接跑
這個感覺比較好解決幫幫我吧