Pintos 笔记
安装
-
安装依赖:
sudo apt install qemu-system-i386
-
用最新的代码:
git clone git://pintos-os.org/pintos-anon
-
export GDBMACROS=$PINTOSHOME/src/misc/gdb-marcos export PATH=$PATH:$PINTOSHOME/src/utils
-
cd src/utils && make
-
按照这里:
comment out
#include <stropts.h>
in bothsquish-pty.c
andsquish-unix.c
, and comment out lines 288-293 insquish-pty.c
. -
pintos --qemu --