Page 1 of 1
Compiling Bochs with MSVC 6
Posted: Mon Jan 22, 2007 1:11 pm
by Jim
After Some Hacking I got MSVC 6 to compile Bochs 2.3 with out errors. But when I run Bochs it displays this:
Next at t=0
context not implemented because BX_HAVE_HASH_MAP=0
This is because in the file Config.h this is how BX_HAVE_HASH_MAP is declared #define BX_HAVE_HASH_MAP 0.
But when I set BX_HAVE_HASH_MAP to 1 it would not compile for me with out errors.
So when I continue to run Bochs it seems that it works, but it doesn’t Display any thing on the Virtual Screen, I did some debugging, but I couldn't find the reason why it is not displaying any thing on the screen.
Does any one have successfully compile Bochs with MSVC 6???
Posted: Mon Jan 22, 2007 1:45 pm
by Brynet-Inc
Why would anyone want to? Just use MinGW.. or Cygwin if you absolutely have to compile anything for Windows.
MSVC is not exactly known for complying with standards.
This Error report (
I don't see this as an error ) is best suited for the Bochs mailing list.. Don't ya think?
Re: Compiling Bochs with MSVC 6
Posted: Mon Jan 22, 2007 2:36 pm
by kataklinger
keller wrote:Does any one have successfully compile Bochs with MSVC 6???
I did it once, but it with VS .NET 2002, I had to enable SMP support. It was Boichs 2 poins something I can't remember because I'm not using Bochs anymore and it worked fine!
Posted: Mon Jan 29, 2007 1:43 pm
by Jim
29/1/2007
I have successfully compiled Bochs (I needed to do some hacking to get it compile if out errors) with MSVC 6 and with MSVC 2005, But I noticed that if I compile it to the Debug compiling Bochs doesn’t display anything on the screen (The simulated screen), But in the Release compiling it displays everything.
Posted: Tue Jan 30, 2007 12:46 am
by Candy
keller wrote:29/1/2007
I have successfully compiled Bochs (I needed to do some hacking to get it compile if out errors) with MSVC 6 and with MSVC 2005, But I noticed that if I compile it to the Debug compiling Bochs doesn’t display anything on the screen (The simulated screen), But in the Release compiling it displays everything.
MSVC 6 has so much issues that f.ex. the makers of Boost no longer support it - and are reconsidering supporting MSVC 7.
Use software that complies with ISO C++, not software that complies with Microsoft C++.
Posted: Wed Jan 31, 2007 12:23 am
by hendric
I've tried compiled Bochs with VS 2005 but following Link-time error occured:
CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Anyone Know? Thanks
Posted: Sat Feb 17, 2007 5:12 am
by Steffel
I succeeded with MSVC 7.1 to compile and Run Bochs 2.3 (from the downloaded MSVC-zip) after 2 patches to the code (char *bxtext has not to be declared and defined under extern c since compiler options in lexer.c are set to cpp, and io.h needed to be included to know isatty()).
I could start Bochs even in debug mode and the output window had contents - but Bochs ignores my breakpoints. BX_HAVE_MASH_MAP is deactivated. Ill try now with 2005 Express Edition and will tell if i succeed.
Someone else had the debugger problem and solved it?
Steffel