您的位置:首页 > 运维架构 > Linux

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

2012-07-18 14:55 591 查看
转自:http://www.cnblogs.com/linucos/archive/2012/03/31/2426927.html

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

其他不变就可以了

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu file