compiling bochs, using vcpp

Programming, for all ages and all languages.
Post Reply
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

compiling bochs, using vcpp

Post by kmtdk »

hi
i got this little annorying problem with compiling bochs.
i got ( i think so) all the files.
but when im compiling, it dont find the files.

Code: Select all

".\memory.cpp"

this a example of a address,
first
i cant find a file called "memory.cpp" but "memory.h" and "memory.cc" exists.
so just for fun i tried to place the projet files one folder above the other files, and renamed "memory.cc" to "memory.cpp".
result : no change at all
can any one tell me what i have to do.
i dont have much experince with linking.

BTW: i have visual studio 2005

KMT dk
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
tantrikwizard
Member
Member
Posts: 153
Joined: Sun Jan 07, 2007 9:40 am
Contact:

Re: compiling bochs, using vcpp

Post by tantrikwizard »

Use the msvc-src releases from sourceforge. There are problems with it but with a little chopping you can get it to build without too much trouble. I dont think the configure scripts are being maintained for MSVC anymore but check with the bochs guys to be sure. I had a little difficulty when building the msvc-src release with VS2008 straight out of the box, some headers have been changed since 2005 (isatty is now _isatty). A few minor things like that. The CPU project files were corrupted when I tried it in the IDE, just create a new static library and add all the files from the cpu folder and it worked for me.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: compiling bochs, using vcpp

Post by bewing »

One stage of the configure script is supposed to go through all the bochs source files, and change all the .cc extensions to .cpp. So it sounds like your configure script did not complete successfully. The script does not modify the .cc files in any way, just changes the names.
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: compiling bochs, using vcpp

Post by kmtdk »

wee
it works now.
but if i turn smp on, i get some faults.
what is the "procedure" or "todo" list when you want to enable smp
i have enabled it in the configure file.

KMT dk
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
Post Reply