Compiling Bochs with MSVC 6
Compiling Bochs with MSVC 6
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???
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
- kataklinger
- Member
- Posts: 381
- Joined: Fri Nov 04, 2005 12:00 am
- Location: Serbia
Re: Compiling 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!keller wrote:Does any one have successfully compile Bochs with MSVC 6???
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.
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.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.
Use software that complies with ISO C++, not software that complies with Microsoft C++.
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
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
Just Lazy Writing Anything...
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
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