1.环境
centos6
bochs-2.6.2
2.安装依赖
- yum groupinstall -y "Server Platform Development" "Development Tools"
- yum install kernel-headers kernel-devel qt-devel gtk2-devel textinfo tcl-devel tk-devel
3.下载源码并安装
可去sourceforge上面下载源码包
http://bochs.sourceforge.net
https://sourceforge.net/projects/bochs/files/bochs/2.6.2/
- tar xvfz bochs-2.6.2.tar.gz
-
- cd bochs-2.6.2
-
- ./configure \
- --prefix=/home/guang/soft/bochs-2.6.2 \
- --enable-debugger \
- --enable-disasm \
- --enable-iodebug \
- --enable-x86-debugger \
- --with-x \
- --with-x11
-
- make
-
- make install
-
- cd =/home/guang/soft/bochs-2.6.2/bin/
-
- vi bochsrc.txt
4、测试启动
添加配置文件
- floppya: 1_44="imagefile.img", status=inserted #Use FLoppy Disk A
-
- boot: floppy
-
- display_library: x, options="gui_debug"
-
- #display_library:sdl
启动
- ./bochs
centos6 安装bochs-2.6.2
原文:https://www.cnblogs.com/kevinlights/p/12075490.html