- Download bochs 2.2.1 from the
bochs
download page; a copy is available
here.
- Unpack as before:
% gzip -dc bochs-2.2.1.tar.gz | tar xf -
% cd bochs-2.2.1
%
- Apply this patch in order to be able to set memory
read/write watch points in device memory:
% patch -p0 < bochs.watch.patch
patching file memory/memory.cc
%
- Configure and build bochs as follows
% ./configure --enable-disasm \
--enable-debugger --enable-x86-debugger \
--enable-iodebug --enable-instrumentation \
--enable-new-pit --disable-reset-on-triple-fault \
--enable-4meg-pages --enable-pae --enable-global-pages \
--enable-all-optimizations --with-all-libs \
--prefix=/usr/local
checking build system type... i386-unknown-openbsd3.5
checking host system type... i386-unknown-openbsd3.5
checking target system type... i386-unknown-openbsd3.5
...
config.status: creating config.h
config.status: creating ltdlconf.h
% make
cd iodev && make libiodev.a
...
%
- As with the other packages, install the software with make install.