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
其他不变就可以了
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
其他不变就可以了
相关文章推荐
- Ubuntu10.04搭建linux-0.11编译环境(1.bochs安装和使用)
- Ubuntu10.04搭建linux-0.11编译环境(2.bochs编译)
- Ubuntu10.04搭建linux-0.11编译环境(1.bochs安装和使用)
- Ubuntu10.04搭建linux-0.11编译环境(1.bochs安装和使用)
- Linux 0.11内核编译和bochs上的实验环境的搭建
- Linux 0.11内核编译和bochs上的实验环境的搭建
- Linux 0.11内核编译和bochs上的实验环境的搭建
- Linux 0.11内核编译和bochs上的实验环境的搭建
- Linux 0.11内核编译和bochs上的实验环境的搭建
- Ubuntu上搭建android BSP的开发编译环境 && 设置定时编译任务 && ubuntu从10.04升级到12.04后编译出错
- ubuntu下arm-linux-gcc交叉编译环境搭建
- 【教程】在Ubuntu下搭建ARM处理器 arm-linux-gcc 交叉编译环境以及OpenJTAG + openocd 烧写环境
- Linux-4.9.2内核在mini2440上的移植(二)——Ubuntu编译环境搭建(下)
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu 16.04搭建交叉编译环境arm-linux-gcc遇到的问题
- Ubuntu 12.04嵌入式交叉编译环境arm-linux-gcc搭建过程图解
- ubuntu 10.04 建立交叉编译环境 arm-linux-gcc-4.3.2
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境