./configure --enable-debugger --enable-disasm
make install
根据你的机子情况,可能遇到如下错误:
错误1:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/lmy/Downloads/bochs-2.4.2':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
解决方法:通过新立得安装build-essential
错误2:
checking for default gui on this platform... x11
ERROR: X windows gui was selected, but X windows libraries were not found.
解决方法:通过新立得安装xorg-dev
错误3:
ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.
解决方法: 通过新立得安装libgtk2.0-dev