BUG_1
预学习阶段_Linux系统安装与使用_PA0_Getting..._Compiling...
Bug:在对neum make run 时报错(下附错误信息)
[src/monitor/monitor.c:35 welcome] Exercise: Please remove me in the source code and compile NEMU again.
riscv32-nemu-interpreter: src/monitor/monitor.c:36: welcome: Assertion `0' failed.
报错需要将monitor.c第35行 remove掉
解决措施:在命令行中输入vim src/monitor/monitor.c进入到monitor.c文件中删除掉第35行。
Debug过程:这个问题其实一看报错就看出来了,但是由于笔者是初学Linux,以前vim filename都是直接输入类似于 vim monitor这样的命令来打开文件,不清楚Linux中路径(path)分为绝对路径(absolute)和相对路径(relative) 以前的方式相当于monitor.c直接在我的目录下面,故而直接vim monitor可以打开(通过相对路径打开)