Ubuntu10.04搭建linux-0.11编译环境(2.bochs编译)

it2022-05-05  144

ubuntu10.04上自带的bochs不能调试,需要自行编译带有调试功能的bochs.

1.源码

bochs-2.4.6.tar.gz

2.安装依赖库

sudo apt-get install build-essential xorg xorg-dev gnome-core-devel

3.编译bochs

./configure --enable-debugger --enable-disasm

make -j5

sudo make install

4. bochs需要的所有东西都具有了,可以删除掉从包安装的bochs

sudo apt-get remove bochs bochsbiso bochs-doc

5. bochs配置

romimage: file=/usr/local/share/bochs/BIOS-bochs-latest

vgaromimage: file=/usr/local/share/bochs/VGABIOS-lgpl-latest

其他不变就可以了.

 

本文结束.

转载于:https://www.cnblogs.com/linucos/archive/2012/03/31/2426927.html

相关资源:各显卡算力对照表!

最新回复(0)