码迷,mamicode.com
首页 > 其他好文 > 详细

centos6安装bochs

时间:2018-09-26 01:14:13      阅读:486      评论:0      收藏:0      [点我收藏+]

标签:报错   dup   link   show   fast   address   ali   --   func   

安装包

  • bochs 2.6.8

平台

  • centos6

前提依赖

  • yum groupinstall -y "Server Platform Development" "Development Tools"
  • kernel-headers, kernel-devel, qt-devel, gtk2-devel, textinfo, tcl-devel, tk-devel

配置选项


./configure --with-x11 --with-wx --enable-debugger --enable-disasm  --enable-all-optimizations --enable-readline --enable-long-phy-address  --enable-ltdl-install --enable-idle-hack --enable-plugins --enable-a20-pin  --enable-x86-64 --enable-smp --enable-cpu-level=6 --enable-large-ramfile  --enable-repeat-speedups --enable-fast-function-calls    --enable-handlers-chaining  --enable-trace-linking  --enable-configurable-msrs --enable-show-ips --enable-cpp  --enable-debugger-gui --enable-iodebug --enable-logging  --enable-assert-checks --enable-fpu --enable-vmx=2 --enable-svm  --enable-3dnow --enable-alignment-check  --enable-monitor-mwait  --enable-avx  --enable-evex --enable-x86-debugger --enable-pci  --enable-usb --enable-voodoo

步骤

  1. tar -xf bochs-2.6.8.tar.gz -C /usr/src
  2. ln -sv bochs-2.6.8 bochs
  3. cd bochs
  4. ./configures ...
  5. make && make install, 会报错, 需要将下面的文件修改为cc
misc/bximage.cc
iodev/hdimage/hdimage.cc
iodev/hdimage/vmware3.cc
iodev/hdimage/vmware4.cc
iodev/hdimage/vpc-img.cc
iodev/hdimage/vbox.cc

bochs的配置文件

centos6安装bochs

标签:报错   dup   link   show   fast   address   ali   --   func   

原文地址:https://www.cnblogs.com/megachen/p/9704340.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!