BOCHS with debugger
Posted: Thu Feb 26, 2009 7:28 am
Hello everybody,
Yesterday I got a really strange bug (really complicated also) in my o/s, and after spending all the morning trying to fix it I still don't even have any clue about its origine
That's why I told myself "let's get bochs with its debugger"
As there are no available binaries, I have to compile it
http://bochs.sourceforge.net/doc/docboo ... iling.html
Solution 1: let's compile it with MSVC++
I follow the instruction : run the shell script, and make win32_snap
But when I try opening the .dsw file, Visual C++ tells me the "cpu" project file is broken -_-
I try compiling the rest, and I get an error (several times in a row)
"LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt" -_-
Solution 2: let's compile it with Cygwin
I downloaded cygwin, installed it, etc. which took me about 30mn -_-
After trying different options for the ./configure script (eg. it doesn't work without --enable-cpp despite the doc says you only need it if you know you need it, --enable-cpu-type=5 doesn't work despite it is the recommended choice, etc.) I finally get a Makefile
...but after typing make the compiler complains about not finding "usleep" which is defined in "unistd.h", not included because we are compiling for windows -_-
Solution 3: let's compile it and then use it with my other (very old) computer which has Linux installed
But I see in the docs the option:
Before installing XWindows (which is something very complicated), I post here to ask if someone had another solution
Like providing a download link for the win32 bochs binaries with debugger or something like that :-/
Thank you
Yesterday I got a really strange bug (really complicated also) in my o/s, and after spending all the morning trying to fix it I still don't even have any clue about its origine
That's why I told myself "let's get bochs with its debugger"
As there are no available binaries, I have to compile it
http://bochs.sourceforge.net/doc/docboo ... iling.html
Solution 1: let's compile it with MSVC++
I follow the instruction : run the shell script, and make win32_snap
But when I try opening the .dsw file, Visual C++ tells me the "cpu" project file is broken -_-
I try compiling the rest, and I get an error (several times in a row)
"LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt" -_-
Solution 2: let's compile it with Cygwin
I downloaded cygwin, installed it, etc. which took me about 30mn -_-
After trying different options for the ./configure script (eg. it doesn't work without --enable-cpp despite the doc says you only need it if you know you need it, --enable-cpu-type=5 doesn't work despite it is the recommended choice, etc.) I finally get a Makefile
...but after typing make the compiler complains about not finding "usleep" which is defined in "unistd.h", not included because we are compiling for windows -_-
Solution 3: let's compile it and then use it with my other (very old) computer which has Linux installed
But I see in the docs the option:
As I don't have XWindows installed, this means I won't be able to use the debugger -_---with-term Use text-only gui with curses library. Almost certainly won't work right with the debugger or the control panel.
Before installing XWindows (which is something very complicated), I post here to ask if someone had another solution
Like providing a download link for the win32 bochs binaries with debugger or something like that :-/
Thank you