Compiling Bochs with MSVC 6

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Jim
Member
Member
Posts: 27
Joined: Sun Nov 05, 2006 3:46 am

Compiling Bochs with MSVC 6

Post by Jim »

:roll: :roll: :roll:
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???

:roll: :roll: :roll:
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post 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. :roll:

This Error report (I don't see this as an error :P) is best suited for the Bochs mailing list.. Don't ya think? :wink:
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

Re: Compiling Bochs with MSVC 6

Post 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!
Jim
Member
Member
Posts: 27
Joined: Sun Nov 05, 2006 3:46 am

Post 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.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Post 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++.
hendric
Member
Member
Posts: 38
Joined: Sat Oct 21, 2006 10:56 am
Location: China

Post 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
Just Lazy Writing Anything...
Steffel
Posts: 3
Joined: Sat Feb 17, 2007 1:39 am

Post 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
Post Reply