大运天成赖搏击

进步最重要

导航

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

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

其他不变就可以了.

 

本文结束.

posted on 2012-03-31 14:07  linucos  阅读(520)  评论(0编辑  收藏  举报