I'm building Bochs from source using CygWin.
What I've already done:
1. Changing the value of my {$PATH} variable in order to use CygWin's {find} instead of Windows' {find}: {PATH='/cygdrive/c/Programme/cygwin/bin':${PATH}}
1. Configuring: Exceution of my configure script (see below): {./.conf.my-win32-vcpp}
1. Building via {make win32_snap}
1. Installing via {make install} (not successfully)
My question:
How can I build and install Bochs from source (without having these problems)? Any idea?
Thanks.
My configure script:
Code: Select all
#!/bin/sh
set echo
./configure --target=pentium-windows \
--enable-sb16 \
--enable-ne2000 \
--enable-all-optimizations \
--enable-cpu-level=6 \
--enable-x86-64 \
--enable-pci \
--enable-clgd54xx \
--enable-usb \
--enable-usb-ohci \
--enable-show-ips \
--enable-disasm \
--enable-iodebug \
--enable-logging \
--enable-debugger-gui \
--disable-readline \
--without-x \
--with-win32 \
--with-rfb \
--with-nogui \
--with-wx
unset echo
# Fix up all makefiles so that nmake can handle them.
for i in `find . -name Makefile`; do
echo Removing curly brackets in $i for NMAKE.
mv $i $i.tmp
sed -e 's/{/(/g' -e 's/}/)/g' < $i.tmp > $i
rm -f $i.tmp
done
While I run my configure script ({./.conf.my-win32-vcpp}), I got some warnings, but it executed successfully:
Code: Select all
[...]
configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: pthread.h: check for missing prerequisite headers?
configure: WARNING: pthread.h: see the Autoconf documentation
configure: WARNING: pthread.h: section "Present But Cannot Be Compiled"
configure: WARNING: pthread.h: proceeding with the compiler's result
[...]
Code: Select all
cd iodev
C:/gnuwin/make libiodev.a
make[1]: Entering directory `C:/Users/JK/Downloads/bochs-2.5.1'
make[1]: *** No rule to make target `libiodev.a'. Stop.
make[1]: Leaving directory `C:/Users/JK/Downloads/bochs-2.5.1'
make: *** [iodev/libiodev.a] Error 2
I use CygWin's {sh} shell on Win64.
My {$PATH}:
I'm using GnuWin's {make}:/cygdrive/c/cygwin/:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live: (...) :/cygdrive/c/prog-x86/MinGW/bin (...) :/cygdrive/c/Program Files/Java/jdk1.6.0_24/bin:/cygdrive/c/Program Files/Java/jdk1.6.0_24/jre/bin:/cygdrive/c/Windows/system32 (...) :/cygdrive/c/gnuwin:/usr/bin (...)
Code: Select all
sh-4.1$ type make
make is hashed (/cygdrive/c/gnuwin/make)
Code: Select all
sh-4.1$ tree -d
.
|-- bios
|-- build
| |-- linux
| |-- macos
| |-- macosx
| |-- redhat
| `-- win32
| `-- nsis
|-- bx_debug
|-- cpu
| `-- cpudb
|-- disasm
|-- doc
| |-- docbook
| | |-- development
| | |-- documentation
| | |-- images
| | |-- include
| | `-- user
| `-- man
|-- docs-html
|-- fpu
|-- gui
| |-- bitmaps
| |-- font
| `-- keymaps
|-- host
| `-- linux
| `-- pcidev
|-- instrument
| |-- example0
| |-- example1
| |-- example2
| `-- stubs
|-- iodev
|-- memory
|-- misc
| `-- sb16
|-- patches
`-- vs2008
40 directories