Page 1 of 1

compiling bochs, using vcpp

Posted: Wed Dec 10, 2008 3:17 pm
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

Re: compiling bochs, using vcpp

Posted: Wed Dec 10, 2008 3:59 pm
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.

Re: compiling bochs, using vcpp

Posted: Wed Dec 10, 2008 8:09 pm
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.

Re: compiling bochs, using vcpp

Posted: Thu Dec 11, 2008 5:03 am
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