bochs在Ubuntu14.02下的安装

1.安装包下载地址:http://sourceforge.net/projects/bochs/files/bochs/   ,我这里下载的版本是bochs-2.6.2.tar.gz。

2.在Ubuntu中解压,进入文件夹cd bochs-2.6.2。

3../configure –enable-debugger –enable-disasm

4.在configure之后会出现Makefile文件,修改Makefile文件在找到 LIBS = … 一行,在行尾加上 -lpthread,保存

5.make 出错的话,百度解决。

6.sudo  make install

7.运行bochs.

出现

========================================================================
                   Bochs x86 Emulator 2.4.6
         Build from CVS snapshot, on February 22, 2011
               Compiled at Nov 14 2017, 22:04:17
========================================================================
00000000000i[     ] reading configuration from bochsrc
------------------------------
Bochs Configuration: Main Menu
------------------------------

This is the Bochs Configuration Interface, where you can describe the
machine that you want to simulate.  Bochs has already searched for a
configuration file (typically called bochsrc.txt) and loaded it if it
could be found.  When you are satisfied with the configuration, go
ahead and start the simulation.

You can also start bochs with the -q option to skip these menus.

1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Restore the Bochs state from...
6. Begin simulation
7. Quit now

Please choose one: [2] 

参考网上大家分享,十分感谢。

你可能感兴趣的:(bochs在Ubuntu14.02下的安装)