Page 1 of 1

How to compile bochs

Posted: Thu Feb 16, 2006 12:00 am
by yaocong
Hi,

I want to re-compile bochs with microsoft visual c++ 6.0 to support x86-64 and SMP functions.

But I don't know how to compile it with vc++, Could you help!

Many appreciates!

Re: How to compile bochs

Posted: Thu Feb 16, 2006 12:00 am
by Da_Maestro
Use gcc...problem solved!

Re: How to compile bochs

Posted: Thu Feb 16, 2006 12:00 am
by yaocong
thanks,
But I want to use it on windows platform...

Re: How to compile bochs

Posted: Thu Feb 16, 2006 12:00 am
by carbonBased
Could always try using cygwin.

--Jeff

Re: How to compile bochs

Posted: Thu Feb 16, 2006 12:00 am
by xenos
There is a file named .conf.win32-vcpp in the top bochs source dir which should make it possible to use VC++ (but I have never tested it because I use CygWin on Windows). To enable x86_64 and SMP support, you need to edit this file. The file contains numerous configure options and you need to add two more of them, namely:
  • --enable-x86-64
  • --enable-processors=n
Replace n with the number of processors bochs should simulate. After editing this file, follow these instructions: http://bochs.sourceforge.net/doc/docboo ... LING-WIN32